Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a server that is setup with a squid proxy on ubuntu 9 and handles users browsing the net via squid, this is working perfectly for me.

Now a user on my network wants to use a application to connect to the net but the port the application uses is port 80. Since i dont want to allow them direct access to the internet how can i get the application to use the proxy server. Also will i need to modify the server in anyway.

share|improve this question
add comment

1 Answer

Does this software need to send traffic inbound or outbound on port 80?

I'd suspect it would require the software to support using proxy servers unless it only requires outbound traffic and can work with transparent proxying with iptables. i.e. running squid on port 3128, then forward all port 80 traffic being routed from your network via the proxy, through 3128 and out to the internet instead.

[ iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 ]

share|improve this answer
    
Ok i checked arround and it needs inbound and outbound , also i have reccomended that the user use proxifier to tunnel all the applications data through the proxy , this should work right ? –  RC1140 Jul 20 '09 at 17:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.