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

    How to pass traffic from OpenVPN server's WAN through VPN to pfSense client(s)?

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 551 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.
    • P Offline
      pf123user
      last edited by

      Not sure I've set things up properly but I've got my local pfSense connecting (as client) to OpenVPN server. Connection is good for client machines:```
      wget http://ipinfo.io/ip -qO -

      
      Client machines connected don't see anything other than pfSense's DHCP server as if the VPN doesn't exist. For example,```
      ifconfig
      ```returns only```
      eth0
      ```and```
      lo
      ```yet clients can ping pfSense, the VPN tunnel and the local network of the VPN server.
      
      My reason for setting up the VPN is so I can drop a WAN connection and still be able to host my own web & mail servers locally. (Primary ISP blocks all the good ports.) Now that I can get out, I'm looking to be able to get in such that an HTTP request that hits my OpenVPN server forwards on to my web server. OpenVPN server is Ubuntu. Do I have to manually create those NAT rules in Ubuntu's UFW or is there a way to forward everything that hits the OpenVPN server's IP address over to me/pfSense?
      
      Thanks.
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.