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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Redirecting communication to a server over a tunnel?

  • 27-08-2012 2:12pm
    #1
    Registered Users, Registered Users 2 Posts: 640 ✭✭✭


    Hi all,

    At my work all main ports are blocked, both incoming and outgoing.
    I have a fat client windows program that communicates to its server on port 9999, but this port is blocked. I am able to create a secure tunnel over SSH to my home server and for instance redirect my HTTP traffic.

    But is there a way I can route the traffic for port 9999 for a specific IP address over the tunnel?

    Presumeably the windows application internally will do a DNS lookup to retrieve the current IP address of the server i.e. the ip address of the server is not hard coded.

    Will creating a tunnel for port 9999 and adding the DNS name as 127.0.0.1 in the hosts file work? Or should I just redirect all 9999 traffic (not a problem now I come to think about it)

    In short: how do I redirect traffic for address [url]www.servername.com:9999[/url] to my SSH tunnel?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 2,789 ✭✭✭wandererz




  • Registered Users, Registered Users 2 Posts: 640 ✭✭✭Wcool


    I use SSH already for instance to route VNC. But I think I now know what I do wrong. The proxy that I use is Polipo which is a web proxy, not a universal proxy. I need to setup another proxy program on my home server.


  • Registered Users, Registered Users 2 Posts: 2,789 ✭✭✭wandererz


    aha, i think i see the problem now.

    The destination server is not on your home network. Yet you want to tunnel via your home network to the far end server?


  • Registered Users, Registered Users 2 Posts: 640 ✭✭✭Wcool


    Yes that is it. I think it might not work altogether, how do I convince the client to look for data over the tunnel instead of going direct to the internet.

    if i change the host entry to 127.0.0.1 for the ip that it is looking for, it won't know the server at the end of the tunnel?


Advertisement