Results 1 to 4 of 4

Thread: SSH from restricted network

  1. #1
    Join Date
    Mar 2008
    Beans
    11

    Question SSH from restricted network

    I want to be able to ssh into my server from wherever I might be.
    For example my school blocks ports 22 and 2222.

    I found few solutions, but nothing nice and clean.

    1. Set ssh server to use port 443.
      Easy and fast. I don't even use https on my server, so right now it wouldn't be inconvenient.

    2. Web ssh like consoleFISH.
      I wouldn't want to rely on other services and it's also a security issue.

    3. Install my on web ssh (ajaxterm, anyterm).
      These also seems kinda easy.

    4. Tunneling SSH over HTTP(S))
      This seems overkill, but would porbably otherwise be the best solution.


    What do you think? Do you have any other ideas?

  2. #2
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: SSH from restricted network

    You could also do reverse tunneling since I'm betting your school doesn't except outbound ports but only inbound ports.

  3. #3
    Join Date
    Mar 2008
    Beans
    11

    Re: SSH from restricted network

    My school actually seems to block outgoing port 22. At least I haven't been able to connect to my server from the schools network, even though it works from elsewhere.

    My server is on a public ip restricted only by NAT controlled by me.

  4. #4
    Join Date
    Mar 2008
    Beans
    11

    Re: SSH from restricted network

    Oops. They were only blocking 2222, not 22. So now it works after i set the router to forward port 22 (not 2222) to my server.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •