Forked from amanjuman/SoftEther VPN for Ubuntu 16.04 & 18.04
Created
October 15, 2019 12:35
-
-
Save xcardoso/a14bc1f72e7c38ae0fc01b700e6af70c to your computer and use it in GitHub Desktop.
Revisions
-
amanjuman renamed this gist
Jul 13, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
amanjuman revised this gist
Jul 8, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y apt-get -y install build-essential wget curl gcc make wget tzdata git libreadline-dev libncurses-dev libssl-dev zlib1g-dev wget https://www.softether-download.com/files/softether/v4.30-9696-beta-2019.07.08-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.30-9696-beta-2019.07.08-linux-x64-64bit.tar.gz tar xzf softether-vpnserver-v4.30-9696-beta-2019.07.08-linux-x64-64bit.tar.gz && rm softether-vpnserver-v4.30-9696-beta-2019.07.08-linux-x64-64bit.tar.gz cd vpnserver && sudo make cd .. -
amanjuman revised this gist
Mar 20, 2019 . 1 changed file with 4 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,12 @@ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y apt-get -y install build-essential wget curl gcc make wget tzdata git libreadline-dev libncurses-dev libssl-dev zlib1g-dev wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.29-9680-rtm/softether-vpnserver-v4.29-9680-rtm-2019.02.28-linux-x64-64bit.tar.gz tar xzf softether-vpnserver-v4.29-9680-rtm-2019.02.28-linux-x64-64bit.tar.gz && rm softether-vpnserver-v4.29-9680-rtm-2019.02.28-linux-x64-64bit.tar.gz cd vpnserver && sudo make cd .. sudo mv vpnserver /usr/local && cd /usr/local/vpnserver/ sudo chmod 600 * sudo chmod 700 vpnserver vpncmd -
amanjuman revised this gist
Jan 17, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ sudo ./vpnserver start sudo ./vpncmd ServerPasswordSet sudo cat >> /lib/systemd/system/vpnserver.service << EOF [Unit] Description=SoftEther VPN Server After=network.target @@ -29,6 +29,7 @@ ExecStop=/usr/local/vpnserver/vpnserver stop [Install] WantedBy=multi-user.target EOF echo net.ipv4.ip_forward = 1 | ${SUDO} tee -a /etc/sysctl.conf echo net.ipv6.ip_forward = 1 | ${SUDO} tee -a /etc/sysctl.conf -
amanjuman revised this gist
Jan 2, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,6 +42,6 @@ systemctl status vpnserver ufw allow 500/udp ufw allow 1701 ufw allow 4500/udp ufw allow 5555 ufw allow 1194 ufw allow 443 -
amanjuman revised this gist
Jan 2, 2019 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,3 +39,9 @@ systemctl stop vpnserver systemctl restart vpnserver systemctl status vpnserver ufw allow 500/udp ufw allow 1701 ufw allow 4500/udp ufw alow 5555 ufw allow 1194 ufw allow 443 -
amanjuman revised this gist
Jan 2, 2019 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,6 +31,7 @@ ExecStop=/usr/local/vpnserver/vpnserver stop WantedBy=multi-user.target echo net.ipv4.ip_forward = 1 | ${SUDO} tee -a /etc/sysctl.conf echo net.ipv6.ip_forward = 1 | ${SUDO} tee -a /etc/sysctl.conf systemctl enable vpnserver systemctl start vpnserver -
amanjuman revised this gist
Dec 17, 2018 . 1 changed file with 3 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,8 @@ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove -y apt-get -y install build-essential wget curl gcc make wget tzdata git libreadline-dev libncurses-dev libssl-dev zlib1g-dev wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.28-9669-beta/softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz tar xzf softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz && rm softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz cd vpnserver sudo make @@ -12,8 +11,7 @@ cd .. sudo mv vpnserver /usr/local cd /usr/local/vpnserver/ sudo chmod 600 * sudo chmod 700 vpnserver vpncmd sudo ./vpnserver start sudo ./vpncmd -
amanjuman revised this gist
Dec 17, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ sudo apt-get update && sudo apt-get upgrade -y & sudo apt-get autoremove -y apt-get -y install build-essential wget curl gcc make wget tzdata git libreadline-dev libncurses-dev libssl-dev zlib1g-dev wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.28-9669-beta/softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz -
amanjuman revised this gist
Nov 30, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,6 +32,8 @@ ExecStop=/usr/local/vpnserver/vpnserver stop [Install] WantedBy=multi-user.target echo net.ipv4.ip_forward = 1 | ${SUDO} tee -a /etc/sysctl.conf systemctl enable vpnserver systemctl start vpnserver systemctl stop vpnserver -
amanjuman created this gist
Nov 30, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,40 @@ sudo apt-get update && sudo apt-get upgrade -y &7 sudo apt-get autoremove -y apt-get -y install build-essential wget curl gcc make wget tzdata git libreadline-dev libncurses-dev libssl-dev zlib1g-dev wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.28-9669-beta/softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz tar xzf softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz rm softether-vpnserver-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz cd vpnserver sudo make cd .. sudo mv vpnserver /usr/local cd /usr/local/vpnserver/ sudo chmod 600 * sudo chmod 700 vpnserver sudo chmod 700 vpncmd sudo ./vpnserver start sudo ./vpncmd ServerPasswordSet sudo nano /lib/systemd/system/vpnserver.service [Unit] Description=SoftEther VPN Server After=network.target [Service] Type=forking ExecStart=/usr/local/vpnserver/vpnserver start ExecStop=/usr/local/vpnserver/vpnserver stop [Install] WantedBy=multi-user.target systemctl enable vpnserver systemctl start vpnserver systemctl stop vpnserver systemctl restart vpnserver systemctl status vpnserver