How to do this, I’m sure I’m not the only one? I’d like it done preferably with Wireshark. I don’t need/want every single connection running through Wireshark, just those from qBittorrent and I also need access to my Pi via LAN of course.
When running the following .conf from my VPN provider. I instantly lose any SSH/LAN access to my Pi which makes it useless for me. Does anyone know what kind of modification I need?
[Interface]
PrivateKey = <privatekey>
Address = 10.***.***.101/32,fc00:****:****:****::865/128
DNS = 193.138.218.74
PostUp = iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
PreDown = iptables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
[Peer]
PublicKey = <publickey>
AllowedIPs = 0.0.0.0/0,::0/0
Endpoint = 185.***.***.130:51820