[WBEL-users] DHCP and firewall script

Jean LEE jean_lee_3@hotmail.com
Thu, 26 Aug 2004 09:46:24 +0200


Hello,

Thanks for your answers and links.
I don't need to use PPPoE but only DHCP so I do not have to create an xDSL
connection to make it working. I have only to configure my Ethernet card in
order to obtain an IP adress. I think your right : my IP adress do not
change until I restart the PC.
You said me that I can add the link to my script in /etc/rc.d/rc.local and
it will start it automatically after the network has been started. Is it a
security problem?

Jean Lee

----- Original Message ----- 
From: "Johnny Hughes" <mailing-lists@hughesjr.com>
To: "Mailing List - White Box" <whitebox-users@beau.org>
Sent: Thursday, August 26, 2004 2:59 AM
Subject: Re: [WBEL-users] DHCP and firewall script


> On Wed, 2004-08-25 at 10:40, Jean LEE wrote:
> > Hello all,
> >
> > I am connected through the Internet via an ADSL connection and I have
> > an Ethernet modem connected to eth1. I obtain an IP-adress dynamically
> > via DHCP.
> > Moreover, I am using a script (which implements a Firewall and
> > masquerading with iptables) which detects automatically this dynamic
> > IP-address but I have to run this script every time a new IP-adress is
> > given to eth1.
> >
> > When do I have to launch this script ? only at startup or after too ?
> You should only have to run the script at startup ... IPs don't normally
> change until the next time you start your PC.
>
> > What is the DHCP client that WBEL uses?
> You will want to use the ADSL section of "redhat-config-network" to make
> WBEL startup and obtain an IP address if you are connecting directly to
> the modem with your Ethernet Card and if you have PPPOE.
> > Where can I launch this script ?
> You can call the script from /etc/rc.d/rc.local ... and it will run
> after the network has been started.
> > Does this DHCP-client as a startup file like /etc/ppp/ip-up for PPP
> > connections
> If you use redhat-config-network you should be able to add an ADSL
> connection.
>
> Here is a link:
>
http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/s1-network-config-xdsl.html
> >
> > Thanks for any help.
> >
> > Jean Lee
>
> Johnny Hughes
> <http://www.hughesjr.com/>
>
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users@beau.org
> http://beau.org/mailman/listinfo/whitebox-users
>