each time I do adsl-connect I have to stop my firewall2 and start it again otherwise everything blocks, why? piet
Circa Wed. Oct. 16, 2002 at 22:21:32 +0200, a lone cry was heard from
Piet Roorda
each time I do adsl-connect I have to stop my firewall2 and start it again otherwise everything blocks, why? piet
The reason is because it need to update the dynamic ip address to your ppp inteface. The solution is to stick the command to restart your firewall in /etc/ppp/ip-up.local. Charles -- "It's God. No, not Richard Stallman, or Linus Torvalds, but God." (By Matt Welsh)
On Wed, 16 Oct 2002, Charles Philip Chan wrote:
Circa Wed. Oct. 16, 2002 at 22:21:32 +0200, a lone cry was heard from Piet Roorda
in the wasteland called the Internet: each time I do adsl-connect I have to stop my firewall2 and start it again otherwise everything blocks, why? piet
The reason is because it need to update the dynamic ip address to your ppp inteface. The solution is to stick the command to restart your firewall in /etc/ppp/ip-up.local.
And you should find a script to make just this patch (in SuSE 7.3 it is to ip-up not ip-up.local) somewhere in the firewall2 rpm. (I made a really clumsy 7.3 install once - can't remember what I did wrong - and this patch was never run - so I just ran the patch command from the command line.) They usually include a patched ip-up example file in /usr/share/doc/packages/SuSEfirewall2 or the equivalent place for your version. dproc
Circa Wed. Oct. 16, 2002 at 21:17:41 -0500, a lone cry was heard from dproc@dol.net in the wasteland called the Internet:
And you should find a script to make just this patch (in SuSE 7.3 it is to ip-up not ip-up.local) somewhere in the firewall2 rpm.
Or just stick this in the appropriate place in your ip-up: # call ip-up.local if it exists and is executable: test -x /etc/ppp/ip-up.local && /etc/ppp/ip-up.local "$@" This way you can keep the commands that you have added locally separate from the main ip-up script. You might also consider adding: # call ip-down.local if it exists and is executable: test -x /etc/ppp/ip-down.local && /etc/ppp/ip-down.local "$@" to ip-down if it is a separate file or to the appropriate place in ip-up if ip-down is symlinked to it. Charles -- "Linux: the operating system with a CLUE... Command Line User Environment". (seen in a posting in comp.software.testing)
participants (3)
-
Charles Philip Chan
-
dproc@dol.net
-
Piet Roorda