Routing explicit IP through VPN - road warrior
-
I have a network, here's the details:
VPN network: 192.168.47.0/24
Office: 192.168.46.0/24
pfSense:
WAN: 192.168.46.5/24
LAN: 192.168.47.1/24Office Gateway: 192.168.46.254
I have a customer who has a firewall rule that only allows me to RDP from the office IP. I want to make the OpenVPN route traffic to that IP address through the VPN while leaving all other public internet traffic to route through the network I am on.
I have tried a lot of iterations but every single one I do on a traceroute it dies at 192.168.47.1.
RDP IP: 1.2.3.4
So, I've tried:
push "route 1.2.3.4 255.255.255.255 192.168.47.0";
push "route 1.2.3.4 255.255.255.255 192.168.46.0";
push "route 1.2.3.4 255.255.255.255 192.168.46.254";
push "route 1.2.3.4 255.255.255.255 vpn_gateway";All have the same result.
I want it to route from LAN to WAN and push through the Office route to the internet.
What should I enable to do this?
This is a road warrior setup with selective routing through the VPN (it allows access to VPN clients, Office device and another remote office worth of devices. This all works right now).