Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • AllowedIPs=172.16.20.4/32 is a single IP address, wireguard uses the first entry to indicate the endpoint, normally you would configure /32 and the /0 in the allowedips entry. You can do source specific routing by adding src 172.16.20.4 to your ip route command Commented Sep 6, 2022 at 5:30
  • To clarify ip route command on the host, not on the source itself. Sourced based routing is usually disabled because it's a security problem. Commented Sep 6, 2022 at 5:37