|
Re: lug-bg: IP Masquerading [2]
- Subject: Re: lug-bg: IP Masquerading [2]
- From: pope@xxxxxxxxxx (Alex Pope)
- Date: Wed, 9 Aug 2000 22:23:06 +0300 (EEST)
On Wed, 9 Aug 2000, neZnaiko wrote:
> hi!
>
> po povod vyprosa IP Masquerading sys EDNA mrejova
> karta, eto i dop. informacia za tova kak izglejdat
> neshtata pri men:
>
> #konfigurirane na NIC
> ifconfig eth0:0 A.B.C.d netmask 255.255.255.240
> up
> ifconfig eth0:1 192.168.100.254 netmask
> 255.255.255.0 up
>
> ifconfig eth0 up
ne moga da razbera ideiata tuk. normalno chovek pravi:
ifconfig eth0 A.B.C.d netmask 255.255.255.240 up
ifconfig eth0:1 192.168.100.254 netmask 255.255.255.0 up
> #setvane na ipchains
> ipchains -F
> ipchains -X
>
> ipchains -A forward -i eth0:1 -d 192.168.100.0/24
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tova za kakvo e? da se vyrti broiacha li?
> ipchains -A forward -j MASQ -i eth0:0 -s
> 192.168.100.0/24 -d 0.0.0.0/0
Iavno ne si prochel vnimatelno HOWTO-to.
Masqueradinga raboti samo s fizicheski interfeisi (eth0, eth1 i t.n.).
Masqueradinga NE raboti s aliased interfeisi (ethx:x).
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|