/etc/network/interfaces changed in 7.10?

Jimmy Wu jimmywu013+ubuntu-lists at gmail.com
Fri Nov 23 20:17:16 UTC 2007


@Derek
Sorry, the script is below.
The rules are in a few that I told iptables to save a while back, and the
save file does work when I do 'sudo iptables-restore <
/etc/network/iptables.up.rules' manually.

@Marius
I just shut off my ubuntu computer, but the next time I get back to it I'll
try the init.d/iptables save.

@All
Thanks for you help

Jimmy

On Nov 13, 2007 6:34 AM, Marius Gedminas <marius at pov.lt> wrote:

>
> You can still do that (and continue to use NetworkManager) if you create
> a shell script in /etc/network/if-pre-up.d:
>
>  #!/bin/sh
>  if [ "$IFACE" = "eth0" ]; then
>      iptables-restore < /etc/network/iptables.up.rules
>  fi
>
> (Disclaimer: the script is not tested.)
>
> Marius Gedminas
> --
> If it wasn't for C, we'd be using BASI, PASAL and OBOL
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHOYvFkVdEXeem148RAoK2AJ9J1uWAVxnIpQQTD1GPWWDOZ8XLcACdG4lj
> y7fqEuH2yBh2GhrJ/6DTIJ4=
> =C9nE
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>


-- 
Registered Linux User #454138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071123/e2c00ecb/attachment.html>


More information about the ubuntu-users mailing list