firewall
Peter Sabaini
peter at sabaini.at
Tue Aug 11 21:30:52 UTC 2009
On Tue, 2009-08-11 at 07:51 +1000, Daniel Dalton wrote:
> Hi,
>
> I have a shell script (fw.sh), which on my debian system creates a
> firewall using iptables fine. How can I make this script be ran on
> ubuntu? I would like it to run when a network device goes up. Eg. when
> eth0 or wlan0 gets a connection it should be executed.
> Currently i use post-up /sbin/fw.sh
> in my /etc/network/interfaces file on debian, will this work on ubuntu,
> or is there a "gui" way of doing this?
I dont know of any GUI way, but the post-up stanzas
in /etc/network/interfaces as well as the /etc/network/if-up.d directory
scripts will work fine.
- peter.
>
> Thanks,
> Daniel.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090811/c9f6c432/attachment.sig>
More information about the ubuntu-users
mailing list