Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
wireguard selective routing rules not applying
« previous
next »
Print
Pages: [
1
]
Author
Topic: wireguard selective routing rules not applying (Read 793 times)
benniekiss
Newbie
Posts: 1
Karma: 0
wireguard selective routing rules not applying
«
on:
June 17, 2023, 05:46:55 pm »
I followed the documents in selectively routing hosts through a wireguard external vpn,
https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html
, but I cannot get the routing to work at all. Traffic still gets routed through the default WAN gateway. I cannot figure out what is going wrong.
I know my VPN connection works because I can make a simple road warrior configuration work. However, it routes ALL internet traffic through the VPN because a route is automatically created for 0.0.0.0/1.
My basic setup:
PROTON is the interface for the wireguard tunnel,
ProtonVPN is the gateway name,
ProtonVPN_Hosts is the alias for the hosts intended for the tunnel and includes the IP network for 100.64.0.1/24
HSC is the interface I want hosts to be able to access the tunnel from
Attached are screenshots of my configuration. I appreciate any help!
«
Last Edit: June 17, 2023, 05:57:02 pm by benniekiss
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
wireguard selective routing rules not applying