Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.
Chenyao Lou edited this page Jan 31, 2020 · 20 revisions

Notes:

  • Routing a flow whose destination is a wan IP to a Wireguard tunnel may be implemented by marking this traffic via iptables. Be careful to not route traffics incoming from other non-Wireguard devices. For an outgoing flow, if it is the initiated connection, then iptbales rule should only match the destination IP, else it also matches the source IP. (A similar but different case: https://serverfault.com/a/395245)
Clone this wiki locally