Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

SSH Tunneling

Options
  • 23-12-2009 5:30pm
    #1
    Registered Users Posts: 4,278 ✭✭✭


    Does anyone know how to connect to a remote server through a ssh tunnel in windows and browse through it.

    I keep hitting a brick wall here. I'm connecting using putty by creating a dynamic tunnel with a random port number and a local tunnel using the remote server address.

    It connects fine and I login. Then I go into firefox settings and enter localhost and port number in the SOCKS field.

    I can browse fine then but when I try to access the internal site I realise that i'm not browsing through a tunnel at all
    Tagged:


Comments

  • Registered Users Posts: 16,288 ✭✭✭✭ntlbell


    Your post is a bit confusing.

    you just need one dynamic rule

    so source e.g. 8080

    localhost

    Auto/dynamic

    localhost 8080 socks

    go to http://www.whatismyip.com/ and make sure it see's you as the remote server.


  • Registered Users Posts: 4,278 ✭✭✭x43r0


    Ok thats strange. The tunnel works and the ip confirms it but I still can't access the internal pages. I am redirected to an 'openDNS' page


  • Registered Users Posts: 16,288 ✭✭✭✭ntlbell


    x43r0 wrote: »
    Ok thats strange. The tunnel works and the ip confirms it but I still can't access the internal pages. I am redirected to an 'openDNS' page

    What do you mean internal pages?

    if your forcing your http requests outside; the box on the other side won't know what you're looking for.


  • Registered Users Posts: 4,278 ✭✭✭x43r0


    ntlbell wrote: »
    What do you mean internal pages?

    I'm trying to access my exam results which are hosted on a server in my department. Its a moodle page which is only accessible from the college network
    ntlbell wrote: »
    if your forcing your http requests outside; the box on the other side won't know what you're looking for.

    I'm not sure what you mean here


  • Registered Users Posts: 16,288 ✭✭✭✭ntlbell


    x43r0 wrote: »
    I'm trying to access my exam results which are hosted on a server in my department. Its a moodle page which is only accessible from the college network



    I'm not sure what you mean here

    but can the internal server be accessed by the remote box?

    if you tell firefox to go to a remote box to pull the http request, the remote box cann't give you something it knows nothing about.

    so for example

    if you login to that remote server and open up a text based broswer links or something

    can it access the server your exam results are on?


  • Advertisement
  • Registered Users Posts: 1,064 ✭✭✭Snowbat


    By default, your Firefox will still do DNS lookups locally. If the target site is only resolvable at the remote end, you'll need to enable network.proxy.socks_remote_dns in about:config

    See Configure Firefox to use the Tunnel also for DNS
    http://wiki.freaks-unidos.net/weblogs/azul/firefox-ssh-tunnel


  • Registered Users Posts: 4,278 ✭✭✭x43r0


    Ya the remote box can see the server, i just pinged it there no prob.

    A few lads in my class have done it fine but with mac/linux


  • Registered Users Posts: 16,288 ✭✭✭✭ntlbell


    Snowbat wrote: »
    By default, your Firefox will still do DNS lookups locally. If the target site is only resolvable at the remote end, you'll need to enable network.proxy.socks_remote_dns in about:config

    See Configure Firefox to use the Tunnel also for DNS
    http://wiki.freaks-unidos.net/weblogs/azul/firefox-ssh-tunnel

    Yep, this too.


  • Registered Users Posts: 4,278 ✭✭✭x43r0


    Snowbat wrote: »
    By default, your Firefox will still do DNS lookups locally. If the target site is only resolvable at the remote end, you'll need to enable network.proxy.socks_remote_dns in about:config

    See Configure Firefox to use the Tunnel also for DNS
    http://wiki.freaks-unidos.net/weblogs/azul/firefox-ssh-tunnel

    That worked a treat! Thanks a million! Hope I havn't failed now after all that :-/

    Hard to believe i'm picking up a computer science degree in a few months eh? :p


  • Registered Users Posts: 16,288 ✭✭✭✭ntlbell


    x43r0 wrote: »
    Hard to believe i'm picking up a computer science degree in a few months eh? :p

    the knowledge economy is in safe hands

    ;)


  • Advertisement
Advertisement