Maybe he can help me force all outgoing traffic through wireguard. Nothing I do works so I gave up and installed proxy server.
same⦠we have the guy who made it here! nostr:npub179e9tp4yqtqx4myp35283fz64gxuzmr6n3yxnktux5pnd5t03eps0elz4s
Discussion
maybe use routing?
I managed to route traffic through the wireguard interface to the other server, but it never goes out to the public network. I tried everything chatgpt told me, but the problem is I haven't read a 200 page book about networking.
refer to: https://wiki.archlinux.org/title/WireGuard
section 2.4.3 systemd-networkd: routing all traffic over WireGuard
special attention to exempt the endpoints public ip.
works, zero iptables used.
well, zero on the client, simple masquerade on the exit node