Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-24-2007, 12:36 PM   #1
Member (6 bit)
 
Join Date: Nov 2000
Posts: 44
Problems connecting Debian client to Debian ssh/proxy

I have a client PC that I am dual booting Winxp/Debian on. I have another PC (Also Debian) setup to run as a proxy server using ssh and privoxy. On the client PC in both Windows and Debian I am using putty to make my ssh connection. I can make the ssh connection without any problems in both operating systems. I have Firefox setup to connect to use the proxy server via 127.0.0.1/port 8118. While in Windows I can browse the internet fine but when I'm in Debian I get the following message:

The proxy server is refusing connections
Firefox is configured to use a proxy server that is refusing connections.
* Check the proxy settings to make sure that they are correct.
* Contact your network administrator to make sure the proxy server is
working.

There is no firewall running on the Debian client. I have been trying to figure out why this is happening but have had no luck. I even at one point had Ubuntu and Fedora installed as the client operating system, on the same machine, and got the same results, I can browse the internet in XP not so in while in Linux.

Any ideas? Is there some extra step that needs to be taken to get the Linux client to work?
sbailey12 is offline   Reply With Quote
Old 04-26-2007, 07:40 PM   #2
Member (7 bit)
 
Join Date: Mar 2007
Location: Cardiff, UK
Posts: 73
Send a message via MSN to rhysox
First of all, congratulations on using a linux distribution other than Ubuntu (i hate it!)

Secondly, 127.0.0.1 is a reference to 'localhost' i.e. the machine you're currently using.

Therefore, if you're using a different machine, it won't try and connect to the proxy, it will route straight to your machine, try and connect to port 8118, and obviously reject it!

Find out the IP of your linux server, and change the proxy setup on firefox whilst on your client pc to the server IP address and add the port number.

Let me know
rhysox is offline   Reply With Quote
Old 05-01-2007, 12:55 PM   #3
Member (6 bit)
 
Join Date: Nov 2000
Posts: 44
That didn't seem to work. I'm basically trying to do the following: http://www.hackaday.com/2005/08/31/h...p-proxy-setup/

It's just a matter of setting up the host PC to run as a SSH server running Privoxy.

On the client PC, using Putty to make the connection to the server, tunnel the SSH traffic to 127.0.0.1 port 8118.

As I said before this setup does works fine while in XP (even pointing Firefox to 127.0.0.1 port 8118), but not when I'm in Debian.
sbailey12 is offline   Reply With Quote
Old 05-04-2007, 10:31 AM   #4
Member (7 bit)
 
Join Date: Mar 2007
Location: Cardiff, UK
Posts: 73
Send a message via MSN to rhysox
That's got to be because you haven't created the tunnel on the debian box, 8118 will not be open on 127.0.0.1 on the debian machine unless you specify it to be.
rhysox is offline   Reply With Quote
Old 05-04-2007, 11:51 AM   #5
Member (6 bit)
 
Join Date: Nov 2000
Posts: 44
OK, I got it to work. I had to scrap using Putty, for whatever reason the tunnel setup was not working with it. I switched to gstm (gnome ssh tunnel manager), setup my ssh/tunnel settings in it, made my connection and I'm now good to go.
sbailey12 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal Services Advanced Client Problems with Router noblethrasher Windows Legacy Support (XP and earlier) 0 12-11-2001 08:51 PM
Client Problems sdkramer Networking & Online Security 2 09-04-2001 05:04 AM
RC5 Client Connectivity problems Floppyman Linux OS and Software Assistance 8 07-12-2001 04:24 PM
Problems Connecting 2 Computers macdee Windows Legacy Support (XP and earlier) 3 05-30-2001 09:30 PM
Problems connecting home to work Judge Networking & Online Security 1 09-17-2000 12:40 AM


All times are GMT -5. The time now is 05:32 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0