Redirect port from NAT to host of OpenVPN



  • Hi, i'm trying to redirect one port (27380) from PFSense (PFSense 1) to one computer (called AG) in other PFSense (PFSense 2). Both PFSense are connected via IPSec tunnel. I can reach any computer in the IPSec, but I'm not able to redirect the port to the computer called AG.

    I attach a simple network diagram with the PFsense and the computer, and their situation.

    Untitled Diagram.png

    Thanks for your help.


  • LAYER 8 Netgate

    You really can't realistically do that with IPsec. You can do it with OpenVPN.



  • Ok, I tried with OpenVPN tunnel. But the rule in NAT to redirect port to OpenVPN client is not working...

    Can you help me?

    Thanks



  • Assign interfaces to the OpenVPN instances at both sites. Only select the correct network port, open the interface settings and enable them.

    If it still doesn't work post your settings like networks, IPs, filter rules, NAT rules.



  • @viragomann I created the interfaces and I assigned to both OpenVPN instances, I can reach the port from PFSense 1, but not from WAN of PFSense 1. What am I missing?



  • The routes?

    So you've created a Site-to-Site OpenVPN server?

    Also added firewall rules to allow that access?
    You'll need a rule on pfSense1 WAN interface as well as on the VPN interface on pfSense.


Log in to reply