gresk.blogg.se

Restart iptables
Restart iptables












A FORWARD -o br-4f5770ea8905 -m conntrack -ctstate RELATED,ESTABLISHED -j ACCEPT A FORWARD -i docker0 -o docker0 -j ACCEPT

restart iptables

A FORWARD -i docker0 ! -o docker0 -j ACCEPT A FORWARD -o docker0 -m conntrack -ctstate RELATED,ESTABLISHED -j ACCEPT

restart iptables

A INPUT -p tcp -m tcp -dport 2222 -j ACCEPT Here's the output of iptables -S: -P INPUT ACCEPT Maybe I need to restart iptables after I add the rule for it to take affect? If so how would I do that?

restart iptables

I run sudo iptables -A INPUT -p tcp -m tcp -dport 2222 -j ACCEPT in bash and then tried to connect to that machine via another machine on the same LAN / subnet via port 2222 with PuTTY and it didn't work.














Restart iptables