You are not logged in.
Pages: 1
Topic closed
I was trying to set up a pptp VPN with connman. However, even after creating a config file in /var/lib/connman-vpn, I seem to not be able to connect to the vpn. The file (/var/lib/connman-vpn/kuins.config) is:
[global]
Name = KUINS
Description = Connect to the VPN
[provider_PPTP]
Type = PPTP
Name = Connection to KUINS using pptp
Host = pptp0.kuins.kyoto-u.ac.jp
PPTP.User = xxx
PPTP.Password = "xyz"
PPPD.RequireMPPE128
PPPD.NoDeflate
PPPD.NoBSDComp
This particular PPTP VPN does not require a domain, so I did not add that option. I can confirm that I can connect to it using my credentials and the instructions given on this wiki page.
Upon running:
# connmanctl
connmanctl> vpnagent on
VPN Agent registered
connmanctl> vpnconnections
connmanctl>exit
There is no output to vpnconnections. I would like to use connman over netctl as it provides much better speed for dhcp ethernet for me, however, if it is necessary for me to be able to connect to this PPTP VPN. Unfortunately, there is no other way (e.g. OpenVPN) for me to connect to it.
Also, unfortunately, it seems that I cannot use pon and poff in order to enable/disable this VPN if I use connman.
$ sudo pon kuins
$ sudo ip route add default dev ppp0
RTNETLINK answers: File exists
Unfortunately, it seems not to be, as traffic certainly does not get routed through this VPN. My organisation requires that I use this VPN to connect to anything over port 80, and if that is not happening, I simply cannot connect. Which is exactly what happens here.
Any ideas as to what to do?
Last edited by genghizkhan91 (2014-05-10 08:57:41)
Offline
Your config is invalid because each option must be key = value pair (boolean options should have value true or yes)
You could figure it out if you:
kill connman-vpnd
(as root) connman-vpnd -n -d # run in debug mode
then save/update your config file and you should see details (as vpnd listens on file changes)
Offline
Izoubek, thank you for trying to help, but this is a year and a half old thread, and genghizkhan91 hasn't been on the forums for 10 months; if they haven't solved their problem by now, I suspect they are no longer interested in finding a solution. Please read through the forum etiquette to familiarise yourself with our rules.
https://wiki.archlinux.org/index.php/Forum_etiquette
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed