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

    OpenVPN as client tunnel

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.2k 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.
    • I
      infield
      last edited by

      I want to be able to have someone VPN into out network and then tunnel (is this the right word?) to the public internet through our WAN.

      I have tried setting up an new OpenVPN server called tunneling server with Local Network set to the entire IPv4 range. My thinking is all IP requests would be forced through the VPN this way.

      ===
      OpenVPN: Server > Tunnel Settings > IPv4 Local Network/s = 0.0.0.0/0

      We are trying to do this because we have someone who is working from home who need to get a connection through our WAN IP. I have done a bunch of searching but most of what is see is LAN to LAN tunneling.

      Thanks,
      -marc
      ![Screen Shot 2013-10-29 at 6.20.21 PM.png](/public/imported_attachments/1/Screen Shot 2013-10-29 at 6.20.21 PM.png)
      ![Screen Shot 2013-10-29 at 6.20.21 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2013-10-29 at 6.20.21 PM.png_thumb)

      1 Reply Last reply Reply Quote 0
      • G
        gusdvg
        last edited by

        Did you check that option in your screenshot to force all traffic through the tunnel? Other than that, you would a rule to allow OpenVPN traffic out to the WAN, and I guess you would also need an Outbound NAT rule (or if Outbound NAT is set as automatic you probably will not need this step).

        1 Reply Last reply Reply Quote 0
        • I
          infield
          last edited by

          Hard to believe I miss the force all traffic check box. Thank you!

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