aalenizi
By:
aalenizi

How to connect to my droplet after VPN connection starts?

May 16, 2016 372 views
Networking VPN Ubuntu

Hi everyone,
Very simple. As soon as I start my VPN connection I'm out of my droplet and I can't ssh back to it anymore until I power it off and power it on again.
Thanks,

2 comments
  • You didn't include any details about your configuration.

  • I use pptp with the following config (after replacing the IPs with x's and y's:
    pty "pptp xx.xx.xx.xx --nolaunchpppd --debug"
    name xxxxxx
    password xxxxxx
    remotename PPTP
    require-mppe-128
    require-mschap-v2
    refuse-eap
    refuse-pap
    refuse-chap
    refuse-mschap
    noauth
    debug
    persist
    maxfail 0
    defaultroute
    replacedefaultroute

    usepeerdns

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    default 104.x.x.1 0.0.0.0 UG 0 0 0 eth0
    10.17.0.0 * 255.255.0.0 U 0 0 0 eth0
    104.x.x.0 * 255.255.192.0 U 0 0 0 eth0
    172.17.0.0 * 255.255.0.0 U 0 0 0 docker0
    xx.xx.xx.xx 104.x.x.1 255.255.255.255 UGH 0 0 0 eth0
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    default * 0.0.0.0 U 0 0 0 ppp0
    10.17.0.0 * 255.255.0.0 U 0 0 0 eth0
    yy.yy.yy.yy * 255.255.255.255 UH 0 0 0 ppp0
    104.236.192.0 * 255.255.192.0 U 0 0 0 eth0
    172.17.0.0 * 255.255.0.0 U 0 0 0 docker0
    xx.xx.xx.xx 104.x.x.1 255.255.255.255 UGH 0 0 0 eth0

    I noticed that the difference is in the line that has yy.yy.yy.yy

Be the first one to answer this question.