OPNsense Forum
English Forums => General Discussion => Topic started by: robertkwild on September 07, 2019, 12:45:12 am
-
hi all,
i have got openvpn server on my opnsense router and got openvpn client on my android mobile
when i was in armenia, i connected on my mobile to my server and i could login to my home lan so i know it works but everytime i tried to open the bbc iplayer app it wouldnt let me watch/stream any content
how can i do this please?
many thanks,
rob
-
Hi Rob,
Have you made a DNS leak tests? Do you get the same DNS making the test on your computer at home, as making it over OpenVPN with your android device on for instance a public WiFi hotspot?
Make sure that your OpenVPN Server uses your OPNsense as DNS-server.
Maybe the BBC uses another technology to flush out those trying to access their content abroad, but it's worth a try.
https://www.dnsleaktest.com/
miroco
-
hello miroco,
yes i have run dns leak test on my pc at home and from my mobile at work and there not using the same DNS
how do i make my openvpn server use my opnsense dns server?
-
Assign localhost; 127.0.0.1, or the network address of your opnsense box "192.168.1.1" as dns server in your openvpn server configuration.
-
done it but when i connect to openvpn server on my mobile its still using my work dns not my home dns?
-
Whether I connect my iPhone to my home WiFi network or use mobile data, I get the same dns using Openvpn - that of my OpnSense box. Since you are using an android device, it's maybe working differently in that regard. Perhaps it's caching the dns, in this case, your work dns.
How to flush the dns on an android phone
https://buffered.com/tutorials/how-to-flush-dns-cache/
I assume that the 10.100.1.254 address is the ip of your Opnsense box.
-
yes 10.100.1.254 is my opnsense router with openvpn on it
ohhh so shall i put in my no-ip dns name in the "dns default domain" as i do have one ie xxx.ddns.net OR shall i put in my LAN dns name ie xxx.home
-
may try dnsmasq instead of unboundDNS