+ Post New Thread
Results 1 to 10 of 10
Internet Related/Filtering/Firewall Thread, Is there a solution to this network problem? in Technical; Is it possible to access SSH/FTP through port tunnelling or proxy or something? I'm not exactly sure what i'm asking ...
  1. #1

    Join Date
    May 2010
    Location
    UK
    Posts
    60
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    12

    Is there a solution to this network problem?

    Is it possible to access SSH/FTP through port tunnelling or proxy or something?

    I'm not exactly sure what i'm asking for but the problem i'm facing is: i want to access my home NAS (linux) box from work. However my works proxy is pretty much locked down i can't ftp, ssh, ftps.. everything is pretty much blocked.

    I can WebDAV into the box, as expected as this is port 80.. so is there any way i can access ssh/ftp over port 80? Obviously i can't listen on port 80 since it's already in use but i can change the ports to anything else not in use.

    WebDAV would be suitable but since it treats all files like http requests it's hard to do web development from the box, if there is an error in the PHP file. then opening the file will just display the error, rather than the code. It's the same with .htaccess files and such, they are blocked from direct http access.

    I'm not sure if either solution would be possible:
    - Make WebDAV work like FTP... may be some apache configs or something?
    - Port tunnelling or some sort of service to allow access to FTP/SSH over a proxy?

  2. #2


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,462
    Thank Post
    866
    Thanked 845 Times in 667 Posts
    Rep Power
    195
    OpenVPN tunnel over 443 -> world = oyster?
    NAS box may be able to run openvpn.
    Having said that, your proxy may block those sorts of non-web connections.

    Best way: ask whoever looks after your firewall systems to open 22 for you? Perhaps after auth?

  3. #3

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    As tom says, ask your local firewall admin and also check if your firewall lets VPN traffic though. Most corporate ones will for obvious reasons. If so, then just setup a VPN server at home and use that.

    Alternatively have SSHd listen on an unblocked TCP port (such as 80, 8080, 23, 25, 53, etc) at home, you can then tunnel anything over the SSH connection as if you were sat on your home network.

    If there are no open ports, then you will have to use and abuse your local HTTP proxy with corkscew.

    http://www.agroman.net/corkscrew/

    The connection will have high latency, but it will work.

    As for your WebDAV question, typically the issue is resolved by having a directory alias pointing to your PHP files that has NoExec set.
    Last edited by Geoff; 6th June 2012 at 02:32 PM.

  4. #4

    Join Date
    May 2010
    Location
    UK
    Posts
    60
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    12
    I have OpenVPN built into the NAS but it's restricted to certain ports as main ports are used for other services 80 http, 443 https etc... and then obviously i can't connect on the other ports because they are blocked.

    So is my only option here corkscrew?

  5. #5


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by Uplift View Post
    I have OpenVPN built into the NAS but it's restricted to certain ports as main ports are used for other services 80 http, 443 https etc... and then obviously i can't connect on the other ports because they are blocked.

    So is my only option here corkscrew?
    perhaps you could do port address translation on your home router and map 443 ->vpn on your NAS ?

  6. #6

    Join Date
    May 2010
    Location
    UK
    Posts
    60
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    12
    I dont think it's possible with Virgin Media Superhub.

  7. #7
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,349
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    Using PuTTY to create an SSH tunnel

    Any good? I haven't tried it myself as I was looking for something else but I remembered I had seen it a while back!

  8. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Quote Originally Posted by Uplift View Post
    I dont think it's possible with Virgin Media Superhub.
    Ugh, put it in modem mode and buy a real router.

  9. #9
    grant_girdwood's Avatar
    Join Date
    Jun 2012
    Location
    Bloxx HQ
    Posts
    54
    Thank Post
    2
    Thanked 11 Times in 10 Posts
    Rep Power
    6
    Quote Originally Posted by Uplift View Post
    I dont think it's possible with Virgin Media Superhub.
    It is;

    1) logon to the superhub
    2) click advanced settings
    3) port forwarding


  10. #10

    Join Date
    May 2010
    Location
    UK
    Posts
    60
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    12
    Thanks for the help guys i'll check it out. The dd-wrt routers look interesting.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 2
    Last Post: 3rd March 2009, 11:37 AM
  2. Replies: 14
    Last Post: 11th March 2008, 01:54 PM
  3. Is there a way to see who is using SIMS?
    By sidewinder in forum MIS Systems
    Replies: 15
    Last Post: 14th November 2007, 10:23 AM
  4. Replies: 4
    Last Post: 22nd July 2007, 04:31 PM
  5. Veritas backup solution to mapped network drive
    By Crackcode in forum How do you do....it?
    Replies: 0
    Last Post: 21st April 2007, 10:03 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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