Navigation

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

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

    NAT
    2
    3
    476
    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.
    • D
      darkavenger last edited by

      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.


      1 Reply Last reply Reply Quote 0
      • Derelict
        Derelict LAYER 8 Netgate last edited by

        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.

        Chattanooga, Tennessee, USA
        The pfSense Book is free of charge!
        DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • D
          darkavenger last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post