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

Cannot NAT ssh with other port than 22

Scheduled Pinned Locked Moved NAT
3 Posts 2 Posters 773 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.
  • P
    phil123456
    last edited by Jul 19, 2016, 1:08 PM

    Hello,

    I need to setup port forwarding on a couple of host for ssh protocol

    it works if I use wan_ip:22 but as I need more than one host to be accessible, I tried to setup the forwarding to wan_ip:other port
    and it does not work

    would there be any reason why ssh forwarding would be only authorized on port 22 ?

    thanks

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Jul 20, 2016, 3:15 PM

      no clearly your doing something wrong.

      Are you trying to do wan:2222 to lan:22 or wan:2222 to lan:2222 ?  If second option then you clearly have to make sure you change the lan side box to accept ssh on other than 22.

      Did you go through the port forward troubleshooting guide?
      https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

      What port did you pick other than 22, maybe your isp is blocking it?  Maybe there is nat in front of pfsense and you different forward this other port.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • P
        phil123456
        last edited by Jul 28, 2016, 7:45 AM

        yeah I think they only allow outgoing port 22 on my pc here, so I requested to open the other ports
        we'll see

        thanks anyways, If it is not solved that way, I'll come back :-)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received