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

    Routing Internet Traffic via s2s client

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 344 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.
    • A
      alkisg
      last edited by alkisg

      Hi, I'm trying to do what the Routing Internet Traffic Through A Site-To-Site OpenVPN Tunnel page documents, except that I want a Headquarter PC (=OpenVPN server side) to egress its Internet traffic via the Branch Office (=OpenVPN client side).

      I'm failing though as I don't know how to declare the specific OpenVPN client (the Branch Office) as the gateway for that specific Headquarter PC; I can only declare the openvpn_server_interface, which doesn't give enough information to OpenVPN to choose a specific OpenVPN client.

      The Branch Office cannot function as an OpenVPN server because it can't do external port forwarding.

      Any ideas? Thanks!

      (btw that automated spam check is really annoying, I had to post an empty initial message and then edit it multiple times, until I realized it accepts Thanks but not Thank you... 😠 )

      V 1 Reply Last reply Reply Quote 0
      • A
        alkisg
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • V
          viragomann @alkisg
          last edited by

          @alkisg
          You need to configure a VPN > OpenVPN > Client Specific Override for this client to route traffic to it.

          In the CSO state a certain tunnel IP for this client and set the whole network range at "Remote Network/s". For IPv4 enter "0.0.0.0/0".

          Also in the server settings enter "0.0.0.0/0" at "IPv4 Remote network(s)".

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