@Derek<br>Sorry, the script is below.<br>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.
<br><br>@Marius<br>I just shut off my ubuntu computer, but the next time I get back to it I'll try the init.d/iptables save.  <br><br>@All <br>Thanks for you help<br><br>Jimmy<br><br><div class="gmail_quote">On Nov 13, 2007 6:34 AM, Marius Gedminas <
<a href="mailto:marius@pov.lt">marius@pov.lt</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br></div>
You can still do that (and continue to use NetworkManager) if you create<br>a shell script in /etc/network/if-pre-up.d:<br><br>  #!/bin/sh<br>  if [ "$IFACE" = "eth0" ]; then<br>      iptables-restore < /etc/network/iptables.up.rules
<br>  fi<br><br>(Disclaimer: the script is not tested.)<br><br>Marius Gedminas<br><font color="#888888">--<br>If it wasn't for C, we'd be using BASI, PASAL and OBOL<br></font><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG 
v1.4.6 (GNU/Linux)<br><br>iD8DBQFHOYvFkVdEXeem148RAoK2AJ9J1uWAVxnIpQQTD1GPWWDOZ8XLcACdG4lj<br>y7fqEuH2yBh2GhrJ/6DTIJ4=<br>=C9nE<br>-----END PGP SIGNATURE-----<br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">
ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Registered Linux User #454138