LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to make socks proxies with ips of server (https://www.linuxquestions.org/questions/linux-software-2/how-to-make-socks-proxies-with-ips-of-server-741818/)

Ruler123 07-21-2009 07:42 PM

how to make socks proxies with ips of server
 
hi
i have a sever with 40 ips assigned to it.
is there any software or script which can open random ports on all of these ips to accept connection and save those ips with ports in a txt file?
so i can use them as socks/proxies which i need for a personal software.

unSpawn 07-22-2009 05:13 PM

Quote:

Originally Posted by Ruler123 (Post 3615856)
is there any software or script which can open random ports on all of these ips to accept connection and save those ips with ports in a txt file? so i can use them as socks/proxies

You don't "open" a port: just configure an application to use a certain port and when it starts it will bind to that port. Wanting to run SOCKS proxies just requires a SOCKS-capable proxy server. Here's an example for running DeleGate on hosts in the range 10.1.2.128-10.1.2.148: 'for i in {128..148}; do delegated -P10.1.2.${i}:${RANDOM:1:4} SERVER=socks CACHE=do SOCKSTAP=all &; done'. Explanation of DeleGate you may find at [EDIT]www.delegate.org/delegate/Manual.htm[/EDIT].


Quote:

Originally Posted by Ruler123 (Post 3615856)
which i need for a personal software.

...yeah, as if anyone gets fooled seeing connections from fourty consecutive IP addresses.

Ruler123 07-26-2009 12:07 AM

thanks bro for your reply,

is there any application or script.
which can do this job
make random ports of each ip as socks and generate a txt list of these ips with port like this

ipaddress:randomport
ipaddress2:randomport
ipaddress3:randomport

and next day i just change the ports to accept connection and generate new list

Thanks,
Ruler

goodboi 08-12-2009 01:11 PM

not a solution
 
Quote:

Originally Posted by unSpawn (Post 3617008)
You don't "open" a port: just configure an application to use a certain port and when it starts it will bind to that port. Wanting to run SOCKS proxies just requires a SOCKS-capable proxy server. Here's an example for running DeleGate on hosts in the range 10.1.2.128-10.1.2.148: 'for i in {128..148}; do delegated -P10.1.2.${i}:${RANDOM:1:4} SERVER=socks CACHE=do SOCKSTAP=all &; done'. Explanation of DeleGate you may find at

This solution doesn't work the proxies generated using above still shows main ip of eth0, not the ip of proxy on webpages.


All times are GMT -5. The time now is 09:21 AM.