General :: Get Internet Access Via Firefox On MachineB By Creating A Series Of SOCKS Proxy Via SSH?

Apr 8, 2010

I've been doing some security testing in a lab environment that does not have direct internet access. From home to connect to my lab machine, I

1. SSH to machineA.
2. SSH from machineA to machineB

where machineB is my actual lab machine. neither machineA or machineB allow anything other than SSH, and machineB is only accessible from machineA. However, I really need to run yum on machineB.I have managed to get internet access via Firefox on machineB by creating a series of SOCKS proxy via SSH.

1. machineB: ssh -L 12345:localhost:12345 user@machineA
2. machineA: ssh -D 12345 user@machineC
3. machineB: configure firefox to use socks proxy, localhost, 12345

where machineC has internet without limits placed. This is the only way I have managed to get internet working. I tried using ssh -L all the way from machineB->machineA->machineC but it didn't work (even when setting Firefox to use http proxy). I tried using ssh -D all the way, but again that doesn't work either. I do have access via Firefox using socks proxy. However, yum update fails to retrieve mirror list, and from what I have found I don't believe yum supports socks proxy directly. Instead, it uses http_proxy / ftp_proxy.how to get yum to go out over the SOCKS proxy I created (same one using in Firefox)? It seems like since Firefox can access the internet and everything without issues, i should be able to get yum to tunnel through the same connection to access everything.... I tried

>export http_proxy="http://localhost:12345"
(yum.conf) proxy="http://localhost:12345"

View 8 Replies


ADVERTISEMENT

General :: Secure Firefox Traffic (+DNS) Through SOCKS Proxy Under Ubuntu 10.04?

Jun 25, 2010

