routing openvpn road warrior setup
-
Question: do i need any further configuration so my roadwarrior vpn client user can access the ressources behind the 10.12.12.253 router and if yes can you explain? -
btw. i have another seup, where the additional router is plugged not in the switch but in the opt1 of the pfsense like:
and there the road warrior can access the webserver behind the router only using the static route.. what am i missing?
-
what i think is, i need smth like a hidenat rule so packets from the vpn client will be send from the pfsense to the other router with the ip of the pfsense because the other router does not know where to send the packets with the ip of the openVPN tunnel adresses but for some reason i cant figure out how to set that up
-
@justanotherpfsenseadm said in routing openvpn road warrior setup:
Question: do i need any further configuration so my roadwarrior vpn client user can access the ressources behind the 10.12.12.253 router and if yes can you explain?
You also need to add a static route for the OpenVPN tunnel network on the other router and point it to pfSense.
If there is no possibility to do this you can masquerade the traffic on pfSense to get at least one-way access from the VPN client to the server.
-
@viragomann thx for your respone! i found a solution my self already.. guess it is what you pointed out
as far as i have no access to the other router i needed to create a 1:1 NAT rule with:
External IP: Lan Adress
Internal IP: 10.12.13.2
Destination IP: Alias with all Networks or single IPs behind or connected devices to 10.12.12.253 like 84.138.94.15i think that is what you call masquerade right?