PiVPN with Wireguard and PiHole not working correctly Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
nilsacht
Posts: 24
Joined: Mon Jan 18, 2021 9:33 am

Re: PiVPN with Wireguard and PiHole not working correctly

Post by nilsacht »

So here are my files. First befor vpn connection:

Code: Select all

ip -4 addr
http://sprunge.us/6tn5bH

Code: Select all

ip -4 ro li table all
http://sprunge.us/QA1EPD

Code: Select all

ip -4 ru
http://sprunge.us/fZoLwb

Code: Select all

iptables-save -c
http://sprunge.us/d8TiGK

Code: Select all

ss -tulnp
http://sprunge.us/AUVUD1

_____________________
And with vpn connection:

Code: Select all

ip -4 addr
http://sprunge.us/o06sJ4

Code: Select all

ip -4 ro li table all
http://sprunge.us/bXoqIg

Code: Select all

ip -4 ru
http://sprunge.us/4TE6AI

Code: Select all

iptables-save -c
http://sprunge.us/8lwXN1

Code: Select all

ss -tulnp
http://sprunge.us/yhU2zi

______________________
Hope that helps.
User avatar
trendy
Posts: 309
Joined: Tue Feb 25, 2020 2:54 pm

Re: PiVPN with Wireguard and PiHole not working correctly

Post by trendy »

There are some docker entries in the iptables.
Check what @Joulinar wrote here
Other than that there are no differences in routing/rules/iptables/sockets.
nilsacht
Posts: 24
Joined: Mon Jan 18, 2021 9:33 am

Re: PiVPN with Wireguard and PiHole not working correctly

Post by nilsacht »

There is no path called

Code: Select all

/etc/docker/
on my system. I uninstalled docker with dietpi-software. How can I delete the entries?
User avatar
trendy
Posts: 309
Joined: Tue Feb 25, 2020 2:54 pm

Re: PiVPN with Wireguard and PiHole not working correctly

Post by trendy »

Try to reboot. That will start fresh without any leftovers from uninstalled software.
User avatar
Joulinar
Posts: 4804
Joined: Sat Nov 16, 2019 12:49 am

Re: PiVPN with Wireguard and PiHole not working correctly

Post by Joulinar »

yes docker is a bad guy if you are running it on a VPN server, I was running into that trap as well personally. It's easy to fix but hard to find.

That's basically the issue :FORWARD DROP [4972:303171]

But a reboot should fix it and remove leftover from Docker
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nilsacht
Posts: 24
Joined: Mon Jan 18, 2021 9:33 am

Re: PiVPN with Wireguard and PiHole not working correctly

Post by nilsacht »

So reboot does not help. How do I get ridd of :FORWARD DROP [4972:303171]?
User avatar
Joulinar
Posts: 4804
Joined: Sat Nov 16, 2019 12:49 am

Re: PiVPN with Wireguard and PiHole not working correctly

Post by Joulinar »

can you share iptables -S
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nilsacht
Posts: 24
Joined: Mon Jan 18, 2021 9:33 am

Re: PiVPN with Wireguard and PiHole not working correctly

Post by nilsacht »

User avatar
Joulinar
Posts: 4804
Joined: Sat Nov 16, 2019 12:49 am

Re: PiVPN with Wireguard and PiHole not working correctly

Post by Joulinar »

it still contains all the docker rules. strange. can you share dpkg -l docker*
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nilsacht
Posts: 24
Joined: Mon Jan 18, 2021 9:33 am

Re: PiVPN with Wireguard and PiHole not working correctly

Post by nilsacht »

Post Reply