Sending just ssh traffic via wg

Konstantin Ryabitsev konstantin at linuxfoundation.org
Thu Oct 4 17:53:59 CEST 2018


Hi, all:

I'm trying to figure out the right PostUP/PostDown incantations to send
just ssh traffic (on port tcp/22) via the wg tunnel, but I'm having a
bit of a hard time. I should be able to do this with --set-mark for
iptables/PREROUTING and a fwmark ip route rule, but it doesn't appear to
be working as described in many guides I've consulted.

Has anyone done something like this before?

-K


More information about the WireGuard mailing list