[WBEL-users] ADSL via DHCP, IP adress and Firewall

Paul Voccio pvoccio@proficient.com
Fri, 10 Sep 2004 09:20:23 -0400


This is a multi-part message in MIME format.

------_=_NextPart_001_01C49738.EDEC3A92
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

If you have a pppoe connection, which ADSL sometimes uses here in the =
states, ip-up and ip-down get called when the connection goes up and =
down.  You should then edit /etc/ppp/ip-up.local and have it re-run your =
firewall script that will run with the new ip.
=20
Paul

-----Original Message-----
From: whitebox-users-admin@beau.org =
[mailto:whitebox-users-admin@beau.org]On Behalf Of Jean LEE
Sent: Friday, September 10, 2004 3:16 AM
To: Mailing List - White Box
Subject: [WBEL-users] ADSL via DHCP, IP adress and Firewall



Hello all,=20
=20
I have an ADSL connection via an Ethernet router (Freebox in France). My =
server has an Ethernet card which is connected to this bridge and obtain =
its IP adress via DHCP.
I am also using a firewall script which detects automatically this IP =
adress. I call this script in my rc.local file.
Well, at startup my ethernet card is first brought up and the ip adress =
is detected via DHCP and then, a few moment later my firewall script is =
launched and detect this IP adress.
=20
My problem is that my provider often changes my IP adress. Then, I have =
to reexecute manually my firewallscript to take this new ip adress into =
account. How can I do to make the execution of this firewall script =
automatic after each change in my IP adress ?
=20
Thanks for any help,
=20
Jean Lee=20


------_=_NextPart_001_01C49738.EDEC3A92
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D766231813-10092004><FONT face=3DArial color=3D#0000ff =
size=3D2>If you=20
have a pppoe connection, which ADSL sometimes uses here in the states, =
ip-up and=20
ip-down&nbsp;get called when the&nbsp;connection goes up and=20
down.&nbsp;&nbsp;You should then edit /etc/ppp/ip-up.local and have it =
re-run=20
your firewall script that will run with the new ip.</FONT></SPAN></DIV>
<DIV><SPAN class=3D766231813-10092004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D766231813-10092004><FONT face=3DArial color=3D#0000ff =

size=3D2>Paul</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  whitebox-users-admin@beau.org =
[mailto:whitebox-users-admin@beau.org]<B>On=20
  Behalf Of </B>Jean LEE<BR><B>Sent:</B> Friday, September 10, 2004 3:16 =

  AM<BR><B>To:</B> Mailing List - White Box<BR><B>Subject:</B> =
[WBEL-users] ADSL=20
  via DHCP, IP adress and Firewall<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2>Hello all, </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I have an&nbsp;ADSL connection via an =

  Ethernet&nbsp;router (Freebox in France). My server has an Ethernet=20
  card&nbsp;which is connected&nbsp;to this bridge and obtain its IP =
adress via=20
  DHCP.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I am also using a firewall script =
which detects=20
  automatically this IP adress. I call this script in my rc.local=20
  file.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Well,&nbsp;at startup my ethernet =
card is first=20
  brought up and the ip adress is detected via DHCP and then, a few =
moment later=20
  my firewall script is launched and detect this IP adress.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>My problem is that my provider often =
changes my=20
  IP adress. Then, I have to reexecute manually my firewallscript to =
take this=20
  new ip adress into account. How can I do to make the execution of this =

  firewall script&nbsp;automatic after each change in my IP adress=20
?</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks for any help,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Jean=20
Lee</FONT>&nbsp;</DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C49738.EDEC3A92--