Tom Eastep <[EMAIL PROTECTED]> wrote:
| mess-mate wrote:
| > Hi,
| > I've to restart shorewall when my dynamic IP was changed from my ISP.
| > Of course i can with a shell script do it automatically, but the
| > question is still there.. why ?
| >
|
| You initiated a very long email thread with the title:
|
| ETH0_IP=`find_first_interface_address ppp0`
|
| in which you said that you have the following in /etc/shorewall/rules:
|
| DNAT loc dmz:192.168.20.1 tcp 80 - $ETH0_IP
|
| When the IP address of ppp0 changes, the DNAT rule no longer works.
|
| -Tom
Ahh yes of course.
I've to write a shellcript detecting an IP change and restarting
shorewall.
Thanks.
mess-mate
--
Q: How many surrealists does it take to change a light bulb?
A: Two, one to hold the giraffe, and the other to fill the bathtub
with brightly colored machine tools.
[Surrealist jokes just aren't my cup of fur. Ed.]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users