Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have three machines in the local network:
A.Android phone
B.PC
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. www.google.com.

On C, internet works in Firefox. host www.google.com 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 8.8.8.8 on Ubuntu

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
192.168.0.234   *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     *               255.255.255.0   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 192.168.0.234.36334 > google-public-dns-a.google.com.domain: 3701+ A? pool.ntp.org. (30)
20:30:53.862199 IP 192.168.0.234.1356 > google-public-dns-a.google.com.domain: 3701+ A? pool.ntp.org. (30)
share|improve this question
1  
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

 
discard

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

Browse other questions tagged or ask your own question.