Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/05/2019 in Posts

  1. Configuring OpenVPN with UDP VPN + TCP VPN First, get the script and make it executable : curl -O [Hidden Content] chmod +x openvpn-install.sh Then run it : ./openvpn-install.sh Configuring Steps: Add IPTables: iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE iptables -t nat -A POSTROUTING -s 10.9.0.0/24 -o eth0 -j MASQUERADE iptables -t nat -A POSTROUTING -s 10.10.0.0/24 -o eth0 -j MASQUERADE iptables -A INPUT -i eth0 -p udp --dport port -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport port -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport port -j ACCEPT Copy Service: cp /lib/systemd/system/openvpn\@.service /etc/systemd/system/tcpvpn\@.service cp /lib/systemd/system/openvpn\@.service /etc/systemd/system/udpvpn\@.service cp /lib/systemd/system/openvpn\@.service /etc/systemd/system/squidvpn\@.service Duplicate Files: cd /etc/openvpn/ cp server.conf udpvpn.conf cp server.conf tcpvpn.conf cp server.conf squidvpn.conf Edit Files: nano udpvpn.conf [iCODE]---> Change 10.8.0.0 to 10.9.0.0[/iCODE] nano tcpvpn.conf [iCODE]---> Change 10.8.0.0 to 10.9.0.0[/iCODE] nano squidvpn.conf [iCODE] ---> Change 10.8.0.0 to 10.10.0.0[/iCODE] Restart Services: service openvpn@udpvpn restart service openvpn@tcpvpn restart service openvpn@squidvpn restart
    2 points
  2. Configuring ShadowsocksR Super Fast Secure Proxy Log in as the root user and run the following command: wget --no-check-certificate [Hidden Content] chmod +x shadowsocksR.sh ./shadowsocksR.sh 2>&1 | tee shadowsocksR.log Or Try the four in One Script wget --no-check-certificate [Hidden Content] chmod +x shadowsocks-all.sh ./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log After the installation is complete, the script prompts as follows: Congratulations, ShadowsocksR server install completed! Your Server IP :your_server_ip Your Server Port :your_server_port Your Password :your_password Your Protocol :your_protocol Your obfs :your_obfs Your Encryption Method:your_encryption_method Welcome to visit:[Hidden Content] Enjoy it! Uninstall method: Log in as root and run the following command: ./shadowsocksR.sh uninstall After the installation is complete, ShadowsocksR is started in the background and runs: /etc/init.d/shadowsocks status You can see if the ShadowsocksR process has started. After the script is installed, ShadowsocksR has been automatically added to boot and self-start. Use the command: Start: /etc/init.d/shadowsocks start Stop: /etc/init.d/shadowsocks stop Restart: /etc/init.d/shadowsocks restart Status: /etc/init.d/shadowsocks status Configuration file path: /etc/shadowsocks.json log file path: /var/log/shadowsocks.log code installation directory: /usr/local/shadowsocks Multi-user configuration example: { "server":"0.0.0.0", "server_ipv6": "[::]", "local_address":"127.0.0.1", "local_port":1080, "port_password":{ "8989":"password1", "8990":"password2", "8991":"password3" }, "timeout":300, "method":"aes-256-cfb", "protocol": "origin", "protocol_param": "", "obfs": "plain", "obfs_param": "", "redirect": "", "dns_ipv6": false, "fast_open": false, "workers": 1 } If you want to modify the configuration file, please refer to: [Hidden Content] [Hidden Content] /ssr.md [Hidden Content]
    1 point
  3. Configuring Squid Proxy Server sudo apt-get update sudo apt-get install squid sudo apt-get install squid3 Change directory cd /etc/squid cd /etc/squid3 Open squid.conf nano squid.conf Search http_port 3128 Change the 3128 to any port eg. 5421 Uncomment: http_access deny all Add: http_access allow all acl Safe_ports port number(replace with port number) acl SSL_ports port number(replace with port number) These are the lines you add or change: http_port 5421 http_access allow all acl Safe_ports port number(replace with port number) acl SSL_ports port number(replace with port number) Restart Squid Server: sudo service squid restart sudo service squid3 restart
    1 point
×
×
  • Create New...
×
GloTorrents Community Forum
Home
Activities
Sign In
Search
More
×