JonnoTheDev Posted March 11, 2010 Share Posted March 11, 2010 Has anyone used a shared hosting web server and sucessfully setup a socks proxy on it? Would like some info on doing this to relay internet traffic from a local pc through the proxy. Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/ Share on other sites More sharing options...
steviewdr Posted March 11, 2010 Share Posted March 11, 2010 If you can ssh into the server, you can use PuTTY to act as a socks server. First hit in google: http://vectrosecurity.com/content/view/67/26/ Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1024753 Share on other sites More sharing options...
JonnoTheDev Posted March 11, 2010 Author Share Posted March 11, 2010 OK, what if I want various machines in my network to use the web server as a proxy. They could be linux, mac, windows machines. Can I not use the IP address of the web server as the proxy address? The issue is, we have many pieces of software on different machines across our network that perform data mining operations. The different pieces of software use proxy servers to hide our true IP. We have many proxy server IP addresses stored in a database which each piece of software can connect to and pick a server to use. It is becoming expensive buying proxy server addresses, so my idea was to get a load of cheap servers and set them up as proxies. Their IP addresses could then be added to our database of proxies. Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1024759 Share on other sites More sharing options...
tomfmason Posted March 11, 2010 Share Posted March 11, 2010 Can I not use the IP address of the web server as the proxy address? no. The proxy address would be a local one(localhost, 127.0.0.1, etc). using linux or mac you could: ssh -D port user@host you would then use 127.0.0.1:port for your proxy address Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1024891 Share on other sites More sharing options...
JonnoTheDev Posted March 11, 2010 Author Share Posted March 11, 2010 Then this is not what I am looking for. I need to have proxy servers through public IP:port just as: http://www.samair.ru/proxy/type-01.htm not having to setup each local machine. I will have to find out how to setup a cheap server as a proxy so I can just use its ip in any proxified software. Proxy server addresses on lists as above are unreliable, they get battered and are often offline. Similar issues with using the TOR network. Private proxy addresses are expensive with the numbers we use. Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1024968 Share on other sites More sharing options...
steviewdr Posted March 12, 2010 Share Posted March 12, 2010 apt-get install squid Job Done. Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1025205 Share on other sites More sharing options...
JonnoTheDev Posted March 12, 2010 Author Share Posted March 12, 2010 Squid, or any proxy server software really. However the servers im looking at are cheap as chips so they aren't going to be letting you install software. I maybe fighting a losing battle here. Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1025209 Share on other sites More sharing options...
tomfmason Posted March 12, 2010 Share Posted March 12, 2010 you can get a cheap vps for less than $10/month. I imagine they wont have a problem with you installing squid Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1025245 Share on other sites More sharing options...
JonnoTheDev Posted March 12, 2010 Author Share Posted March 12, 2010 Yeah, thing is though I need the public ips to be location based so I can't just buy a load of servers in the US. UK servers are not so cheap. I will have to hunt around. Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1025267 Share on other sites More sharing options...
tomfmason Posted March 12, 2010 Share Posted March 12, 2010 Does it have to be an ip address? If you can use a domain you could go the hackish route and add that domain to your hosts file on the local system. Then in your db add the domain name and the local socks port for the proxy. For example: #usage this_script domain local_port user@host echo 127.0.0.1 $1 >> /etc/hosts ssh -f -D $2 $3 an example usage would be bash script.sh foo.com 8000 user@serverip then you could use the foo.com domain and 8000 for the port. Quote Link to comment https://forums.phpfreaks.com/topic/194890-socks-proxy/#findComment-1025371 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.