I'm using Ubuntu 10.04, and starting a SOCKS proxy with 'ssh -D', and setting Ubuntu to use it with "System -> Preferences -> Network Proxy". Firefox uses the proxy, and the proxy's IP appears when I visit a site like [URL]. is Firefox resolving DNS requests through this proxy? Is my web-browsing truly secure? (That is, until I exit the other end of the proxy.

I know it's insecure after that.) (And I've verified the keys, I'm not being man-in-the-middled) (And--screw it. You know what I mean. Is it resolving DNS requests through the proxy?)I don't know how I would go about verifying such a thing for myself.Using additional hardware such as another debugging proxy is not an option. If Firefox isn't resolving my DNS requests through the SOCKS proxy, how do I go about fixing it?

View 3 Replies View Related

General :: Access Remote Mysql Server Through Socks Proxy Server?

Aug 25, 2010

Scenario:A - Local Unix machineB - socks proxy server port 1080C - remote mysql server port 3306I want to connect to the remote mysql server(C) from local unix machine(A) using sock proxy(B).

View 1 Replies View Related

Ubuntu :: Forward All Requests Through The SOCKS Proxy Before Sending It To The Internet?

Sep 1, 2011

I am making a content filter for a school. I have a computer with Ubuntu Server and the SOCKS proxy, a DD-WRT router, and a switch. how I could forward all requests through the SOCKS proxy before sending it to the Internet.

View 1 Replies View Related

Ubuntu Security :: Establishing A SOCKS Proxy Connection At An Internet Cafe

Aug 7, 2011

I've got my netbook set up so that I can run a SOCKS proxy via my desktop machine. This works fine at home, but I'm wondering what happens at an internet cafe with public wifi.

Specifically, the connection needs initially to be set up with an ordinary direct internet connection so that I can log in to the cafe's router. I'm concerned that when I then set the network proxy to SOCKS host, the router will cease to recognise me and will disconnect me. This particular detail doesn't seem to have been covered in any instructions that I've seen (maybe I haven't looked hard enough).

View 5 Replies View Related

General :: Convert HTTP Proxy To SOCKS Proxy?

Feb 27, 2010

I've been doing some security testing in a lab environment that does not have direct internet access. It's actually a little complicated: From home to connect to my lab machine, I

1. SSH to machineA.
2. SSH from machineA to machineB

where machineB is my actual lab machine. neither machineA or machineB allow anything other than SSH, and machineB is only accessible from machineA. However, I really need to run yum on machineB. I have managed to get internet access via Firefox on machineB by creating a series of SOCKS proxy via SSH.

1. machineB: ssh -L 12345:localhost:12345 user@machineA
2. machineA: ssh -D 12345 user@machineC
3. machineB: configure firefox to use socks proxy, localhost, 12345

where machineC has internet without limits placed. This is the only way I have managed to get internet working. I tried using ssh -L all the way from machineB->machineA->machineC but it didn't work (even when setting Firefox to use http proxy). I tried using ssh -D all the way, but again that doesn't work either.

I do have access via Firefox using socks proxy. However, yum update fails to retrieve mirror list, and from what I have found I don't believe yum supports socks proxy directly. Instead, it uses http_proxy / ftp_proxy. how to get yum to go out over the SOCKS proxy I created (same one using in Firefox)? It seems like since Firefox can access the internet and everything without issues, i should be able to get yum to tunnel through the same connection to access everything.... I tried

[URL]

View 1 Replies View Related

General :: Share A Socks Proxy On LAN?

Jul 6, 2010

I have socks proxy running on port 1080. I want other people on LAN to use this proxy. How can I do that?

One way is that the client can run this command and then use proxy 127.0.0.1:1080 on his computer:

ssh -L 1080:127.0.0.1:1080 myusername@myipaddress

But, I dont want to use ssh because that requires me to give my password to others.

View 2 Replies View Related

General :: How To Sftp Using A SOCKS V5 Proxy

Feb 17, 2010

what is the command to sftp from one linux host to another linux host through a SOCKS v5 that requires authentication? I have tried:

Code:

# sftp -o "ProxyCommand netcat -X socks_proxy_host:1080 %h %p" external-server

I know this does not have auth in it but I was going to come to that later

output
Code:
Connecting to external-server...
netcat: invalid option -- 'X'

[code].....

View 7 Replies View Related

General :: Check If A Socks 5 Proxy Works?

Jun 28, 2011

Is there an easy way, preferably by using the linux terminal, to check if a socks 5 proxy works?

View 1 Replies View Related

General :: Dynamic SOCKS Proxy Using PuTTY?

Apr 22, 2010

I have a problem with dynamic socks:

My VPS having this output of /sbin/ifconfig:

Code:

eth0 Link encap:Ethernet HWaddr 00:19:B9:B6:D2:3D
inet addr:x.y.114.13 Bcast:x.y.114.255 Mask:255.255.255.0
inet6 addr: abcd::xyz:fghj:ffgh:d23d/64 Scope:Link

[code]....

How can i use [x.y.101.1-3] address as proxy with putty?

View 1 Replies View Related

General :: Error In Squid Proxy Access - Internet Explorer Cannot Display The Webpage

May 31, 2011

I am using Squid Server from last 5years. There is a site "http://www.firstflight.net", which was accessible before few days but now I am unable to access this site. If I use IE8 then getting below error:

"Internet Explorer cannot display the webpage"

Or using Google chrome getting error:

"This webpage is not available The webpage at http://www.firstflight.net/ might be temporarily down or it may have moved permanently to a new web address. Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error."

But other sites are working fine..

View 3 Replies View Related

Ubuntu :: How To Install SOCKS Proxy

Jan 18, 2010

How can I install SOCKS proxy?

View 2 Replies View Related

Ubuntu :: Tor Be Configured As A Socks Proxy?

May 8, 2010

Just a general question.

Can Tor be configured as a socks proxy? Would it change the IP even if the user was loading a java applet?

View 1 Replies View Related

Networking :: Any Way Can Get It Tunneling Over Socks Proxy?

Feb 24, 2010

I have been ssh tunneling, which works great.I can browse the internet by simply tunneling my traffic through my SSH server.the following command: ssh -ND 9999 username at myserver.i cant postlinks.is all I have type, and I can connect to a SOCKS proxy server on localhost:9999.My problem is that I have an application that only supports HTTP proxies.Is there any way I can get it tunneling over the socks proxy?

View 4 Replies View Related

Red Hat / Fedora :: Generating Own Socks 5 Proxy?

May 8, 2009

I want to generate my own socks 5 proxy not for lan but for my use on internet I want to access that proxy from any pc and any connection. Like proxy supplied by atomintersoft.com or xroxy.com i want to create my own 300 socks 5 proxy. I can have dedicated server if required to do so.

1)tell me steps to create my own socks5 proxy.What are general system requirement.

2)Which Distro will be best for this purpose.I am new here and dont have idea about linux but can grasp everything faster than u!

