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

    Www redirect in Open VPN tunel

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 1.4k 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.
    • M
      mst
      last edited by

      Experts,

      I have two pfsense boxes connected OpenVpn tunnel. Is there any way to redirect specific www page to use other gateway?

      pfsense1 –------OpenVpn----------------pfsense2

      lets say that I want to open www.whatismyip.com from behind pfsense1 but I want to to only that www be redirected and go through pfsesne2

      Please advice

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        First of all, find out the IP address(es) that the hostname in question resolves to.

        Then on pfSense1 create a static route for those IP addresses that routes through the OpenVPN tunnel. You'll need to ensure that both pfSense hosts know how to route to the LAN on the other side.

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