LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-22-2011, 06:10 AM   #1
cryingthug
Member
 
Registered: Jun 2009
Posts: 131

Rep: Reputation: 18
SSH Tunnel


I am running this command to connect to my router back at home.

Code:
ssh -p 22 -N -L 2222:192.168.1.99:443 cryingthug@23.131.42.96
I have configured firefox manual proxy for:

SOCKS Host: localhost

Port: 2222

Now I am able to connect to my router and even log into it successfully, but I am not able to get to any websites. Why is that?

I have firefox 3.5.16

What have I done wrong?
 
Old 08-22-2011, 07:09 AM   #2
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
just a simple ssh cryingthug@23.xxx.xx.xx should work

by the way, I hope you have a strong password putting your username and ip out there for all the world to see.
 
Old 08-22-2011, 08:33 AM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
To use an SSH server as a (socks) proxy with Firefox pointing to localhost, I typically use the following with key based authentication
Code:
ssh -CND 9999 <user>@<domain>
If it works, you won't see anything in your SSH terminal window, but you should be browsing using your home as the IP address. You can also use the about:config in Firefox and use your remote host for the DNS instead of your local connection point DNS (hint: search for dns in the about:config).

Edit, you are using port 2222, where I normally use 9999
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH tunnel over SSH tunnel vockleya Linux - Networking 6 01-22-2010 06:25 PM
setting up an ssh soxy or local ssh tunnel from within an ssh soxy Mangenius Linux - Networking 0 03-05-2007 03:15 PM
ssh tunnel TroelsSmit Linux - Software 2 04-30-2004 03:30 PM
SSH tunnel? tarballedtux Linux - Networking 3 04-09-2002 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration