VPN server unreachable from LUbuntu Guest on Win10 Host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
DP
Posts: 3
Joined: 20. Sep 2017, 11:34
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: LUbuntu 17.04

VPN server unreachable from LUbuntu Guest on Win10 Host

Post by DP »

Hello,
Index: goal -> setup -> problem statement -> data -> questions

GOAL:
I'm trying to set up a VirtualBox VM that can connect to my workplace's VPN network, without the host connecting to the network as well.

SETUP:
I have a Win10 machine is on my home network behind a TPLink wireless router, which goes out to a TPLink modem, then out to comcast via coax.

I set up the Win10 machine with a qualcomm wireless card and an intel ethernet port. The WAN adapter has a metric 2 vs the LAN adapter has a metric of 3. This is so the Host's traffic preferentially takes the wireless route.

I have a VirtualBox 5.1.28 VM set up with LUbuntu 17.04. The system has 1 core (running at 3.4 GHz) and 1 GB RAM, dynamically allocated disk space. The VirtualBox's network is set in "Bridged Adapter" mode, pointed at the Host's Ethernet Connection, with a Promiscuous mode Allowing VMs.


PROBLEM STATEMENT:
On the guest OS, I can access the internet without any problems.
On the host OS, I can access the internet without any problems.
On the guest OS, I cannot reach the company VPN host
On the host OS, I can reach and connect to the company VPN host

DATA:
Here is an excerpt of tcpdump of port 53 during an attempted ping of the company VPN host.

Code: Select all

user@user-VirtualBox:/tmp/work$ ping myaccess.oraclevpn,com
ping: myaccess.oraclevpn,com: Name or service not known

Code: Select all

root@user-VirtualBox:~# tcpdump -n port 53
02:29:50.832672 IP 192.168.0.116.54203 > 192.168.0.1.53: 56616+% [1au] A? myaccess.oraclevpn,com. (73)
02:29:51.009594 IP 192.168.0.1.53 > 192.168.0.116.54203: 56616 1/0/1 A 148.87.36.20 (67)
02:29:51.013656 IP 192.168.0.116.50093 > 192.168.0.1.53: 21757+% [1au] SOA? myaccess.oraclevpn,com. (73)
02:29:51.361446 IP 192.168.0.1.53 > 192.168.0.116.50093: 21757 ServFail 0/0/1 (51)
02:29:51.363491 IP 192.168.0.116.50093 > 192.168.0.1.53: 21757+% [1au] SOA? myaccess.oraclevpn,com. (51)
02:29:51.376833 IP 192.168.0.1.53 > 192.168.0.116.50093: 21757 ServFail 0/0/1 (51)
02:29:51.378884 IP 192.168.0.116.50093 > 192.168.0.1.53: 21757+% SOA? myaccess.oraclevpn,com. (40)
02:29:51.391104 IP 192.168.0.1.53 > 192.168.0.116.50093: 21757 ServFail 0/0/0 (40)
02:29:51.392919 IP 192.168.0.116.41894 > 192.168.0.1.53: Flags [S], seq 320573590, win 29200, options [mss 1460,sackOK,TS val 1947174662 ecr 0,nop,wscale 7], length 0
02:29:51.410760 IP 192.168.0.1.53 > 192.168.0.116.41894: Flags [R.], seq 0, ack 320573591, win 0, length 0
02:29:51.411943 IP 192.168.0.116.41896 > 192.168.0.1.53: Flags [S], seq 3953226308, win 29200, options [mss 1460,sackOK,TS val 2241995734 ecr 0,nop,wscale 7], length 0
02:29:51.426636 IP 192.168.0.1.53 > 192.168.0.116.41896: Flags [R.], seq 0, ack 3953226309, win 0, length 0
02:29:51.427943 IP 192.168.0.116.41898 > 192.168.0.1.53: Flags [S], seq 2247568165, win 29200, options [mss 1460,sackOK,TS val 1740771355 ecr 0,nop,wscale 7], length 0
02:29:51.447001 IP 192.168.0.1.53 > 192.168.0.116.41898: Flags [R.], seq 0, ack 2247568166, win 0, length 0
And here is the same ping completed without issue on the Win10 Host OS:

Code: Select all

C:\>ping myaccess.oraclevpn,com
Pinging myaccess.oraclevpn,com [148.87.36.20] with 32 bytes of data:
Reply from 148.87.36.20: bytes=32 time=17ms TTL=247
Reply from 148.87.36.20: bytes=32 time=11ms TTL=247
QUESTIONS:
- What could hypothetically cause this issue?
- What additional data should I collect to make diagnosing the issue easier?

Thank you in advance :)
DP
Posts: 3
Joined: 20. Sep 2017, 11:34
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: LUbuntu 17.04

Re: VPN server unreachable from LUbuntu Guest on Win10 Host

Post by DP »

P.S. I know there are commas where there should be periods. I made that edit intentionally to allow me to post on the forum :)
DP
Posts: 3
Joined: 20. Sep 2017, 11:34
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: LUbuntu 17.04

Re: VPN server unreachable from LUbuntu Guest on Win10 Host

Post by DP »

EDIT: It seems to be some sort of DNS issue.
After editing /etc/hosts to include the correct IP addr for the vpn hostname, the VPN connection worked fine.
Does anyone have any suggestions on where to ask about DNS failures like this?
Post Reply