shawly
Hey peps,
I've set up a OVPN server on my remotely hosted vServer, I'm connecting to it via my home routers OVPN client, which shares my home network to the other OVPN clients, so I have access to my home server from other OVPN clients.
I've set the IP of my home router 192.168.0.1 as DNS for the TAP-Windows Adapter, so I can resolve the devices at home via their domain names, e.g. sun.ho.me is my home server and mars.ho.me is the virtualized Windows guest to which I can connect via RDP.
Question 1
When I'm connecting from a non-proxy network to my OVPN, all the traffic goes through the OVPN server, which is what I want, but it uses my home routers DNS so the domain resolving isn't that fast because I only have a 1 Mbps upload connection.
So is there any way I can use my routers DNS only for host with *.ho.me domains (my devices at home) and for everything else, use another DNS? Like googles DNS for example?
Is there any software I could install on my OVPN server host that can act as DNS server but it just switches between my home dns and googles DNS depending on the domain that gets accessed?
Question 2
I can connect to my OVPN from behind a proxy, since it runs on an open port, I can also access my home devices via their hostnames (webinterfaces, SSH and RDP are accessible), but I can't use it to browse the internet (which works outside from a proxy protected network, it uses the IP of my vServer). I've set Firefox to use no proxy, so it'll use OVPN, but when I do this it runs into a network connection timeout. If I enable the automatic proxy detection or use system proxy, it will just use the main proxy.. This doesn't happen with the same client in a non-proxy network.
I can't figure out why this happens, it also happens for other applications that can't use proxies. Why is this happening?