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

Paul Voccio pvoccio@proficient.com
Fri, 10 Sep 2004 13:51:44 -0400


This is a multi-part message in MIME format.

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

Jean,
=20
Hmm. I'm not sure then. You could write something small to monitor your =
ip address. If it changes, re-run your firewall config. That is what I =
would do actually.
=20
Paul

-----Original Message-----
From: Jean LEE [mailto:jean_lee_3@hotmail.com]
Sent: Friday, September 10, 2004 12:18 PM
To: Paul Voccio; Mailing List - White Box
Subject: Re: [WBEL-users] ADSL via DHCP, IP adress and Firewall


Hello Paul,
=20
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....
=20
Thanks a lot for your answer.... Any other idea ?
=20
Jean

----- Original Message -----=20
From: Paul  <mailto:pvoccio@proficient.com> Voccio=20
To: Jean LEE <mailto:jean_lee_3@hotmail.com>  ; Mailing  =
<mailto:whitebox-users@beau.org> 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.
=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_01C4975E.D62220A2
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><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D712384517-10092004>Jean,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D712384517-10092004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D712384517-10092004>Hmm.=20
I'm not sure then. You could write something small to monitor your ip =
address.=20
If it changes, re-run your firewall config. That is what I would do=20
actually.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D712384517-10092004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D712384517-10092004>Paul</SPAN></FONT></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> Jean LEE=20
  [mailto:jean_lee_3@hotmail.com]<BR><B>Sent:</B> Friday, September 10, =
2004=20
  12:18 PM<BR><B>To:</B> Paul Voccio; Mailing List - White=20
  Box<BR><B>Subject:</B> Re: [WBEL-users] ADSL via DHCP, IP adress and=20
  Firewall<BR><BR></FONT></DIV>
  <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=20
  is 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=20
    DHCP, 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=20
    down.&nbsp;&nbsp;You should then edit /etc/ppp/ip-up.local and have =
it=20
    re-run your firewall script that will run with the new=20
    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>=20
      Mailing List - White Box<BR><B>Subject:</B> [WBEL-users] ADSL via =
DHCP, IP=20
      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=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=20
      detects 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=20
      first brought up and the ip adress is detected via DHCP and then, =
a few=20
      moment later my firewall script is launched and detect this IP=20
      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=20
      my IP adress. Then, I have to reexecute manually my firewallscript =
to take=20
      this new ip adress into account. How can I do to make the =
execution of=20
      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></BLOCKQUOTE></BLOCKQUOTE=
></BODY></HTML>

------_=_NextPart_001_01C4975E.D62220A2--