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

SSH port forwarding

Scheduled Pinned Locked Moved Firewalling
6 Posts 3 Posters 4.1k 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
    parvell
    last edited by Mar 3, 2010, 1:22 PM

    Greetings
    I think this is a more port-forwarding issue than a SSH one.
    I got a Mac Server that accept SSH connection behind a pfsense firewall: all I need is to port forwarding firewall SSH access from port 6116 (external) to 22 (internal for server).
    I created a NAT and firewall rules to forward connection from port 6116 to 22 to my internal IP server, but do not work. Do I have to add some addon or enable SSH access?
    I don't need a SSH access to firewall, only a port forwarding for SSH, from port 6116 to 21 to my server.
    Eventually, OpenVPN can be a better solution to this issue, to have a secure encrypted connection? (I use this with a ssh tunnel for a VNC connection from my client to sever).
    Thx

    1 Reply Last reply Reply Quote 0
    • D
      danswartz
      last edited by Mar 3, 2010, 2:39 PM

      post the NAT rule and access rule pls.

      1 Reply Last reply Reply Quote 0
      • P
        parvell
        last edited by Mar 3, 2010, 3:04 PM

        here's the rules (NAT and port forwarding)

        rules.jpg_thumb
        rules.jpg

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Mar 3, 2010, 3:23 PM

          Remove the source port from the firewall rule - that is not needed and is likely the source of your problem, since it will fail to match almost any packet that comes in.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • D
            danswartz
            last edited by Mar 3, 2010, 3:42 PM

            Damn, beat me to it :)

            1 Reply Last reply Reply Quote 0
            • P
              parvell
              last edited by Mar 3, 2010, 7:22 PM

              It worked perfectly!!!!!!
              Thx a lot

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