Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. #!/bin/bash
  2. echo VPNsunucusu kurulumu baslatiliyor
  3. apt-get update && apt-get upgrade -y
  4. apt-get install build-essential -y
  5. curl -o softether.tar.gz http://www.softether-download.com/files/softether/v4.27-9668-beta-2018.05.29-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.27-9668-beta-2018.05.29-linux-x64-64bit.tar.gz
  6. tar xzvf softether.tar.gz
  7. cd vpnserver
  8. make
  9. cd ..
  10. mv vpnserver /usr/local
  11. cd /usr/local/vpnserver/
  12. chmod 600 *
  13. chmod 700 vpnserver
  14. chmod 700 vpncmd
  15. cd /etc/init.d/
  16. wget http://pastebin.com/raw.php?i=9EBH7UMH -O vpnserver
  17. dos2unix vpnserver
  18. mkdir /var/lock/subsys
  19. chmod 755 /etc/init.d/vpnserver && /etc/init.d/vpnserver start
  20. update-rc.d vpnserver defaults
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement