Page 1 of 1

weproxy

Posted: Fri Feb 10, 2006 11:13 pm
by helium
Hello
Someone got problems with transparant proxy?
-MSN, Skype.... massangers doesent work.
any solution?

Re: weproxy

Posted: Sat Feb 11, 2006 1:11 am
by raulborda
Hello
Someone got problems with transparant proxy?
-MSN, Skype.... massangers doesent work.
any solution?
You need to configure NAT or socks proxy, webproxy is only for ports 80, 443 and few others.

Posted: Sat Feb 11, 2006 11:54 am
by djape
You should just redirect all traffic to port 80 to proxy, everything else should be going without proxy...

Cheers...

Posted: Sat Feb 11, 2006 7:23 pm
by helium
Is that mean when i create NAT redirect rule insted dst-port=80 i create rule dst-port=0-65535 or do not put ant protocol: (that is all by default)?

Create some rule for examples of your meaning.

Posted: Sun Feb 12, 2006 2:27 pm
by djape
It's all in the Manual, but I'll post example anyway.

Let's assume your gateway's address is 10.0.0.1 and you configured web proxy on port 3128 and set it to be Transparent (ip web-proxy)
Now you should add following rule in ip firewall nat :
add chain=dstnat dst-address=!10.0.0.1 protocol=tcp dst-port=80 action=redirect to-ports=3128
This way, all requests to port 80 (http) will go through proxy meaning that your users will be forced to use http traffic through proxy no matter they want it or not.
Note that this is only for http traffic! You can't redirect all traffic to proxy!

Cheers...