Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
IPSec internet traffic not via tunnel
« previous
next »
Print
Pages: [
1
]
Author
Topic: IPSec internet traffic not via tunnel (Read 945 times)
nkraft
Newbie
Posts: 16
Karma: 0
IPSec internet traffic not via tunnel
«
on:
February 01, 2022, 01:52:05 pm »
Hi there,
I have an existing IPSec connection that works in tunnel mode via 0.0.0.0/0.
Remote LAN and Internet are routed via the tunnel.
But I don't want to route the internet traffic through the tunnel. Only the Remote LAN 192.168.0.0/24 should be accessible. I need some advice on how to do that.
IPSec works with IKEv2 and EAP because Windows supports VPN.
Windows Client Config /My Solution
Set-VpnConnection -Name "OPNSENSE" -SplitTunneling $True
Add-VpnConnectionRoute -ConnectionName "OPNSENSE" -DestinationPrefix 192.168.0.0/24 -PassThru
Best Regards Norman
«
Last Edit: February 01, 2022, 03:44:19 pm by nkraft
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
IPSec internet traffic not via tunnel