blocking port 80 via iptables
- by JoyIan Yee-Hernandez
I'm having problems with iptables. I am trying to block port 80 from the outside, basically plan is we just need to Tunnel via SSH then we can get on the GUI etc. on a server
I have this in my rule:
Chain OUTPUT (policy ACCEPT 28145 packets, 14M bytes)
pkts bytes target prot opt in out source destination
0 0 DROP tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 state NEW,ESTABLISHED
And
Chain INPUT (policy DROP 41 packets, 6041 bytes)
0 0 DROP tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 state NEW,ESTABLISHED
Any guys wanna share some insights?