iptables-restore ubuntu server does not restore at boot
what could this be
i saved my correct iptables file @ Code:
/etc/iptables.up.rules webmin config is to automaticly boot this file and addes a line at. Code:
/etc/network/interfaces post-up iptables-restore < /etc/iptables.up.rules but when i reboot i have to manualy Code:
iptables-restore < /etc/iptables.up.rules also i added the line Code:
iptables-restore < /etc/iptables.up.rules Code:
/etc/rc.local what could this be and why is this restore not working on ubuntu server edition kernel 2.6.31-17-server |
Path
Specify a fully qualified path. For example:
/sbin/iptables-restore < some.file |
I had a similar problem when using rc.local also I was only able to get it to work when I loaded iptables-restore < rules via a script instead.
|
[solved]
i did put this line Code:
post-up iptables-restore < /etc/iptables.up.rules Code:
/etc/network/interfaces rebooted the machine.. and i got it right ?? |
I have the same issue on Desktop 9.1
tried it with "post-up iptables-restore < /etc/iptables.up.rules" in the middle of /etc/interfaces where webmin put it and at the end like suggested here. anyone else have any other ideas? thanks |
All times are GMT -5. The time now is 01:38 PM. |