First of all, I’m really new on Raspberry Pi/Dietpi. So, forgive me my ignorance.
I have the following issue, which is also discussed in the following thread, but I can’t see a solution for me:
I can see my Raspberry Pi (with Pi-Hole) is connected with a NordVPN server if I do: dietpi_nordvpn
If I check my ipaddress it is still showing my own ipaddress.
I don’t know what to do to find out what the problem is.
I am doing the check on my PC. My PC is connected to my router which uses the Raspberry Pi, with Pi Hole, as DNS.
Output:
root@DietPi:~# ip -4 addr; ip -4 ro; ip -4 ru
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
inet 192.168.178.27/24 brd 192.168.178.255 scope global dynamic eth0
valid_lft 858491sec preferred_lft 858491sec
5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
inet 10.8.2.9/24 brd 10.8.2.255 scope global tun0
valid_lft forever preferred_lft forever
0.0.0.0/1 via 10.8.2.1 dev tun0
default via 192.168.178.1 dev eth0
10.8.2.0/24 dev tun0 proto kernel scope link src 10.8.2.9
128.0.0.0/1 via 10.8.2.1 dev tun0
188.95.55.88 via 192.168.178.1 dev eth0
192.168.178.0/24 dev eth0 proto kernel scope link src 192.168.178.27
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
Thanks for your reaction, but that doesn’t help.
According to the instructions from Pi Hole, the DNS can also be set in the router so that it is not neccessary to change the settings in all the connected devices.
Tracing route to dns.google [8.8.8.8]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms fritz.box [192.168.178.1]
2 1 ms 1 ms 1 ms 002-000-143-136.dynamic.caiway.nl [136.143.0.2]
3 4 ms 3 ms 3 ms cn-aml-vkw-cr15-be2002-2010.caiw.net [62.45.30.249]
4 4 ms 3 ms 3 ms 72.14.223.133
5 3 ms 3 ms 3 ms 108.170.241.129
6 3 ms 3 ms 3 ms 108.170.236.223
7 3 ms 3 ms 3 ms dns.google [8.8.8.8]
Trace complete.
looks like your computer is going straight to your Fritz!Box and not to your DietPi system. Are you sure your computer is using the DietPi device as gateway?
You have not configured the default gateway on the PC properly. It is still using the router, instead of the dietpi.
Also you need to restart sysctl or reboot the dietpi to apply the changes in sysctl.