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

    Magic to make port 55555 respond from port 22

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 391 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.
    • H
      Hellfish
      last edited by

      Hello,

      Unsure in which subforum to put this question, or even how to formulate the topic..

      Anyhow, I'm hosting a sftp file server accessible from the outside, but its accessible only through my VPN provider for privacy and security. The VPN provider can only open a very nonstandard port (between port 40.000 and 65k).
      This IP/port is NAT'ed and forwarded to the appropriate host/port. It works great.

      Problem is when connecting, you have to specify this high port, which is blocked from my office, i need it to be accessible from standard port 22 - which I cannot do if i want to remain anonymous via the VPN.

      The problem would be resolved if it was possible to specify port numbers in public DNS records, but now its not..

      Can anyone think of some solution which achieves all the goals here?

      I do own a few domain names to be able to play with forwards and public DNS records and so forth

      Thank you

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        ?? how would dns solve an issue that your employer has blocked a certain portrange ?

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          If your service listen on X, and X is blocked - dns has zero to do with that..

          Either listen on Y which is not blocked, or get X unblocked at the company.

          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
          • H
            Hellfish
            last edited by

            I was thinking maybe there was some online service which transparently PAT'ed traffic or something

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