You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically I setup the container as described in the guide, edited the docker compose adding the pihole ports and added a password for it. So this is the situation on portainer:
I connected my phone via the wireguard app and edited the configuration in order to do the split tunnel, but connecting to the admin panel of pihole or just navigating is just not possible.
The container runs on a pi4, with ufw (i allowed the vpn port) and opened the port from my router. Do you have any other suggestions on how to fix this problem?
The text was updated successfully, but these errors were encountered:
Are you also seeing errors like this in journalctl -f of your host?:
Dec 23 20:59:01 instance-1 kernel: IPv4: martian source 172.20.0.2 from <my real IP>, on dev eth0
Dec 23 20:59:01 instance-1 kernel: ll header: 00000000: <redacted>
Dec 23 20:59:06 instance-1 kernel: IPv4: martian source 172.20.0.2 from <my real IP>, on dev eth0
Dec 23 20:59:06 instance-1 kernel: ll header: 00000000: <redacted>
I solved a similar issue by adding INTERNAL_SUBNET= to the .env file as suggested here: #112 (comment)
Edit: Using INTERNAL_SUBNET= just defaults it to 10.13.13.0, and the rest of your configuration needs to account for that. You use ALLOWED_IPS=10.2.0.0 to access the wireguard UI, which is on a separate private network.
Also need to make sure you check and make sure your client is on the same network as the server. In my case I had a static IP on my client that was connecting, but it wasn't in the same subnet as what INTERNAL_SUBNET was defaulting to. It seems reasonable to set INTERNAL_SUBNET to something like INTERNAL_SUBNET=10.2.0.0 if you're going to be setting any static IPs.
Edit: It's probably not a good idea to use INTERNAL_SUBNET=10.2.0.0 because it could cause IP conflicts with stuff on that private network. INTERNAL_SUBNET defaults to 10.13.13.0, a separate network, which is probably best.
Basically I setup the container as described in the guide, edited the docker compose adding the pihole ports and added a password for it. So this is the situation on portainer:
I connected my phone via the wireguard app and edited the configuration in order to do the split tunnel, but connecting to the admin panel of pihole or just navigating is just not possible.
The container runs on a pi4, with ufw (i allowed the vpn port) and opened the port from my router. Do you have any other suggestions on how to fix this problem?
The text was updated successfully, but these errors were encountered: