Skip to contentSkip to conversation

Blocking Direct outgoing connections to port 80

DISCUSSION shardul Adhikari 2 participants 2 messages Jun 27, 2005

lore
Share & tools
lore
#0 lore raw

Hi list,
I want to block direct connections comming to port 80 from my network , but allow them connections via proxy port 8080 , how to go about it.

Thanks in Advance.

#1 lore raw
Quoted 5 lines · shardul Adhikari

Hi list,
I want to block direct connections comming to port 80 from my network , but allow them connections via proxy port 8080 , how to go about it.

Thanks in Advance.

The LARTC cookbook shows how to do this:

http://lartc.org/howto/lartc.cookbook.squid.html

This is a little old (it uses ipchains for some things) but you should be able to figure out how to update it for use with iptables.

Signature · 2 lines
[ Tobias DiPasquale ]
0x636f6465736c696e67657240676d61696c2e636f6d