Re: firewall script question

2001-01-31 Thread Bob Glover
Linda, Why don't you try this. It works for me on eth0, so it ought to work for ppp0 also. I tested it in a script. Be extra careful to get the forward and backward quote marks right. KETH0=`ifconfig eth0 | grep 'inet addr' | sed 's/^.*inet addr://;s/ .*$//'` echo "KETH0=$KETH0" - Bob Glover

Re: firewall script question

2001-01-31 Thread Gustav Schaffter
Linda, I have written this comment in my ip-up.local: # ip-up.local #Parameters: # $1 = INTERFACE # $2 = DEVICE # $3 = SPEED # $4 = LOCAL_IP (As given by ISP) # $5 = REMOTE_IP (of ISP) The ip-up.local will already have the two IP addresses in $4 and $5. Just us

RE: firewall script question

2001-01-30 Thread Eddie Strohmier
Linda: Not to sway you from building the firewall yourself but have you looked at the graphical firewall configurator at: http://firestarter.sourceforge.net/ It requires gnome either 1.0 or 1.2. May sure you select the proper one and it allows an easy to configure firewall via graphical interfa