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: bkrosnov@xxxxxxxx (Boyan Krosnov)
- Date: Tue, 18 Dec 2001 18:52:59 +0200
neshto ili az ne razbiram ili ...
Naistina li nqma nachin da se nakara linux box da premapwa adresite ot
edna mreja kym druga. Ili edin wytreshen za NATa adres kym wynshen.
Imeto na towa chudo e naistina static NAT. I Cisco IOS i Cisco PIX go
umeqt (sorry za nevolno vmyknatata reklamka). Iskate da kajete che
static NAT, Linux 2.4 ne moje da prawi? Ne smeq da powqrwam :)
Nqma li neshto kato destination address translation? Shtoto ako ima
problema za pylen dostyp do pc-to wytre (ot gledna tochka na NATa) se
reshawa mnogo prosto.
Regards,
Boyan
> -----Original Message-----
> From: George Danchev [mailto:danchev@xxxxxxxxx]
> Sent: Tuesday, December 18, 2001 5:21 PM
> To: lug-bg@xxxxxxxxxxxxxxxxxx
> 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
>
> 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
>
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|