Hello everyone,
I’ve recently bought an Odroid N2 for a new HTPC build runnign CoreELEC. Everything was super easy to setup and i got the basics running. However, i’ve run into an issue setting up my VPN using OpenVPN (tried Zomboided VPN Manager, but i’d rather run it in the OS as a service)
It seems that when i don’t supply the Odroid with a DNS server using DHCP from my router, it uses 8.8.8.8 and 8.8.4.4. With my VPN running, this works but i’d rather use my VPN providers internal VPN server (10.8.0.1). For some reason, every time i try to add another DNS, there seems to be a route automatically added to my routing table, pointing outside of my VPN towards my router.
As can be seen in the journalctl:
Mar 29 22:08:32 htpc openvpn[4360]: Initialization Sequence Completed
Mar 29 22:09:04 htpc connmand[3749]: eth0 {add} route 10.8.0.1 gw 10.0.47.1 scope 0
And my routing table:
0.0.0.0 10.8.0.1 128.0.0.0 UG 0 0 0 tun0
0.0.0.0 10.0.47.1 0.0.0.0 UG 0 0 0 eth0
10.0.47.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.47.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
10.8.0.0 0.0.0.0 255.255.0.0 U 0 0 0 tun0
10.8.0.1 10.0.47.1 255.255.255.255 UGH 0 0 0 eth0 <<< want this removed
128.0.0.0 10.8.0.1 128.0.0.0 UG 0 0 0 tun0
123.123.123.1 10.0.47.1 255.255.255.255 UGH 0 0 0 eth0
How do i prevent this from happening?
Regard,
EekNL