Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

Thread: HowTo: SSH Tunnel Firefox

  1. #21
    Join Date
    Apr 2008
    Beans
    63
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: HowTo: SSH Tunnel Firefox

    Lots of good ideas here, but I'm a bit confused. Here's what I want to do.

    I'm running Hardy on my home PC, which is on 24/7. I want this computer to act as my secure proxy so I can keep my traffic private while at work (Windows XP PC) or on the road with my wife's laptop (also Windows).

    What goes on my Ubuntu PC to make this happen? Also, how do I keep track of my IP address, which is dynamic and can change without warning?

  2. #22
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: HowTo: SSH Tunnel Firefox

    The only thing that needs to go on the server is the ssh daemon or server program. If your home IP address keeps changing, sign up for an account with noip.com or dyndns.com (others too), that assign you a free domain name that will be assigned to your IP address. Using their updater client, your ip address will be sent to their dns servers every 30 minutes and every boot to update your current ip address with your name. This way you never need to know your ip address. (noip.com has always worked well for me!!).

    On the client machine all you need is an ssh client. The rest of the changes are made in firefox, although I recommend the foxy proxy extension, since this tends to make the configuration within firefox easy.

  3. #23
    Join Date
    Mar 2008
    Location
    Rochester, NY
    Beans
    58
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Re: HowTo: SSH Tunnel Firefox

    I need to connect to the internet on my NetBook via a radically insecure college net. I setup freeSHHd on my home Vista box(I know!! it just won't work with Linux with the current crappy harddrive!)
    and forwarded the port 27 to outside port 27,
    and ran

    sudo ssh -D 9999 -p 27 -C rael@70.101.64.27

    on the NetBook,
    but it doesn't seem to work.

    I set Firefox up the way the how to listed. What am I doing wrong?

    PS: I'm _not_ a linux noob. CLI's are my friend.
    Last edited by Truefire; September 14th, 2008 at 07:13 PM.
    Visit my site at https://truefla.me/ or follow me on Twitter: @Truefire_

    My main machine is a HP DM4-1265dx laptop, though I do have a custom gaming/media desktop as well.

  4. #24
    Join Date
    Mar 2008
    Location
    Rochester, NY
    Beans
    58
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: SSH Tunnel Firefox

    Quote Originally Posted by Truefire View Post
    and forwarded the port 27 to outside port 27,
    EDIT: by this, I mean virtual server settings on the router.
    Visit my site at https://truefla.me/ or follow me on Twitter: @Truefire_

    My main machine is a HP DM4-1265dx laptop, though I do have a custom gaming/media desktop as well.

  5. #25
    Join Date
    Mar 2008
    Location
    Rochester, NY
    Beans
    58
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: SSH Tunnel Firefox

    Ok, I got it working when I use 192.. when on a local network. Before, even when on a local, but trying to connect to outside IP, it didn't work, but maybe that's because I was on the same Network.
    I'll figure that part out, I guess, by myself.
    ---->
    Now, my new problem.
    When I open firefox, the SSH session closes with the error:

    buffer_get_ret: trying to get more bytes 4 than in buffer 0
    buffer_get_int: buffer error

    Is this a setting on the server, only allowing a certain number of bytes?
    Or is it the client's issue? Can anyone give me a clue?
    Last edited by Truefire; September 14th, 2008 at 06:05 PM. Reason: typing error
    Visit my site at https://truefla.me/ or follow me on Twitter: @Truefire_

    My main machine is a HP DM4-1265dx laptop, though I do have a custom gaming/media desktop as well.

  6. #26
    Join Date
    Aug 2005
    Beans
    53

    Re: HowTo: SSH Tunnel Firefox

    Quote Originally Posted by Truefire View Post
    Now, my new problem.
    When I open firefox, the SSH session closes with the error:

    buffer_get_ret: trying to get more bytes 4 than in buffer 0
    buffer_get_int: buffer error
    Maybe it's the same problem as described here?

  7. #27
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: HowTo: SSH Tunnel Firefox

    I don't use dsa keys -- only rsa. Maybe try generating only rsa keys.

  8. #28
    Join Date
    Jan 2009
    Beans
    46

    Re: HowTo: SSH Tunnel Firefox

    how can i do this with dd-wrt running as the ssh server? would it use the same commands as described in the op? since my router is on all the time, i'd rather use that than having to wake up my power hungry pc.

  9. #29
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: HowTo: SSH Tunnel Firefox

    Within dd-wrt you need to turn on the ssh daemon. This is located the Main Services Tab, and then under the subtab labeled services.

    Scroll down and activate the ssh daemon under the Secure Shell section. Select the appropriate options, particularly the SSH TCP forwarding option. Just remember if you choose to use a password, the username is always going to be root.

  10. #30
    Join Date
    Oct 2006
    Beans
    42

    Re: HowTo: SSH Tunnel Firefox

    Quote Originally Posted by Darrena View Post
    Just a note, there is a great app in the Repo's to do this from a GUI call gSTM (Gnome SSH Tunnel Manager).
    Thank you very much for pointing this out! Now if only I can make it start AFTER Network Manager is done setting up a connection

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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