VPN
Linux
run
sudo apt-get install pptp-linux
in root, enter directory and setup a configure file:
cd /etc/ppp/peers nano vpn
and paste the following lines
pty "pptp xxx.enshi.us --nolaunchpppd" name username password password remotename PPTP require-mppe-128 require-mschap-v2 refuse-eap refuse-pap refuse-chap refuse-mschap noauth persist maxfail 0 defaultroute replacedefaultroute usepeerdns
and finally turn on or off the vpn
pon /etc/ppp/peers/vpn poff /etc/ppp/peers/vpn
test with FB
curl https://www.facebook.com/
or
ping https://www.facebook.com/
VPN Router
- Xiaomi router supports