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

    NAT a OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 2.0k 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.
    • W
      webstar
      last edited by

      Hi All,

      Not sure if this is the right forum for this question.  I am in the process of changing ISP's my current ISP provides static IP's but my new one does not. 
      I have a VPN service setup on my PFsense box and what I need to do is be able to treat the OpenVPN connection as the WAN connection.

      All outgoing traffic from selected IP addresses on the network would use the VPN (ie my servers) but also incoming traffic on the VPN IP to be port forwarded to the servers.

      Is this at all possible and could someone help me set it up.

      Unlike PPTP  OpenVPN doesn't show up as an interface in PFsense so I am confused on how to do this.

      my OpenVPN connect shows up as Tun0 under Routes but thats it.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You can assign tun0 as an interface under Interfaces > (assign), though check the doc wiki for OpenVPN filtering on some more specific instructions.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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