Interface routing with wireguard issue

Version 1.3.2
I have established a Wireguard tunnel on Vyos.

When I run this command
set protocols static interface-route 1.1.1.1/32 next-hop-interface wg44
to route traffic of this IP address to my Wireguard tunnel, it will work on the Vyos router itself. However, on computers on the network, none of them would be able to ping 1.1.1.1

Any idea? Is it related to NAT?

most likely. if you are not doing NAT you need somebody on the other end of the wg tunnel to know about the LAN behind VyOS and route it.

If you do NAT on wg44 like any other egress interface then this problem may go away

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.