Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: SoftDux on March 25, 2008, 09:10:50 AM
-
I have read through the wiki & FAQ's, as well as search the forums, but can't find anything for this particular problem.
How would I allow a certain website(s) to use an external proxy server? Our country's dumb proxy servers often mess stuff up and I want to use a proxy server located in the USA for these sites. How would I tell SME (with transparent proxy) to use the upstream proxy server for certain websites only?
-
SoftDux
Is this what you want, it's in the FAQ.
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Bypass_Proxy
-
Hi RayMitchell, I looked at that article, but it is a but unclear to me.
I want the whole 192.168.10.0/24 LAN to use an external proxy (proxy.softdux.com for example) for a certain website, in this case http://www.rentacoder.com
config setprop squid BypassProxyTo 162.23.23.125
config setprop squid BypassProxyFrom a.b.c.d,x.y.z.0/0
expand-template /etc/rc.d/init.d/masq
/etc/init.d/masq restart
But the instructions looks like it let's a certain internal IP (thus machine on the local LAN) bypass the SME proxy instead? That will still cause that IP / machine use the transparent upstream ISP proxy
-
SoftDux
http://bugs.contribs.org/show_bug.cgi?id=2374
for clues to develop some code to do what you want.
-
what does the DNS have todo with an external proxy server? I don't understand.
I simply SME to make use of proxy.softdux.com as external proxy server, for certain websites, when accessed by any host on the SME LAN (192.168.10.0/24). I can ping the sites in question, but our upstream ISP's IP's changes the whole time, so some sites that use cookies based login doesn't want to allow access, since the proxy IP changes everytime.
And now that I have said that much, I have a feeling I'm going to be told something totally unrelated....
-
ok, let's simplify my request.
How do I tell SME to use a specific external proxy server for certain web pages?
-
The closest thing to what you want.
To configure an upstream proxy
config set SquidParent a.b.c.d
config set SquidParentPort nn
signal-event post-upgrade
signal-event reboot
[The SquidParentPort setting is optional if the upstream proxy is on port 3128.]
-
thank you. I presume that option will use the designated upstream proxy for all websites?
-
SoftDux
I presume that option will use the designated upstream proxy for all websites?
As I understand it yes, that's why I said the closest thing to what you want.
I think you will need to develop code/template fragments to get exactly what you are after, assuming it's possible, refer to the bug report mentioned earlier for clues.
-
Unfortunately this solution didn't work. The one ISP's proxy solves the cookie problem on forums, but then doesn't allow access to secure sites on ports other than 445, like ISPConfig which runs on port 81 over SSL - So I instead got a Proxy switcher for Firefox, and use different proxies for different sites.