Visit Our UNIX and Linux User Community


Can't connect through ssh socks proxy to certain sites


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Can't connect through ssh socks proxy to certain sites
# 1  
Old 03-26-2014
Can't connect through ssh socks proxy to certain sites

Hello, i setup an open socks proxy on my remote vps:

Code:
ssh -f -N -D 0.0.0.0:1080 localhost

and then allowed only connections from IP of my home computer

Code:
iptables -A INPUT --src myhomeip -p tcp --dport 1080 -j ACCEPT
iptables -A INPUT -p tcp --dport 1080 -j REJECT

but it appears that im failing to connect at least 2 swebsites,

one is

site:8888 (this is my server, hosts.deny dont contain my ip)

and second one

site:2087

these are web control panels

can i anyhow veriffy what is happenning on my vps logs? which log file? (i have RHEL)
# 2  
Old 04-01-2014
Did you proxy your DNS requests? Use SSH to Create an HTTP Proxy | Linux Journal
# 3  
Old 04-02-2014
Im not sure how i can do it? Im n Windows OS, and Chrome browser. What i did is changed Internet Explorer proxy settings, so most of connections goes thru my socks proxy.

But as i said at least 2 websites of mine fails to load when done thru proxy.. others are OK. (and i veriffied im connecting via proxy on Google CHrome browser by My IP Address - Shows IPv4 & IPv6 | Blacklist IP Check - Hosting Info) Smilie
# 4  
Old 04-04-2014
Maybe Chrome does not think :high_port is web and skips the proxy, or the web control panels are trying to connect back and are not being proxied for some reason. It is tough to say without a tracing tool on the ssh. The Chrome config for proxy or dns does not address proxy dns.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #459
Difficulty: Medium
NTP uses an epoch of January 1, 1970.
True or False?

6 More Discussions You Might Find Interesting

1. Proxy Server

Httpd proxy on AIX: failed to connect SSL

Hi, I am trying to migrate a quite old proxy server with Apache httpd, running on AIX The scenario is that my server accepts connections on http and proxies them to an SSL backend. This is done in a ProxyPass statement, as follows: ProxyPass /myservice/my-ws... (1 Reply)
Discussion started by: trifo75
1 Replies

2. UNIX for Advanced & Expert Users

SOCKS proxy & PAM configuration exposure

I've got a problem with a proxy configuration. We have an LDAP group that lists all users who are authorised to use the proxy to FTP (usually Filezilla) out to the world, and by implication those not in the group should be denied. My users are delighted that this has been enabled and those that... (9 Replies)
Discussion started by: rbatte1
9 Replies

3. Shell Programming and Scripting

Proxy socks tester issue

I have a list of ip socks / port(eg: 192.168.0.1 80). I would like to write a bash to test automatically these addresses in a loop with firefox. The problem is that firefox process stays alive even when firefox does not work because of wrong network settings. So I want to kill the process when the... (3 Replies)
Discussion started by: arpagon
3 Replies

4. Web Development

Http connect to proxy to websockets

I am having a hard time with this one. We have a websocket server listening on port 80 at myserver.com/wsDemo?ID=12. We need to test a client program by connecting it to this server through a proxy. I am trying nginx 1.2.7 as the proxy on port 8080, running on proxy-server. We want the client to... (1 Reply)
Discussion started by: glev2005
1 Replies

5. Linux

some sites are loading very slow on my centos proxy server

Hello everyone, I've installed squid proxy server in Linux centos machine for users.actually problem is when users browse some websites eg : WordPress.org, gravatar.com it loads very slow compare to others sites .my line is 4mbps and only 6 users for it.I've bypassed squid for myself via... (3 Replies)
Discussion started by: afybiz
3 Replies

6. UNIX for Dummies Questions & Answers

need a stable proxy server or free ssh account to visit blocked sites, who can help?

In our country, blogspot.com, twitter.com facebook.com....and more excellent sites are blocked by the Goverment FireWall, who can help me ? thanks a lot for your kind. (2 Replies)
Discussion started by: shuke
2 Replies

Featured Tech Videos