[HELP] NAT to a Server w/Different Gateway other than pfSense



  • Hello,
    I would like to make NAT to a server has different gateway other than pfSense

    My Topology is like attached diagram.

    If I change the server's gateway address with pfSense NAT working perfectly then I can reach the server from Internet (also via OpenVPN) .  If not dropped with CLOSED:SYN_SENT message.

    It may stupid question but I appreciated to hear if it is possible in pfSense.

    Thank you.



  • LAYER 8 Netgate

    No.

    The fix for that would have to be on the server at 10.0.0.1.

    It would have to know what connections are coming from pfSense and send reply traffic back that way instead of to its default gateway.



  • Thank you for the reply. Your answer push me that think differently. And I solved the problem (I think so..) for OPENVPN side. I've just added a static rule for "IPv4 Tunnel Network" -30.0.0.0/24 for me- of OPENVPN into the server.
    Now I can access the server through the OPENVPN.


Log in to reply