View 1 Replies View Related

General :: Cannot Access Internet And Cannot Download Firefox 3.6.12 ?

Dec 15, 2010

I have an acer aspire one notebook (I gather firefox 2 is interwoven on the system?). Anyway, keep pressing firefox icon and it churns over put nothing happens. I found the following advice on another site: (Sorry this is so long, but I wanted to give you as much info for you to help me)

Press Alt+F2 to show the Run program window. Check Run in terminal, leave the input field blank, and click Run to open a terminal. If you're not familiar with the Linux command line just follow the instructions step by step. The easiest way is to simply paste the commands into the terminal with Ctrl+Shift+V. Most of them will only give feedback if an error occurs.

The first command uses wget to download Firefox 3.6 from an official mirror. You can edit the lang variable at the end, in this case en-US, if you'd like another language. All available languages are listed here, just hover over the download link to get the language code from the status bar.

wget -N [url]

The next step extracts the just downloaded file and modifies a link to point to it. In a few cases a connection refused error message may be triggered by sudo, which is not an error but a bug in sudo and can be safely ignored.

The next step links all plug-ins (not to be confused with extensions) to it.

Launch the profile manager using the command below. Create a new profile, name it anything you like and select it. If you want to keep your bookmarks export them via the bookmark manager first. You can then delete the old default profile.

firefox -profilemanager -no-remote

As a bonus you can also change the icon to the official Firefox icon.

Finally reboot the AA1 to make the desktop aware of the new icon and browser location.

However when I try the above I get the following responses at each point:

I do now have a new icon on the desktop! but still no internet.

View 4 Replies View Related

General :: Firefox Cannot Access INTERNET From FEDORA11

Sep 6, 2009

I have just upgraded my system from fedora9 to fedora11.IN 9 i didnt hav any problem in accessing internet from firefox.but here in fedora11 firefox is not working .firefox cannot establish a connection to the server.i have tried to fix the problem by disabling firewall and proxy.but still im having the same problem..

View 8 Replies View Related

Fedora Networking :: Configuring Yum To Use The Socks Proxy?

Jul 22, 2010

I have an internet connection through socks4 proxy form a server nearby to my laptop(fedora 12) i need to update and install sofwares. How to configure yum to use the socks proxy?

View 2 Replies View Related

Ubuntu Servers :: Controlling A Socks Proxy?

Feb 27, 2011

I have my desktop set up as a SOCKS proxy, and not only me uses it, some friends do too.What I would like to know is how to check every now and again what they are using it for... for example the agreement we have is that they only use it to watch BBC iplayer and 4OD etc while they are abroad. What I dont want is them to pointlessly use it for other browsing.I trust my friends wont, but is there also a way of checking they arent using my connection to download illegal torrents?I guess best case scenrio would be to be able to whitelist only a few sites per user request. Is this possible?

View 1 Replies View Related

Networking :: IPTables - Using SSH As Proxy / Socks Server

May 4, 2010

I'd like to use ssh as a proxy/socks server and redirect all connections through this proxy.
It would look like : ssh -D 123 -N host
iptables ...
I've never used iptables before and I did not manage to find any useful for this particular case solutions on the internet.
So, what's the good way to do that ?

View 1 Replies View Related

Networking :: Socks 5 To Bypass Proxy Settings?

Oct 7, 2010

An application that supports SOCKS 5 protocol can forward its network connection over ssh and dynamically forward to any host name that you specify isn't it ? that means firebox web browser can use SOCKS 5 protocol can be used by pass proxy settings isn't it ? so how can a sys admin remotely detect if a particular user is bypassing proxy settings using SOCKS 5 protocol ?

View 1 Replies View Related

Networking :: Using Socks Proxy With Torrent Client

Jan 20, 2011

How can I use a torrent client in a network where bittorrent or any thing like this is blocked. I am aware of a combination of socks proxy with torrent client but not exactly sure if this is the thing I need.

View 2 Replies View Related

