1
vote
Accepted
Port unreachable when wireguard is connected
Your routing tables are stateless, they don't have any information about a packet being an answer or your port being bound.
So you can use the connection table to add a mark when a connection is made ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
iptables × 6671linux × 1715
firewall × 991
networking × 821
nat × 576
routing × 557
ubuntu × 488
linux-networking × 451
centos × 410
openvpn × 384
port-forwarding × 364
debian × 311
vpn × 256
docker × 208
ssh × 204
security × 196
port × 168
ufw × 146
fail2ban × 135
ip × 134
proxy × 129
squid × 119
forwarding × 114
router × 111
domain-name-system × 110