Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Routing explicit IP through VPN - road warrior

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rcoleman81
      last edited by

      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/24

      Office 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).

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.