Re: lug-bg: Problemi pri linux 2.4 i NAT sus iptables
- Subject: Re: lug-bg: Problemi pri linux 2.4 i NAT sus iptables
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Tue, 18 Dec 2001 17:21:21 +0200
On Tuesday 18 December 2001 16:16, you wrote:
> uhmz ... zashto li prez cqloto wreme si mislq, che stawa duma za static
> NAT, t.e. ne nqkakyw forwarding a prosto static (syshto izwesten kato
> "dwuposochen" ili "source") NAT. edinstwenoto, koeto mi idwa naum w
> momenta, e che na interface-a, kojto e s IP
> 172.16.31.100 trqbwa da mu se digne edin alias 172.16.31.110.
>
> hope this helps.
> bOmbe.
ami mozhe da si napravi ip alias na eth0:
(vpro4em az ne ogledah ip-tata)
# ifconfig eth0:0 172.16.31.110
Mozhe da si napravi i oste aliasi... no tova ne ozna4ava 4e nqkoj ste mozhe
da napravi connection otvyn kym maskiranite machini dokato ne e set-nat
pravilno IP PortForwarding na Masq servera da redirectva ip trafika kym
maskiranite hostove. Vpro4em toj se e opital da napravi to4no tova s iptables
ama nesto ne e ocelil syntax-a, maj.
mislq 4e za tova pitashe toj:
http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO/x1583.html
P.S. bOmbe, sega neznam kak e pri solarisa, no linux ip masquarading-a ne
mozhe da se opravq s incoming services v tozi slu4aj, za tova se pravi tozi
trik s ipportfw :)
--
Greets,
fr33zb1
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|