Route between OpenVPN and Interface
-
Hi
I've gotten myself into a setup that's a bit more complicated than what I've done previously and not really sure in what direction to go to make this work.
I have a setup as seen on the diagram (ignore arrow direction). What I need is being able to connect from the Debian VM to the OpenVPN client.
For this to work I assume that I will need to add a route on the Debian VM to 10.201.0.0/16 but not sure what the via should be.
And what configuration will I need on the pfSense to get this traffic through?Thank you!
-
@zapador said in Route between OpenVPN and Interface:
For this to work I assume that I will need to add a route on the Debian VM to 10.201.0.0/16 but not sure what the via should be.
Yes, seem pfSense is not the default gateway on the Debian machine, since you have already a route pointing to it.
So you also need a route for the OpenVPN tunnel pool or at least the clients IP and point it to the same pfSense IP.In the OpenVPN server settings you need to add the Debians IP 10.199.0.5/32 to the "Local Networks" to push the route to the client.
You may also want to create a CSO for the certain client to assign a static virtual IP to it. So the IP to connect to the client stays the same. -
@viragomann Thank you for taking your time to respond. I'll see if I can make it work.