badvpn-centos 330 B

12345678910
  1. #!/bin/bash
  2. # go to root
  3. cd
  4. # install badvpn
  5. wget -O /usr/bin/badvpn-udpgw "https://raw.github.com/arieonline/autoscript/master/conf/badvpn-udpgw"
  6. sed -i '$ i\screen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300' /etc/rc.local
  7. chmod +x /usr/bin/badvpn-udpgw
  8. screen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300