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: bombe@xxxxxxxxx (Vesselin Kotarov)
- Date: Tue, 18 Dec 2001 18:17:14 +0200
----- Original Message -----
From: "George Danchev" <danchev@xxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Tuesday, December 18, 2001 5:21 PM
Subject: Re: lug-bg: Problemi pri linux 2.4 i NAT sus iptables
> 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
mdam .. my mistake :) az imah predwid neshto drugo, koeto beshe narecheno
Fast NAT, no sefte se zaglevdam seriozno w kernel-a da widq kyde e i se
okaza, che go nqma ... posle check-nah i site-a de:
http://www.suse.de/~mha/HyperNews/get/linux-ip-nat.html
tam horata sa izpisali dosta, no ne movah da namerq towa neshto w kernela
... tapo :)
a move bi ima nachin da se naprawi static nat s kombinaciq ot iptables i
iproute2, samo
deto ne moga da razpyna testowa postanowka naokolo :(
>
> 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 :)
mdam .. fw1 razglezwa ;-)
> --
> Greets,
> fr33zb1
>
bOmbe.
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|