ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander N. Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] помогите настроить сеть.
Date: Tue, 28 Mar 2006 15:40:59 -0000
Message-ID: <op.s64q6lx8hz2pp6@oc.peooc.net> (raw)
In-Reply-To: <e0bas3$q2m$1@sea.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

On Tue, 28 Mar 2006 12:40:32 -0000, dolgov wrote:

> Здравствуйте.
>
> Не получается настроить сеть.
> Есть машинка со свежеустановленным Compact-2.3 (пока, может обнослю до
> 2.4)
> Два интерфейса: eth0 (к провайдеру), eth1 внутрь в свич (5 портов).
> Два клиента WinXP.
>
> Что надо сделать, чтобы клиенты могли ходить в интернет? Пока хотябы.
> samba, iptables это потом. Надо сейчас срочно дать возможность работать.
>
> Где что прописать? Чего показать?

1.
Включить iptables
# chkconfig --add iptables

2.
Для автомаскарадинга в файле /etc/sysctl.conf установить параметр
net.ipv4.ip-forward = 1

3.
Просмотри, немного отредактируй IP (он очень простой) и запусти сценарий  
из атача.

4.
Если всё работает сохранить правила
# service iptables save

[-- Attachment #2: NEW.firewall.sh --]
[-- Type: application/octet-stream, Size: 5962 bytes --]

  parent reply	other threads:[~2006-03-28 15:40 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-28 12:40 dolgov
2006-03-28 13:07 ` Dmitriy L. Kruglikov
2006-03-28 13:17 ` Мерзляков Евгений Анатольевич
2006-03-28 13:38   ` [Comm] РПНПЗЙФЕ ОБУФТПЙФШ УЕФШ Oleg Dolgov
2006-03-28 13:47     ` Dmitriy L. Kruglikov
2006-03-28 13:48     ` [Comm] помогите настроить сеть Sergey
2006-03-28 13:59     ` [Comm] РПНПЗЙФЕ ОБУФТПЙФШ УЕФШ Vitaly Gorshkov
2006-03-28 13:33 ` [Comm] помогите настроить сеть Vitaly Gorshkov
2006-03-28 13:36   ` Sergey
2006-03-28 13:44     ` Vitaly Gorshkov
2006-03-28 13:44     ` Шенцев Алексей Владимирович
2006-03-28 13:52       ` Dmitriy L. Kruglikov
2006-03-28 15:45         ` Anton Gorlov
2006-03-28 13:43   ` Dmitriy L. Kruglikov
2006-03-28 15:40 ` Aleksander N. Gorohovski [this message]
2006-03-28 14:01   ` Sergey
2006-03-28 21:29     ` Aleksander N.Gorohovski
2006-03-28 19:56       ` Sergey
2006-03-30 10:52         ` ÐÏÍÏÇÉÔÅ ÎÁÓÔÒÏÉÔØ ÓÅÔØ Oleg Dolgov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.s64q6lx8hz2pp6@oc.peooc.net \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git