PDA

Bekijk de volledige versie : How to restart firewall?



Pjotrek
06-11-2007, 17:01
I no longer have web access to my distant router. I do, however, have ssh access. I have ascertained that the problem lies in the firewall, and think I have corrected it. But how do I restart the firewall without rebooting and without the web interface?

al37919
06-11-2007, 20:03
Issue iptables -F to forget all settings. Afterwards you may start configuring from the blank list.

Otherwise use iptables -D ... to remove particular rules one by one.

Pjotrek
06-11-2007, 21:34
You misunderstood. The firewall is now correctly (?) configured. What commands do I need to issue to make the unit restart it's firewall and start using the new firewall?:cool:
Forcing a dhcpc reconnect would make the trick - but what's required on the command line?

Pjotrek
06-11-2007, 21:50
OK, so I found out myself.
kill -USR1 <udhcpc proc no>
does the trick.
:)