Skip to content

Commit 53b0c96

Browse files
committed
Added DIRECT argument to PAC script
1 parent 3e0221b commit 53b0c96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ cp squid.conf /etc/squid/squid.conf
108108
# Creating PAC Script
109109
pac_file=/var/www/vpn-client/scripts/proxy.pac
110110
echo "function FindProxyForURL(url, host) {" >> $pac_file
111-
echo "return \"PROXY $PublicIP:3128\"" >> $pac_file
111+
echo "return \"PROXY $PublicIP:3128; DIRECT\"" >> $pac_file
112112
echo "}" >> $pac_file
113113
chmod a+rx $pac_file
114114

0 commit comments

Comments
 (0)