Hi,
in iptables i wrote some rule. Is it possible to start/stop/restart iptables?
for example with command: iptables stop
Thank you
Hi,
in iptables i wrote some rule. Is it possible to start/stop/restart iptables?
for example with command: iptables stop
Thank you
iptables
is a command it’s not a service that can start/stop/restart
Yes you are right, but if I write: iptables -t nat -A PREROUTING -p tcp --dport 22 -j DNAT --to-destination 10.8.0.08:22
Immediatly after this rule work fine. So I presume that there is a system that permitt to work. How Can I stop this system?
Thank you
yes the rule is getting activate asap. You just can remove it. There is nothing to stop. You would need to remove the rule if not needed anymore.