OPNsense Forum

English Forums => Virtual private networks => Topic started by: inuleki on June 06, 2024, 03:48:15 PM

Title: OpenVPN - Client Overrides - Tunnel Network, no routing
Post by: inuleki on June 06, 2024, 03:48:15 PM
Hello,

on my OPNSense, I have 3 interfaces:
I setup OpenVPN Server:When connecting, I can reach all Networks

I setup Client Specific Override that changes only
When connecting, I cannot reach any Network.

When I check System - Routes - Status, I do not find any route to 10.0.15.0/24

When I check the firewall logs, I see packets hitting the firewall of the OPNSense from my client. I assume the System does not know the route back to 10.0.15.0/24.

When I try to add a route manually, I cannot choose the OpenVPN as the Gateway.

Does anyone have an idea what I am doing wrong ?
Title: Re: OpenVPN - Client Overrides - Tunnel Network, no routing
Post by: tiermutter on June 06, 2024, 10:45:25 PM
In client specific overrides you must not define a net out of the VPN server's one.
You must define a host address or a network that fits into the server's range (tunnel network).