I come here, because the --debug options for the used programs won't work at all, and no debug output is created in logs. I have NO IDEA how VPN works, and bascially this wasn't as easy as NetworkManager.
I'm trying to use sstp-client found in the AUR to connect to a VPN:
(For the sake of confidentiality I've changed names+ips to trivial things)
remotename myvpn linkname myvpn ipparam myvpn pty "sstpc --ipparam myvpn myvpngateway" name mylogin plugin sstp-pppd-plugin.so sstp-sock /var/run/sstpc/sstpc-myvpn usepeerdns require-mschap require-mschap-v2 noauth lock refuse-pap refuse-eap refuse-chap nomppe nobsdcomp nodeflate # Uncomment this if you want additional debug in your /var/log/messages debug
I've ran these:
export USEPEERDNS=1 export DNS1=126.96.36.199 export DNS2=188.8.131.52
# Secrets for authentication using CHAP # client server secret IP addresses mylogin myvpngateway "mypassword"
sudo pon myvpn
Plugin sstp-pppd-plugin.so loaded.
sudo sstpc myvpngateway --ipparam myvpn
/dev/pts/5: The remote system is required to authenticate itself /dev/pts/5: but I couldn't find any suitable secret (password) for it to use to do so.
i'm not developing SSTP client, but just maintaining Arch package.
though first thing i'd try if i was you is putting asterisk instead of server name (myvpngateway in your case) in chap-secrets. that should work fine unless you're using same username to connect to couple of different servers