diff --git a/httpsocks5.sh b/httpsocks5.sh index 0e79b70..3adb43e 100644 --- a/httpsocks5.sh +++ b/httpsocks5.sh @@ -31,6 +31,13 @@ acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT +acl ip1 localip 172.27.149.73 +acl ip2 localip 172.27.149.78 +acl ip3 localip 172.27.149.76 +acl ip4 localip 172.27.149.77 +acl ip5 localip 172.27.149.74 +acl ip6 localip 172.27.149.75 + # # Recommended minimum Access Permission configuration: # @@ -58,6 +65,19 @@ http_access deny CONNECT !SSL_ports # from where browsing should be allowed http_access allow localnet #http_access allow localhost +http_port 172.27.149.73:1990 +http_port 172.27.149.78:1990 +http_port 172.27.149.76:1990 +http_port 172.27.149.77:1990 +http_port 172.27.149.74:1990 +http_port 172.27.149.75:1990 + +tcp_outgoing_address 172.27.149.73 ip1 +tcp_outgoing_address 172.27.149.78 ip2 +tcp_outgoing_address 172.27.149.76 ip3 +tcp_outgoing_address 172.27.149.77 ip4 +tcp_outgoing_address 172.27.149.74 ip5 +tcp_outgoing_address 172.27.149.75 ip6 # And finally deny all other access to this proxy #http_access deny all @@ -90,7 +110,7 @@ EOF } function install_socks5() { wget --no-check-certificate https://raw.github.com/Lozy/danted/master/install.sh -O install_proxy.sh - bash install_proxy.sh --port=1991 --user=dada --passwd=sun157host25http + bash install_proxy.sh --port=1991 --user=xb1dssip0ib --passwd=tt6p5agd4jm } install_http install_socks5