I have a simple script that applies firewall rules but for some reason ougoing traffic is blocked. This is the script:
iptables --flish
iptables -v -A INPUT -p tcp --deport 22 -j ACCEPT
iptables -v -A INPUT -j DROP
The last line seems to also block outgoing traffic. Why is this? That should only block incomming, no? Should't -OUTPUT control outgoing?
iptables --flish
iptables -v -A INPUT -p tcp --deport 22 -j ACCEPT
iptables -v -A INPUT -j DROP
The last line seems to also block outgoing traffic. Why is this? That should only block incomming, no? Should't -OUTPUT control outgoing?