Tuesday, April 5, 2016

Microsoft VPN from Linux Virtualbox

Leave a Comment

For work I need to connect to a VPN. Connecting works fine from both native Windows and native Linux. In native Linux I add it under networking and it simply works. Unfortunately my company policy obliges me to use Linux in a Virtual Machine, and I cannot get it to work there.

I have tried both NAT and Bridged networking, as well as other bridging the connection in windows.

Has anyone managed this successfully? Is there a way to see if it is the company firewall that is blocking the connection from the virtual-box OS ?

edit: Syslog output below: 58:18 x NetworkManager[2835]: <info> Starting VPN service 'pptp'... 58:18 x NetworkManager[2835]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 10117 58:18 x NetworkManager[2835]: <info> VPN service 'pptp' appeared; activating connections 58:18 x NetworkManager[2835]: <info> VPN plugin state changed: init (1) 58:18 x NetworkManager[2835]: <info> VPN connection 'PGC' (ConnectInteractive) reply received. 58:18 x NetworkManager[2835]: <info> VPN plugin state changed: starting (3) 58:18 x NetworkManager[2835]: <info> VPN connection 'PGC' (Connect) reply received. 58:18 x pppd[10120]: Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded. 58:19 x pppd[10120]: pppd 2.4.6 started by root, uid 0 58:19 x kernel: [21373.483043] PPP generic driver version 2.4.2 58:19 x pptp[10129]: nm-pptp-service-10117 log[main:pptp.c:314]: The synchronous pptp option is NOT activated 58:19 x pppd[10120]: Using interface ppp0 58:19 x pppd[10120]: Connect: ppp0 <--> /dev/pts/3 58:20 x pptp[10136]: nm-pptp-service-10117 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' 58:20 x pptp[10136]: nm-pptp-service-10117 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply 58:20 x pptp[10136]: nm-pptp-service-10117 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established. 58:20 x NetworkManager[2835]: <info> (ppp0): new Generic device (driver: 'unknown' ifindex: 3) 58:20 x NetworkManager[2835]: <info> (ppp0): exported as /org/freedesktop/NetworkManager/Devices/2 58:20 x NetworkManager[2835]: <info> devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0) 58:20 x NetworkManager[2835]: <info> device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found. 58:21 x pptp[10136]: nm-pptp-service-10117 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' 58:21 x pptp[10136]: nm-pptp-service-10117 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply. 58:21 x pptp[10136]: nm-pptp-service-10117 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 41). 58:27 x pptp[10136]: nm-pptp-service-10117 log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed 58:27 x pptp[10136]: nm-pptp-service-10117 log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown) 58:27 x pptp[10136]: nm-pptp-service-10117 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' 58:27 x pptp[10136]: nm-pptp-service-10117 log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed 58:27 x pptp[10136]: nm-pptp-service-10117 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state) 58:27 x pppd[10120]: Modem hangup 58:27 x pppd[10120]: Connection terminated. 58:27 x pppd[10120]: Exit. 58:27 x avahi-daemon[2046]: Withdrawing workstation service for ppp0. 58:27 x NetworkManager[2835]: <info> devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0) 58:27 x NetworkManager[2835]: <warn> VPN plugin failed: connect-failed (1) 58:27 x NetworkManager[2835]: <warn> VPN plugin failed: connect-failed (1) 

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment