Saturday, December 6, 2014

create socks server for bypass firewall

socks is a tcp proxy, if compare to http proxy, it is lower level than it.

1- install socks4 server,
root@socks4:/# apt-get install nodejs
root@socks4:/# apt-get install npm
user1@socks4:/# npm install sock4

2- start the socks server
-create socks4.js  with the following content

var socks4 = require('socks4');

-Start the socks server

user1@socks4:/# nodejs socks4.js

- now it start run and listen on port 1080

3- configure firefox to send http request through our newly socks server.

No comments:

Post a Comment