Bypass Firewall using SSH

Discussion in 'macOS' started by Avicenna, Jan 26, 2010.

  1. Avicenna macrumors member

    Joined:
    Jul 16, 2009
    #1
    Guys, how do you bypass firewall using SSH? Using terminal, i typed in "ssh username@ip" and it brings my command prompt from home. So I'm guessing I successfully SSHed, but what to do now?

    thanks !
     
  2. LPZ macrumors 65816

    Joined:
    Jul 11, 2006
    #2
    Well, what are you hoping/expecting to do? You've logged in remotely to the other machine. You can enter all sorts of shell/unix commands.

    What does a firewall have to do with this?
     
  3. Avicenna thread starter macrumors member

    Joined:
    Jul 16, 2009
    #3
    I want to port forward, so I can go to blocked websites(such as Youtube). Is it possible?
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    You're taking the wrong path for your problem. I'm leaving it at that as you should follow the rules of your internet provider, be it your school or your parents.
     
  5. Avicenna thread starter macrumors member

    Joined:
    Jul 16, 2009
    #5
    I didn't come here for moral advice. Thanks though.
     
  6. hakuryuu macrumors 6502

    Joined:
    Sep 30, 2007
    Location:
    Lomita, CA
  7. Avicenna thread starter macrumors member

    Joined:
    Jul 16, 2009
    #7
    lol, i actually made that my bg.

    but seriously, does anyone actually know how to do this? is it even possible on a mac?
     
  8. enberg macrumors regular

    Joined:
    Jan 13, 2010
    #8
    Code:
    ssh -D 8080 -f -C -q -N you@yoursshserver
    Then just make the local machine use 127.0.0.1:8080 as a SOCKS proxy.
     
  9. Avicenna thread starter macrumors member

    Joined:
    Jul 16, 2009
    #9
    thanks, but how exactly can i make the local machine use localhost:8080

    Nvm, got it. Thanks enberg and LPZ.
    For those wondering, its in Network -> Advanced, and SOCKS.
     

Share This Page