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

    NAT default gateway question

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 1.6k 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.
    • T
      tarragon
      last edited by

      Hello community,
      i joined to asked a stupid question, because i don't know how to formulate question in google to search for solution.

      I have a simple setup, where i use pfsense to access my LAN machines. I use NAT to access several of these machines via ssh.
      Two of these machines also have second nic with main WAN access going directly to the net and use it as their default WAN and so the gateway. Ie different, than the one the forward comes from.
      I have established, that this is the reason, why i cannot connect to these machines ssh via port forwarding. Connections comes in, but states show
      tcp 192.168.3.200:22 <- 172.100.1.100:12666 <- X.Y.Z.Ž:15779 CLOSED:SYN_SENT.
      It is given, that i can connect to these machines via their neighbours without extra WAN via SSH.

      Is there any clever way about this in pfSense, that would allow me to keep default gateway different and still use port forwarding to access these machines? It could be done by some clever ssh command by logging to accessible machine and initiating the secondary connection thru it, however, that seems awful.

      Thanks

      tarr

      1 Reply Last reply Reply Quote 0
      • T
        tarragon
        last edited by

        questing bump, anyone?

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