Skip to content

Instantly share code, notes, and snippets.

@dceoy
Last active August 29, 2015 14:00
Show Gist options
  • Save dceoy/11026241 to your computer and use it in GitHub Desktop.
Save dceoy/11026241 to your computer and use it in GitHub Desktop.
[RHEL] Setup PPTP connection
sudo yum -y install ppp pptp pptp-setup
sudo pptpsetup --create "vpn" --server "vpn.example.jp" --username "vpnuser" --password "vpnpass" --encrypt
# configuration
# -> /etc/ppp/peers/vpn
# -> /etc/ppp/chap-secrets
# connection
sudo pppd call vpn updetach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment