ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitriy Gnidchenko <savithur@avatar.spb.ru>
To: community@altlinux.ru
Subject: Re: [Comm]Как настроить роутинг. нужна дока.
Date: Tue, 22 Jul 2003 14:10:47 +0400 (MSD)
Message-ID: <Pine.LNX.4.55L.0307221407240.8715@gw.lincomp.ru> (raw)
In-Reply-To: <3F1D0ACE.000007.04129@ariel.yandex.ru>

On Tue, 22 Jul 2003, unix9 wrote:

> >unix9 пишет:
> >> Подскажите какой хелп, ман прочитать чтобы настроить между
> двумя сетевыми интерфейсами ( один внешний другой внутр.)
> >cat /etc/sysctl.conf
> ># Disables packet forwarding			<==== Вот
> оно...
> >net.ipv4.ip_forward = 0
> ># Enables source route verification
> >net.ipv4.conf.default.rp_filter = 1
> >net.ipv4.conf.all.rp_filter = 1
> ># Enables automatic defragmentation (needed for masquerading,
> LVS)
> >net.ipv4.ip_always_defrag = 1
> ># Enable the magic-sysrq key
> >kernel.sysrq = 1
> ># Disable tcp_timestamps
> >net.ipv4.tcp_timestamps = 0
> ># Enable tcp_syncookies
> >net.ipv4.tcp_syncookies= 1
> >
> и все?? мне это необходимо для настойки шлюза из лок. сети в
> интернет.

для форвардинга пакетов между eth1 и eth0 этого хватит.
что бы работать с privet ip используй NAT или как тебе
будет удобней с этим работать (squid и прочие прокси сервера
для сервисов)

net.ipv4.ip_forward = 1

 _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
>
>


  reply	other threads:[~2003-07-22 10:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-22  9:37 [Comm] Как " unix9
2003-07-22  9:50 ` BSW
2003-07-22  9:58   ` [Comm]Как " unix9
2003-07-22 10:10     ` Dmitriy Gnidchenko [this message]
2003-07-22 17:03 ` [Comm] Как " Alexandr R. Ogurtzoff
2003-07-22 19:56   ` Grigory Tuboltsev
2003-07-22 21:10 ` Fred

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=Pine.LNX.4.55L.0307221407240.8715@gw.lincomp.ru \
    --to=savithur@avatar.spb.ru \
    --cc=community@altlinux.ru \
    /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