OPNsense Forum

English Forums => Virtual private networks => Topic started by: pille on March 19, 2024, 11:31:10 AM

Title: Wireguard, localnetwork traffic over VPN, rest not
Post by: pille on March 19, 2024, 11:31:10 AM
hello all

how to configure following:
Wireguard (finally working / thx to the wireguard configurator)
the client should use http://localwebsite.cloud/ over vpn
the rest of the traffic not. should go directly over the wlan interface.

thx
Title: Re: Wireguard, localnetwork traffic over VPN, rest not
Post by: tiermutter on March 19, 2024, 11:55:26 AM
Please tell us what exactly you want to achieve. Routing a local (!) [that means to me this is reachable directly from the clients network] website / IP makes less sense to me.
If your clients are roadwarriors and shall reach only this server via VPN from wherever they are connected, you simply add the servers IP to the WG allowed IPs.