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

Jean LEE jean_lee_3@hotmail.com
Fri, 10 Sep 2004 18:17:42 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C49762.76A88000
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello Paul,

I do not use PPoE, just DHCP. Even if I could use ip-up, I have to =
restart it manually.
As the IP change are automatic with DHCP (no reconnection or something =
else), I thought I have to start this script in my DHCP client to make =
the launch of this firewall script automatic. Perhaps it is not =
feasible....

Thanks a lot for your answer.... Any other idea ?

Jean
  ----- Original Message -----=20
  From: Paul Voccio=20
  To: Jean LEE ; Mailing List - White Box=20
  Sent: Friday, September 10, 2004 3:20 PM
  Subject: RE: [WBEL-users] ADSL via DHCP, IP adress and Firewall


  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.

  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

    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.

    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 ?

    Thanks for any help,

    Jean Lee 
------=_NextPart_000_000B_01C49762.76A88000
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=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello Paul,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I do not use PPoE, just DHCP. Even if I =
could use=20
ip-up, I have to restart it manually.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>As the IP change are automatic with =
DHCP (no=20
reconnection or something else), I thought I have to start this script =
in my=20
DHCP client to make the launch of this firewall script automatic. =
Perhaps it is=20
not feasible....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks a lot for your answer.... Any =
other idea=20
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jean</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dpvoccio@proficient.com =
href=3D"mailto:pvoccio@proficient.com">Paul=20
  Voccio</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Djean_lee_3@hotmail.com=20
  href=3D"mailto:jean_lee_3@hotmail.com">Jean LEE</A> ; <A=20
  title=3Dwhitebox-users@beau.org =
href=3D"mailto:whitebox-users@beau.org">Mailing=20
  List - White Box</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, September 10, =
2004 3:20=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [WBEL-users] ADSL =
via DHCP,=20
  IP adress and Firewall</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D766231813-10092004><FONT face=3DArial =
color=3D#0000ff size=3D2>If=20
  you have a pppoe connection, which ADSL sometimes uses here in the =
states,=20
  ip-up and ip-down&nbsp;get called when the&nbsp;connection goes up and =

  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=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D766231813-10092004><FONT face=3DArial =
color=3D#0000ff=20
  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> <A=20
    =
href=3D"mailto:whitebox-users-admin@beau.org">whitebox-users-admin@beau.o=
rg</A>=20
    [mailto:whitebox-users-admin@beau.org]<B>On Behalf Of </B>Jean=20
    LEE<BR><B>Sent:</B> Friday, September 10, 2004 3:16 AM<BR><B>To:</B> =
Mailing=20
    List - White Box<BR><B>Subject:</B> [WBEL-users] ADSL via DHCP, IP =
adress=20
    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=20
    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=20
    via 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=20
    later 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=20
    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></BLOCKQUOTE></BODY></HTM=
L>

------=_NextPart_000_000B_01C49762.76A88000--