Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Need a tunnel to pfsense

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 2 Posters 624 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.
    • A Offline
      arnoldg
      last edited by

      Hello,

      i'm trying to setup a ssh tunnel to my pfsense box.

      i have made one firewall rulle on the wan side, source all, destination SSH port.

      but when i try to connect with ssh to my pfsense box on the wan interface, i couldn't connect to the box.
      And i don't know what is going wrong.

      please need some help.

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

        pass tcp source any any dest wan address port 22

        Make sure ssh is enabled on port 22.

        then test from outside.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/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
        • A Offline
          arnoldg
          last edited by

          From lan ik canon connect with ssh. From wan i cant connect.
          Do i need to make a forward from wan to lan

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

            No.  Post your rules.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/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
            • A Offline
              arnoldg
              last edited by

              I don't know why but suddenly it all works.
              so this problem is solved

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