ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как настроить роутинг. нужна дока.
@ 2003-07-22  9:37 unix9
  2003-07-22  9:50 ` BSW
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: unix9 @ 2003-07-22  9:37 UTC (permalink / raw)
  To: community

Подскажите какой хелп, ман прочитать чтобы настроить между двумя сетевыми интерфейсами ( один внешний другой внутр.)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как настроить роутинг. нужна дока.
  2003-07-22  9:37 [Comm] Как настроить роутинг. нужна дока unix9
@ 2003-07-22  9:50 ` BSW
  2003-07-22  9:58   ` [Comm]Как " unix9
  2003-07-22 17:03 ` [Comm] Как " Alexandr R. Ogurtzoff
  2003-07-22 21:10 ` Fred
  2 siblings, 1 reply; 7+ messages in thread
From: BSW @ 2003-07-22  9:50 UTC (permalink / raw)
  To: community

unix9 пишет:
> Подскажите какой хелп, ман прочитать чтобы настроить между двумя сетевыми интерфейсами ( один внешний другой внутр.)
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
> 
> 
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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm]Как настроить роутинг. нужна дока.
  2003-07-22  9:50 ` BSW
@ 2003-07-22  9:58   ` unix9
  2003-07-22 10:10     ` Dmitriy Gnidchenko
  0 siblings, 1 reply; 7+ messages in thread
From: unix9 @ 2003-07-22  9:58 UTC (permalink / raw)
  To: community

>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
>
и все?? мне это необходимо для настойки шлюза из лок. сети в интернет.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm]Как настроить роутинг. нужна дока.
  2003-07-22  9:58   ` [Comm]Как " unix9
@ 2003-07-22 10:10     ` Dmitriy Gnidchenko
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitriy Gnidchenko @ 2003-07-22 10:10 UTC (permalink / raw)
  To: community

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
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как настроить роутинг. нужна дока.
  2003-07-22  9:37 [Comm] Как настроить роутинг. нужна дока unix9
  2003-07-22  9:50 ` BSW
@ 2003-07-22 17:03 ` Alexandr R. Ogurtzoff
  2003-07-22 19:56   ` Grigory Tuboltsev
  2003-07-22 21:10 ` Fred
  2 siblings, 1 reply; 7+ messages in thread
From: Alexandr R. Ogurtzoff @ 2003-07-22 17:03 UTC (permalink / raw)
  To: community

В сообщении от Вторник 22 Июль 2003 12:37 unix9 написал(a):
> Подскажите какой хелп, ман прочитать чтобы настроить между двумя сетевыми
> интерфейсами ( один внешний другой внутр.)
Iptables tutorial - русский перевод на http://gazette.linux.ru.net
Если хочешь могу сбросить свой скрипт на личную почту, сегодня как раз этим 
занимался....Делал как раз по мотивам вышеуказаного мануала
-- 
С наилучшими пожеланиями
Александр Огурцов


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как настроить роутинг. нужна дока.
  2003-07-22 17:03 ` [Comm] Как " Alexandr R. Ogurtzoff
@ 2003-07-22 19:56   ` Grigory Tuboltsev
  0 siblings, 0 replies; 7+ messages in thread
From: Grigory Tuboltsev @ 2003-07-22 19:56 UTC (permalink / raw)
  To: community

а вообще-то, на www.opennet.ru есть, кажется, всё... ну или почти всё
:).
Удачи.

 On Tue, 22 Jul 2003 20:03:33 +0300
"Alexandr R. Ogurtzoff" <iscander@mercuri.mk.ua> wrote:

> В сообщении от Вторник 22 Июль 2003 12:37 unix9 написал(a):
> > Подскажите какой хелп, ман прочитать чтобы настроить между двумя
> > сетевыми интерфейсами ( один внешний другой внутр.)
> Iptables tutorial - русский перевод на http://gazette.linux.ru.net
> Если хочешь могу сбросить свой скрипт на личную почту, сегодня как раз
> этим занимался....Делал как раз по мотивам вышеуказаного мануала
> -- 
> С наилучшими пожеланиями
> Александр Огурцов
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
> Dialup от 0.5 у.е./час, цифровые телефоны, льготный тариф с 0.00 до
> 10.00,бесплатная доставка карт √ www.orc.ru/dialup
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Как настроить роутинг. нужна дока.
  2003-07-22  9:37 [Comm] Как настроить роутинг. нужна дока unix9
  2003-07-22  9:50 ` BSW
  2003-07-22 17:03 ` [Comm] Как " Alexandr R. Ogurtzoff
@ 2003-07-22 21:10 ` Fred
  2 siblings, 0 replies; 7+ messages in thread
From: Fred @ 2003-07-22 21:10 UTC (permalink / raw)
  To: community

22 Июль 2003 09:37, unix9 написал:
> Подскажите какой хелп, ман прочитать чтобы настроить между двумя сетевыми
> интерфейсами ( один внешний другой внутр.)
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community


Или еще здесь.

http://linuxportal.ru/forums/index.php?t=msg&th=12403&rid=1766&S=36c699a37818bfb192a5dc84fe2c2642&pl_view=&start=0#msg_35088

Хотя, мне дома и ipchains хватило :)



Fred.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-22 21:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2003-07-22 17:03 ` [Comm] Как " Alexandr R. Ogurtzoff
2003-07-22 19:56   ` Grigory Tuboltsev
2003-07-22 21:10 ` Fred

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