I'm trying to figure out how can I restart iptables setup made from webmin. When created the firewall rules, webmin saved everything into iptables.up.rules. I used the iptables to DROP as default action, and ACCEPT traffic only from certain IP addresses using NAT, because Filtering was making connection really slow. One of the IPs was my office IP. After resetting the modem/router at the office, our IP changed, and now I can't access webmin.
I have SSH access via other server, which is also at the ACCEPT list, and has static IP.
So I'm trying to modify iptables.up.rules, and change the old office IP to the new one, but nothing happens.
user@serv:/# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination user@serv:/#
no rules / NAT.
can't restart iptables, nothing happens when restarting webmin, tried
user@serv:/# modprobe -r iptable_nat FATAL: Module iptable_nat is in use.
any ideas how to resolve without rebooting?