Basically, I'm getting abuse on IRC. so, with the power of Reddit, hoping someone can help without giving me abuse. I want the following setup. I have Openvpn on a Raspi4, it's connected and works. I can browse sites, ping google etc. but... this is where it gets tricky. I want the openvpn connection on the raspi4 to stay connected (it's used for pihole) but I also want to connect to a vpn provider in the netherlands, so I can block ads with pihole but browse blocked sites via the openvpn connection. I had this working previously, not sure what changed. here's what worked but does not now: sudo iptables -t nat -A POSTROUTING -s 10.6.0.0/24 -o tun0 -m comment --comment wireguard-nat-rule -j MASQUERADE sudo iptables -A FORWARD -s 10.6.0.0/24 -i wg0 -o tun0 -m comment --comment wireguard-forward-rule -j ACCEPT sudo iptables -A FORWARD -d 10.6.0.0/24 -i tun0 -o wg0 -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment wireguard-forward-rule -j ACCEPT
I'm literally pulling my hair out. I want the pihole openvpn to stay connected to block ads, but want the netherlands vpn to stay connected also so I can get around blocked websites via my ISP. atm I'm trying to do this on Wi-Fi. any ideas on what I'm doing wrong?
No comments:
Post a Comment