-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19-Aug-2002/18:03 -0300, Jose Romildo Malaquias <[EMAIL PROTECTED]> wrote:
>I connect to the internet with a cable modem using the PPPoE
>protocol. I am in the process of configuring IP Masquerading
>in my internal network, using my Red Hat Linux 7.3 box
>as the gateway (IP MASQ server). I am following the IP
>Masquerading HOWTO, but I am having some difficult in setting
>the stronger ruleset for IPTABLE.
>
>I am noticing that the IP address I receive is not constant,
>but change even after connected to the internet. As the ruleset
>used with IPTABLE depends on this IP address, I suppose I
>have to rerun the IPTABLE ruleset after each time
>I get a new IP address. I have a /etc/rc.d/rc.firewall
>script used to set the IPTABLE ruleset, and it should be
>run every time I receive a new IP address.

Change your iptables script to use the external interface (ppp0), not the
IP address.


Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05      HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]>

iD8DBQE9YWuRpCpg3WyUI50RAkoVAKDYPP4IYH1IajKwZJVLpVSjAOZ6UwCfeFix
Im9K2fXsF5hx9ZtarrfksaM=
=4BkS
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to