odd ports vs firewall: need a fix

Discussion in 'OT Technology' started by Mirlyn, Nov 4, 2004.

  1. Mirlyn

    Mirlyn Guest

    My webhost uses port 8443 for a Plesk control panel, but my firewall here at school blocks it.

    I have a linux box with a static IP. Can I set some kind of port-based proxy to tunnel requests to port 8443 using port 8080 (which is not blocked here)? I tried squid, but with failing degrees of success (kept pushing the client to go to 8443 (denied), instead of tunneling it).

    obligatory nifty diagrams:

    does not work:
    ........school.........
    ............| ...........
    .......internet........
    ............|............
    webhost (port 8443)

    wondering if this would work (tunneling |*|), and how to do it:
    ........school.........
    ..........|*|............
    .......internet........
    ..........|*|............
    linux box (port 8080?)
    ..........|*|............
    .......internet........
    ..........|*|............
    webhost (port 8443)


    Links would be nice, if you've seen this done before. I can't seem to find what I'm searching for.

    Thanks :)
     
  2. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    squid can do what you like. You can also use portmapper.
     
  3. Rob

    Rob OT Supporter

    Joined:
    Jul 6, 2002
    Messages:
    88,612
    Likes Received:
    36
    Location:
    Atlanta, GA
    In putty set a ssh tunnel.
    local port 8443, remote destination your.plesk.host:8443
    Login to your linux box
    fireup the web browser and go to http://127.0.0.1:8443
     
  4. Mirlyn

    Mirlyn Guest

    Awesome deal. Forgot all about putty being able to do that!

    Works great....Thank you muchly! :big grin:
     
  5. Rob

    Rob OT Supporter

    Joined:
    Jul 6, 2002
    Messages:
    88,612
    Likes Received:
    36
    Location:
    Atlanta, GA
  6. col_panic

    col_panic calm like a bomb Moderator

    Joined:
    Sep 19, 2003
    Messages:
    188,160
    Likes Received:
    0
    Location:
    winter haven, fl
    netcat, cryptcat
     

Share This Page