ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [mdk-re] help need
@ 2001-02-14 22:57 denf
  2001-02-14 23:25 ` Igor Solovyov
  0 siblings, 1 reply; 2+ messages in thread
From: denf @ 2001-02-14 22:57 UTC (permalink / raw)
  To: mandrake-russian


02/15/2001 10:05:55 AM mandrake-russian-admin wrote:
>Hi All!
>
>Надо решить следующую задачку:
>
>- есть несколько локалок, они через рутер ходят наружу (замаскарадясь
>естественно).
>- у рутера "наружу" смотрит один интерфейс, но с двумя "внешними"
адресами,
>  т.е. имеется eth1 и eth1:0
>- все "локалки" маскарадятся под адрес интерфейса eth1
>
>нужно часть "локалок" замаскарадить под eth1:0
>вариант: /sbin/ipchains -A forward -s 192.168.1.0/24 -i eth1:0 -j MASQ  не

>работает.
>Т.е. ipchains не понимает -i eth1:0

а просто  /sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ не работает?


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

* Re: [mdk-re] help need
  2001-02-14 22:57 [mdk-re] help need denf
@ 2001-02-14 23:25 ` Igor Solovyov
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Solovyov @ 2001-02-14 23:25 UTC (permalink / raw)
  To: mandrake-russian

Hi !
On Thu, 15 Feb 2001 02:02:17 +0600 denf@novosoft.ru wrote:> 
> 02/15/2001 10:05:55 AM mandrake-russian-admin wrote:

> >нужно часть "локалок" замаскарадить под eth1:0
> >вариант: /sbin/ipchains -A forward -s 192.168.1.0/24 -i eth1:0 -j MASQ  не
> 
> >работает.
> >Т.е. ipchains не понимает -i eth1:0
> 
> а просто  /sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ не работает?

Работает. Но маскарадит под eth1, а не под eth1:0

   :-)

--
Best regards!
Igor Solovyov
Zlatoust, Russia



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

end of thread, other threads:[~2001-02-14 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-14 22:57 [mdk-re] help need denf
2001-02-14 23:25 ` Igor Solovyov

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