Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have three machines in the local network:
A.Android phone
C.pptpd running to Ubuntu in VirtualBox in the same PC. (with bridged networking)

There is router which can see all these 3.

I use the phone A to connect C using VPN. Connection is succesfull. When I use browser in the phone, it can see download a page if it is given as IP. It does not download a page when it is domain name e.g.

On C, internet works in Firefox. host returns an address. The dns request goes through ppp0 (A-C connection) I can see that when I tcpdump but there is no reply.

Can you tell me what can be wrong?

Build-in Android 4.0.4 VPN menu is used to set VPN.
pptpd is the server software for VPN on Ubuntu.
DNS is set to on Ubuntu

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         UG    0      0        0 eth0   *      UH    0      0        0 ppp0     *        U     0      0        0 eth0

tcpdump -i ppp0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
20:30:48.856833 IP > 3701+ A? (30)
20:30:53.862199 IP > 3701+ A? (30)
share|improve this question
With just this information it is hard to tell. What VPN software is in use if any? Where is the DNS server in relation to all this? Is the phone using the right DNS server? How is the routing set up? – Falcon Momot Jul 13 '13 at 18:01
the phone seems to use the right dns server – Aftershock Jul 13 '13 at 18:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.