Changes

From SME Server
Jump to navigationJump to search
245 bytes added ,  14:03, 28 July 2009
added command to retain existing BypassProxyFrom entries
Line 100: Line 100:  
  config setprop squid BypassProxyTo  162.23.23.125
 
  config setprop squid BypassProxyTo  162.23.23.125
 
  config setprop squid BypassProxyFrom a.b.c.d,x.y.z.0/0
 
  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
 +
 +
To add a BypassProxyFrom IP & retain existing IPs without re-entering them, do the following
 +
config setprop squid BypassProxyFrom a.b.c.d,$(config getprop squid BypassProxyFrom)
 
  expand-template /etc/rc.d/init.d/masq
 
  expand-template /etc/rc.d/init.d/masq
 
  /etc/init.d/masq restart
 
  /etc/init.d/masq restart
624

edits

Navigation menu