A client of mine mentioned he wasn't able to access his mapped drives over the VPN. I remotely connected to his PC and noticed if I pinged hostname.domain.local it resolves to 18.104.22.168. I confirmed he was connected to the VPN and I could ping the IP of the PC directly. I did a quick lookup of that IP address and it turns out its owned by Comcast. Comcast's DNS Helper service was to blame. They were resolving all failed hostnames to their IP address rather then letting it fail and allowing his companies DNS server to resolve it correctly.
To fix this you have 2 options:
- Opt-Out of Comcast's DNS Helper service
- Switch to a public DNS service like OpenDNS or Google's DNS servers
Right now Comcast has this enabled by default for all customers with dynamically assigned IP addresses. Business customers are not affected.
Below is an article on the topic that is a great read.
If you'd like to connect to a Windows PPTP VPN here is a howto to make it happen.
You need to have Ubuntu 10.04 if not you need to apt-get some packages that are not installed by default.
- Click 'System' -> 'Preferences' -> 'Network Connections'
- Click the 'VPN' tab
- Leave 'Point-to-Point Tunneling Protocol (PPTP)' selected
- 'Click Create...'
- Type in a connection name and check the box below it if you'd like the connection to connect automatically
- For 'Gateway' enter in the VPN hostname or IP IE vpn.contoso.com or x.x.x.x
- For the username type in DOMAINusername where DOMAIN is your Windows domain name and username is.... your username
- Type in your password and leave the 'NT Domain:' box empty
- Click 'Advanced...'
- Check 'Use Point-to-Point encryption (MPPE) and leave 'Security' on 'All Available (Default)'
- Check 'Allow BSD data compression'
- Check 'Allow Deflate data compression'
- Check 'Use TCP header compression'
- Leave 'Allow stateful encryption' and 'Send PPP echo packets' unchecked
- Click 'OK'
Now this will send all your network traffic over the VPN. If you'd like to still be able to use your local connection you need to click the 'IPv4 Settings' tab, click 'Routes...' and check 'Use this connection only for resources on its network'. Enabling this can be a security risk so you should talk to your IT administrator first before enabling it. That option is called split tunneling.
Now to connect left click your network icon in the panel on the top right and hover over 'VPN Connections' and left click the connection you just created.
I'm not on a connection that allows me to do further testing but when I can I'll update this with more information.
For earlier versions of Ubuntu use the following KB article to help you install the necessary programs.