But He wrote:
"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"
So He`s using rc.firewall script...
But like the others wrote - it`s easier to do the reference to interfaces rather than
to IPs
Regards
Szymon
> Um, not everyone used an rc.firewall script. I don't. I use the
iptables
> init script. And I suspect he's having the same problem I have whenever
my IP
> changes. Unless you're using an actual script to extract the IP, there's
no
> other way to tell iptables WHAT it is.
The iptables in
Sim wrote:
> 1. First - you have to get your assigned IP number ... you can do it by
> "extracting" it from ifconfig message - after connecting to PPP server.
> Practically you can achieve this by adding following line to your
> rc.firewall script:
Um, not everyone used an rc.firewall script
Correct me everyone if I`m wrong:
1. First - you have to get your assigned IP number ... you can do it by
"extracting" it from ifconfig message - after connecting to PPP server.
Practically you can achieve this by adding following line to your
rc.firewall script:
extip="`/sbin/ifconfig ppp0 | gr
-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
If you are only getting one IP address at a time, then you're better off just
referencing the outside interface (ppp0, I believe, for PPPoE) you rules,
instead of the IP address.
I'm running off of a cable modem, too, but mine is straight DHCP. Still, by
only referencing the interface, and no
Hello.
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 sett