/etc/network/interfaces changed in 7.10?
Marius Gedminas
marius at pov.lt
Fri Nov 23 19:22:38 UTC 2007
On Fri, Nov 23, 2007 at 01:49:14PM -0500, Jimmy Wu wrote:
> All right, I've created the script suggested by Marius Gedminas, made it
> executable, put it in /etc/network/if-pre-up.d/, rebooted, and nothing
> happened (no iptables rules) :-(
Well, I did say that I never tested it... It's very likely that
NetworkManager completely ignores these /etc/network/ scripts.
> Any suggestions?
Load the iptables rules on boot rather than when a network interface
comes up? IIRC /etc/init.d/iptables even has built-in support for this:
you set up your firewall, then run 'sudo /etc/init.d/iptables save active'
and it will automatically restore that setup on boot.
Marius Gedminas
--
If C gives you enough rope to hang yourself, C++ gives you enough rope to bind
and gag your neighborhood, rig the sails on a small ship, and still have enough
rope left over to hang yourself from the yardarm.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071123/9aabc869/attachment.sig>
More information about the ubuntu-users
mailing list