Visit Our UNIX and Linux User Community

Top Forums UNIX for Dummies Questions & Answers Can't connect through ssh socks proxy to certain sites Post 302894594 by postcd on Wednesday 26th of March 2014 10:02:29 AM
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)
 
Test Your Knowledge in Computers #256
Difficulty: Easy
MILNET gave birth to NIPRNet, which was used to transmit sensitive but unclassified data between internal users and also provide those users with a gateway to the commercial Internet.
True or False?

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
proxychains(1)															    proxychains(1)

NAME
ProxyChains - redirect connections through proxy servers SYNTAX
proxychains <program> DESCRIPTION
This program forces any tcp connection made by any given tcp client to follow through proxy (or proxy chain). It is a kind of proxifier. It acts like sockscap / premeo / eborder driver (intercepts TCP calls). This version (2.0) supports SOCKS4, SOCKS5 and HTTP CONNECT proxy servers. Auth-types: socks - "user/pass" , http - "basic". When to use it ? 1) When the only way to get "outside" from your LAN is through proxy server. 2) When you are behind restrictive firewall which filters outgoing connections to some ports. 3) When you want to use two (or more) proxies in chain: like: your_host <--> proxy1 <--> proxy2 <--> target_host 4) When you want to "proxify" some programs with no proxy support built-in (like telnet). 5) When you dont want to pay for eBorder / premeo socks driver :) Some cool features: * This program can mix different proxy types in the same chain like: your_host <-->socks5 <--> http <--> socks4 <--> http <--> target_host * Different chaining options supported like: take random proxy from the list. or : chain proxies in exact order or : chain proxies in dynamic order (smart exclude dead proxies from chain) *You can use it with any TCP client application, even network scanners. yes, yes - you can make portscan via proxy (or chained proxies) for example with Nmap scanner by fyodor (www.insecure.org/nmap). proxychains nmap -sT -PO -p 80 -iR (find some webservers through proxy) NOTE: to run suid/sgid programs(like ssh) through proxychains you have to be root FILES
proxychains looks for config file in following order: ./proxychains.conf $(HOME)/.proxychains/proxychains.conf /etc/proxychains.conf see more in /etc/proxychains.conf EXAMPLES
To run this program the standard way type: proxychains telnet targethost.com in this example it will run telnet through proxy(or chained proxies) specified by proxychains.conf COPYING
proxychains is distributed under the GNU General Public License. (GPL 2.0 or greater). AUTHORS
Net Creature, Proxy Labs <http://proxychains.sourceforge.net> <Net Creature> 2.0 proxychains(1)

Featured Tech Videos

All times are GMT -4. The time now is 06:51 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy