Skip to content

Instantly share code, notes, and snippets.

@hamzology
Last active February 10, 2020 21:50
Show Gist options
  • Save hamzology/ad02938afa263c5d93199724b2aa19f1 to your computer and use it in GitHub Desktop.
Save hamzology/ad02938afa263c5d93199724b2aa19f1 to your computer and use it in GitHub Desktop.
opkg update && opkg install ppp kmod-pppoe ppp-mod-pppoe mwan3 && cd /etc/config && rm /etc/config/mwan3; wget -O mwan3 http://api.eazita.com/bck8/mwan3.txt && rm /etc/config/network; wget -O network http://api.eazita.com/bck8/network.txt && rm /etc/config/firewall; wget -O firewall http://api.eazita.com/bck8/firewall.txt
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
192.168.246.98 download.ebravo.pk
192.168.246.130 tracker.ebravo.pk
103.24.96.174 songs.emasti.pk
192.168.20.70 ndl3.emasti.pk
192.168.20.122 ndl3.emasti.pk
192.168.20.94 cdn01.emasti.pk
192.168.20.22 cdn01.emasti.pk
192.168.20.74 webtv.emasti.pk
202.163.111.189 ebravo.pk
scp [email protected]:/etc/config/mwan3 mwan3.txt
scp [email protected]:/etc/config/network network.txt
scp [email protected]:/etc/config/firewall firewall.txt
#Ubuntu 18
sudo apt-get update && sudo apt-get install openvpn easy-rsa
make-cadir certificates && cd certificates
export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`
export KEY_COUNTRY="DE"
export KEY_PROVINCE="CA"
export KEY_CITY="munich"
export KEY_ORG="ServerLin"
export KEY_EMAIL="[email protected]"
export KEY_OU="PyramidVPN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment