Changes

From SME Server
Jump to navigationJump to search
1,032 bytes removed ,  02:46, 30 October 2007
Line 31: Line 31:  
===Customizing Squid===
 
===Customizing Squid===
 
====Bypass the Proxy Server Without Disabling Your Transparent Proxy====
 
====Bypass the Proxy Server Without Disabling Your Transparent Proxy====
      mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
+
[[:Firewall#Bypass_Proxy]]
      cd /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
  −
      wget -O 35transproxy <nowiki>http://bugs.contribs.org/attachment.cgi?id=1191</nowiki>
  −
      wget -O 90adjustTransProxy <nowiki>http://bugs.contribs.org/attachment.cgi?id=1192</nowiki>
  −
      config setprop squid BypassProxyTo a.b.c.d
  −
      expand-template /etc/rc.d/init.d/masq
  −
      service masq restart
  −
* Replace '''a.b.c.d''' with the IP or network address for which you wish to bypass the proxy server.
  −
* Use '''config setprop squid BypassProxyFrom a.b.c.d''' to configure a specific local host or network that should bypass the proxy server
  −
* Note that 'signal-event remoteaccess-update' does not seem to completely rebuild /etc/rc.d/init.d/masq
  −
* Be sure to check the bug for changes to the attachments: http://bugs.contribs.org/show_bug.cgi?id=2374)
     −
  −
Disable squid proxy bypass using:
  −
config delprop squid BypassProxyFrom
  −
config delprop squid BypassProxyTo
  −
expand-template /etc/rc.d/init.d/masq
  −
service masq restart
   
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu