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

    SSH Portforward doesn't work, still get pfSense ssh.

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 916 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.
    • J
      jackbrown1993
      last edited by

      Hi,

      I have a single LAN multi-wan setup.

      The default gateway for pfSense is a BT connection.

      I wish to forward port 22 (SSH) from the BT connection to an internal host (10.70.10.250).

      I have 1 WAN interface which is a trunk to a Switch. Other WAN interfaces are PPPOE interfaces which talk in different VLANS to their respective modems over the WAN trunk.

      I have attempted to setup port-forwarding but when I SSH to the BT address it is SSH'ing to the pfSense box and not my internal device. I have looked at the Troubleshooting page but can't see what I am doing wrong.

      I have a firewall rule on the BT interface permiting and source adresss destined to BT Address Port 22.

      I have a port-forward entry which states

      Interface: WANTRUNK
      Protocol: TCP
      Source: any
      Dest add: BT Address
      Dest port: 22
      NAT IP: 10.70.10.250
      NAT Port: 22

      I have also tried this which also doesn't work:

      Interface: BT
      Protocol: TCP
      Source: any
      Dest add: BT Address
      Dest port: 22
      NAT IP: 10.70.10.250
      NAT Port: 22

      Thanks,

      Jack.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Set up the interface as the modem's vlan. Can't get the rule to fire up if it's not listening on the right interface.

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