Dec 4, 2013

bypass proxy server

bypass multiple proxy.

network admin sometimes install double proxy server on your network, they make parent proxy and child proxy. when you under 2 or more proxy servers, you need additional tool to bypass it. I will show you how to use proxytunnel under ssh.

bypass proxy server

install proxytunnel ubuntu 13.10

sudo apt-get install libssl-dev proxytunnel 

proxytunnel -v -p yourproxyserver:80 -d destination_server:22 -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)"
proxytunnel -v -E -p yourserver:443 -d destination_server:22 -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)" 

proxytunnel ssh

if you use proxytunnel with ssh, you can put proxytunnel command on .ssh/config as below :

ProxyCommand /usr/bin/proxytunnel -v -p 114.121.192.38:80 -d %h:%p -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"

if multiple proxy above your connection, you can use -r option as below

ProxyCommand /usr/bin/proxytunnel -v -p 10.1.10.16:8080 -r second_proxy.com:22 -d %h:%p -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n" 

or you want  to use it directly with ssh, you can use as this :

ssh -o 'ProxyCommand http-proxy-tunnel.py . "http://%h" "localhost:%p"' -o 'ProtocolKeepAlives 5' 

alternatives proxytunnel 

the most same with proxytunnel is corkscrew, moreover the command for .ssh/config is same

ProxyCommand corkscrew 31.13.68.8 80 %h %p

note :
this tool is use on http-tunneling. more about corkscrew you can see here

.

bypass multiple proxy.

network admin sometimes install double proxy server on your network, they make parent proxy and child proxy. when you under 2 or more proxy servers, you need additional tool to bypass it. I will show you how to use proxytunnel under ssh.

bypass proxy server

install proxytunnel ubuntu 13.10

sudo apt-get install libssl-dev proxytunnel 

proxytunnel -v -p yourproxyserver:80 -d destination_server:22 -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)"
proxytunnel -v -E -p yourserver:443 -d destination_server:22 -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)" 

proxytunnel ssh

if you use proxytunnel with ssh, you can put proxytunnel command on .ssh/config as below :

ProxyCommand /usr/bin/proxytunnel -v -p 114.121.192.38:80 -d %h:%p -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"

if multiple proxy above your connection, you can use -r option as below

ProxyCommand /usr/bin/proxytunnel -v -p 10.1.10.16:8080 -r second_proxy.com:22 -d %h:%p -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n" 

or you want  to use it directly with ssh, you can use as this :

ssh -o 'ProxyCommand http-proxy-tunnel.py . "http://%h" "localhost:%p"' -o 'ProtocolKeepAlives 5' 

alternatives proxytunnel 

the most same with proxytunnel is corkscrew, moreover the command for .ssh/config is same

ProxyCommand corkscrew 31.13.68.8 80 %h %p

note :
this tool is use on http-tunneling. more about corkscrew you can see here

3 comments:

  1. Script yg diatas bisa di pake di windows? Klo bisa gmn caranya gan?

    ReplyDelete
  2. proxytunnel ada yg untuk windows... biasanya di gabungnya sama putty

    ReplyDelete
  3. Gan kalo http proxynya pake connect.c gimana ProxyCommand nya?

    ReplyDelete