09-23-2017 07:46 PM - edited 03-12-2019 04:33 AM
Hi friends,
I already set up a Remote access VPN on my ASA 5580 and can connect to ASA from a Windows PC without any problem...nice and easy. The problem is that when I try to connect to ASA with my Linux Mint PC I can't. In Linux I'm using openconnect client and selecting PPTP when I create VPN connection, later Gateway, User and Password, same as in Windows...but can't connect. After sometime trying to connect Linux says that "VPN service has stopped" or something like that. Can anybody help me please????
09-24-2017 07:59 PM
Hi,
This messages is related to Operational System problem. Try to uninstall and install again.
sudo apt-get install openconnect network-manager-openconnect
You can also install Cisco Anyconnect for linux
09-27-2017 07:34 AM - edited 09-27-2017 01:54 PM
Hi Flavio,
sorry, I've been trying to find out a good tutorial about installation of Cisco Annyconnect in Linux without any luck. In the other hand, I read in some place on the internet that openconnect is the best VPN solution for Linux, so I reinstalled the applicaction but nothing changed...after sometime trying to establish VPN connection I get: "Then VPN connection 'Conexión VPN 1 ' disconnected because the VPN service stopped. I'm using PPTP connection. Here's my Linux log:
Sep 27 09:21:00 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522060.2365] audit: op="connection-activate" uuid="4f1f61cc-bf2a-4147-b7a2-8d94c10c9ce0" name="Conexión VPN 1" pid=20978 uid=1000 result="success"
Sep 27 09:21:00 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522060.2416] vpn-connection[0x158a630,4f1f61cc-bf2a-4147-b7a2-8d94c10c9ce0,"Conexión VPN 1",0]: Started the VPN service, PID 3345
Sep 27 09:21:00 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522060.2564] vpn-connection[0x158a630,4f1f61cc-bf2a-4147-b7a2-8d94c10c9ce0,"Conexión VPN 1",0]: Saw the service appear; activating connection
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522066.4240] keyfile: update /etc/NetworkManager/system-connections/Conexión VPN 1 (4f1f61cc-bf2a-4147-b7a2-8d94c10c9ce0,"Conexión VPN 1")
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522066.4389] vpn-connection[0x158a630,4f1f61cc-bf2a-4147-b7a2-8d94c10c9ce0,"Conexión VPN 1",0]: VPN connection: (ConnectInteractive) reply received
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: ** Message: pppd started with pid 3357
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522066.4436] vpn-connection[0x158a630,4f1f61cc-bf2a-4147-b7a2-8d94c10c9ce0,"Conexión VPN 1",0]: VPN plugin: state changed: starting (3)
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK pppd[3357]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: ** Message: nm-pptp-ppp-plugin: (plugin_init): initializing
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK pppd[3357]: pppd 2.4.7 started by root, uid 0
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection'
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK pptp[3364]: nm-pptp-service-3345 log[main:pptp.c:350]: The synchronous pptp option is NOT activated
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522066.4636] manager: (ppp0): new Generic device (/org/freedesktop/NetworkManager/Devices/7)
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK pppd[3357]: Using interface ppp0
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK pppd[3357]: Connect: ppp0 <--> /dev/pts/1
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: Using interface ppp0
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: Connect: ppp0 <--> /dev/pts/1
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522066.4750] devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep 27 09:21:06 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522066.4758] device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: nm-pptp-service-3345 warn[open_inetsock:pptp_callmgr.c:352]: connect: Connection refused
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: nm-pptp-service-3345 fatal[callmgr_main:pptp_callmgr.c:134]: Could not open control connection to 170.X.X.2
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK pptp[3365]: nm-pptp-service-3345 warn[open_inetsock:pptp_callmgr.c:352]: connect: Connection refused
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: nm-pptp-service-3345 fatal[open_callmgr:pptp.c:526]: Call manager exited with error 256
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK pptp[3365]: nm-pptp-service-3345 fatal[callmgr_main:pptp_callmgr.c:134]: Could not open control connection to 170.X.X.2
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: Modem hangup
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 11 / phase 'disconnect'
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: Connection terminated.
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK pptp[3364]: nm-pptp-service-3345 fatal[open_callmgr:pptp.c:526]: Call manager exited with error 256
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: ** Message: Terminated ppp daemon with PID 3357.
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK pppd[3357]: Modem hangup
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK pppd[3357]: Connection terminated.
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <error> [1506522081.8164] platform-linux: do-change-link[8]: failure changing link: failure 19 (No existe el dispositivo)
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <warn> [1506522081.8165] device (ppp0): failed to disable userspace IPv6LL address handling
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522081.8225] vpn-connection[0x158a630,4f1f61cc-bf2a-4147-b7a2-8d94c10c9ce0,"Conexión VPN 1",0]: VPN service disappeared
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: <info> [1506522081.8378] devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 1 / phase 'dead'
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK NetworkManager[872]: ** Message: nm-pptp-ppp-plugin: (nm_exit_notify): cleaning up
Sep 27 09:21:21 gaspar-Lenovo-ideapad-310-15ISK pppd[3357]: Exit.
what do you think????
thanks.
09-27-2017 08:09 AM - edited 09-27-2017 08:13 AM
I think troubleshooting it is a pain in the ass. But, I did this in recent past and it worked perfectly.
Try this:
http://helpdesk.ugent.be/vpn/en/linux.php
You can try Anyconnect following this link:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide