03/21/2022, 12:51 PM
I see.. Just sharing my use case in case if someone has any solution/comment/suggestion. I have following use case.. I am running netmaker behind traefik proxy. I am able to restrict access to dashboard.netmaker.example.com using traefik middleware 'ipwhitelist' where I provide public IP of my host. I was hoping to replace this public IP with the wireguard subnet, so that any traffic coming from netmaker client is white listed. However the server sees the connection coming from public IP. The hope is that once I connect to VPN and I am on wireguard subnet, the traffic to netmaker server can be routed via the tunnel. Is it possible somehow with help of netmaker, add a static route on windows client machine that all the traffic meant for wireguard server is routed via private IP?