blocking port 80 via iptables
Posted
by
JoyIan Yee-Hernandez
on Super User
See other posts from Super User
or by JoyIan Yee-Hernandez
Published on 2012-08-29T15:22:55Z
Indexed on
2012/08/29
15:40 UTC
Read the original article
Hit count: 209
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?
© Super User or respective owner