|
Re: lug-bg: iptables and ADSL
- Subject: Re: lug-bg: iptables and ADSL
- From: Hristo Erinin <erinin@xxxxxxxxx>
- Date: Thu, 4 Dec 2003 12:55:00 +0200
- Organization: Spectrum NET
Здравей,
On Thu, 4 Dec 2003 10:18:54 -0000
"Vasko Tomanov" <vtomanov@xxxxxxxxxx> wrote:
>iskam w definiciata na pravilata na IPTABLES da zadan ne tvardo IP s
>maska a IP-to na ppp0 naprimer ?
>
>kak moga da go nparavia tova za da ne mi se nalaga sled vseki restart
>da opraviam ip tables
RTFM.
iptables(8)
MASQUERADE
This target is only valid in the nat table, in the POSTROUTING chain.
It should only be used with dynamically assigned IP (dialup)
connections: if you have a static IP address, you should use the SNAT
target. Masquerading is equivalent to specifying a mapping to the IP
address of the interface the packet is going out, but also has the
effect that connections are forgotten when the interface goes down.
This is the correct behavior when the next dialup is unlikely to have
the same interface address (and hence any established connections are
lost anyway).
--
Best Regards,
Hristo Erinin
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|