Software :: Firefox Not To Use A Proxy - Cannot Connect To The Internet

Apr 14, 2011

I run Fedora 14. I use Firefox. Because I live in China, I have a VPN service from [URL] Their software has configured Firefox to use a proxy. I do not start Astrill on boot. If I start Firefox first, I cannot connect to the internet. how to tell Firefox not to use a proxy? Today, Astrill was down or unavailable or whatever, and I could not reach the internet. I have looked in Edit-Preferences but I cannot see a tab 'configure proxy'

View 5 Replies View Related

Debian Configuration :: Redirecting Traffic Through SOCKS Proxy?

Aug 11, 2010

I would like to redirect traffic coming from a machine A through a SOCKS proxy (setted on machine B)Machine B run "ssh -D 4242". So that create a SOCKS proxy on machine B.Machine A would like to connect on the internet, but the only way is to use machine B SOCKS proxy. The problem is machine A don't know how to use SOCKS Proxy. (Actually, i can just set ip, netmask and gateway on machine A).So, I would like to set up something on machine B that will redirect all traffic coming from machine A throught the SOCKS proxy.

View 1 Replies View Related

Ubuntu Networking :: Share A SSH Tunnelled SOCKS Proxy?

Feb 6, 2011

I've opened an SSH Tunnel/SOCKS proxy on my Ubuntu server, which I've tested is working exactly as I had intended. However I'd like to access it from my Windows PC which is on the same home network.

Edit : I should say that I got it working on the server only by

Code:

ssh -D 55555 user@host

However if I tried it with a port, e.g.

Code:

ssh -D 192.168.1.101:55555 user@host

then it doesn't work, not even on the server itself. 192.168.1.101 is the static assigned DNS of my server on the home network.

View 1 Replies View Related

Networking :: Use SOCKS Proxy Running On A Remote Machine?

Jun 21, 2010

How can I use socks proxy which is on a remote machine?

Machine A: Running a socks5 proxy on port 1080..

Machine B: Wants to use socks proxy of Machine A..

How can I do that? I have access to both the machines..

View 2 Replies View Related

Server :: Can't Access Squid Proxy From Firefox Browser

Oct 18, 2010

I have Fedora Core 13 running. I have successfully (I think) installed squid, although I may have it configured incorrectly. I can ssh into the box from work via putty, but I can't use the proxy. I get a message "the connection to the server was reset while the page was loading" I can use the proxy from my home network, and have watched the tcpdump for port 3128 while using the proxy. I have turned off iptables completely (I'm not sure yet how to just allow squid)...

View 3 Replies View Related

Ubuntu Networking :: FreeSSHd - Using Windows PC As Socks Proxy Server

Aug 5, 2010

I downloaded freeSSHd [URL] on my Windows XP SP3 PC and configured the firewall to allow port 22. My grander scheme is to use this Windows PC as a SOCKS proxy server, that I can connect to at school to circumvent internet filtering and keep my data private. Does anyone know of a way that I could somehow get every internet-connected-program/service (chats, email, browsers, etc) to use this encrypted connection without having to configure every program individually? I think this link is on to something, but I'm not certain what he's getting at [URL].

View 1 Replies View Related

Ubuntu Networking :: Squid Proxy With SOCKS And Ssh - Speed Up The Connection

Jun 16, 2011

I use ssh to port forward my browser(firefox) using SOCKS to a "server"(ubuntu desktop with ssh ) I have in the UK, to watch iplayer etc wen traveling... I forward port 1024 (default port for SOCKS? **mite b untrue..). the "server" is running ubuntu 11.04.

could i set up a transparent proxy(squid) on the "server" in the hope tht it speeds up the connection etc... my thot was get squid to listen on port 1024, or set up the ssh port forwarding to the squid port... would tht work? is the a better/different way to do it? the issue is tht sometimes the ssh connection can b slow at times

View 1 Replies View Related

Server :: Internet Access Via Squid Proxy

Apr 28, 2010

Centos 5.4 distro using on remote machine. I have remote site where internet access given via squid proxy. So when we enter in browser it start working internet fine. But on command line (bash shell prompt terminal) like wget, ping, nslookup, traceroute etc., these commands does not work.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved