OpenVPN LAN access

Started by fede843, January 12, 2024, 06:12:27 PM

Previous topic - Next topic
Hello, I am new around here. I am trying to get a VPN working.
I am using OPNsense 23.7.11-amd64. I have managed to define it (OpenVPN server) using the GUI, it seems fine, I have used the wizard. I checked both auto-generated firewall rules. I have also left blank the "IPv4 Local Network" field.

After creation, I have generated a proper user, exported the .ovpn file, and connected fine.

The problem I found is that I have still access to my local LAN.

To be honest I have been playing with the "Redirect Gateway" and "Redirect Gateway" fields, and the result it is always the same. The client config does not change, and on the firewall rules I have always the same too: one rule in WAN for the VPN port, and a wide open 1pv4+6 from * to *. Tried creating all the posible escenarios, and the result is always the same. Is this a bug or I am missing something here?

Thanks in advance!

I can do this change in the firewall, preventing access to my LAN changing the global wide rule.

Yet, the wizard behaviour seems off.