LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-02-2013, 11:20 PM   #1
totalnoob22
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
Angry Need Help configuring SSH -N -L, trying to configure ubuntu VM to connect to DSL (Damn small linuxVM


Sorry I am such an idiot. I hate to burden you all with my stupid question but:

I am trying to configure a ubuntu VM to connect to a DSL VM (which is acting as a firewall) which is connected to TOR so my ubuntu VM can access tor. I have configured firefox http and ssl proxies as such: 127.0.0.1, port 8118 and my socks proxy as 127.0.0.1 and port 9050. I chose 127.0.0.1 because it is going through this machine.

I am running oracle vm virtual box and have configured my ubuntu vm to go to internal network.

the commands i ran in my dsl (damn small linux) vm were

passwd
i chose a password

ifconfig eth1 10.0.3.1

done, i snapshotted this and run this when connecting second vm
I entered these commands in rootshells-transparent
I also started ssh, so don't worry


Ubuntu:
sudo bash
ifconfig eth0 10.0.3.2
ssh -N -L 9050:10.0.2.2:9050 root@10.0.3.1
it asked yes/no, i said yes then entered password, this connection seemed to work

(in another tab)
sudo bash
ssh -N -L 8118:10.0.2.2:8118 root@10.0.3.1

but I get

Channel 2: open failed: connect failed: connection timed out

this is when I go to check.torproject.org

what I am doing wrong?

cheers

sorry i am a noob

if you need more detail I can give it.

thanks again, totalnoob22

Last edited by totalnoob22; 01-02-2013 at 11:22 PM.
 
Old 01-06-2013, 06:10 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
I have configured firefox http and ssl proxies as such: 127.0.0.1, port 8118 and my socks proxy as 127.0.0.1 and port 9050. I chose 127.0.0.1 because it is going through this machine.
.. I'm not sure this is correctly configured - which machine did you configure firefox on and which machine is "this machine" ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configuring SSH on Ubuntu to connect to remote computer guitarman Linux - Networking 14 11-06-2012 07:07 AM
Using DSL and ssh / ssh-server to access the Windoze desktop GUI On2ndThought Linux - Server 4 11-16-2008 02:17 PM
My Ubuntu 7.04 new install won't connect to my DSL battlecry Linux - Networking 6 10-09-2007 05:03 PM
connect two pc's , dsl and ubuntu feisty firedancer DamnSmallLinux 6 09-25-2007 09:07 AM
Need help configuring my DSL Atero Linux - Networking 1 09-14-2003 11:19 AM


All times are GMT -5. The time now is 12:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration