I have three machines in the local network:
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 18.104.22.168 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)