Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionI want to build up my own proxy server . Whats the procedure to start that ? What are the steps ? I am Good in PHP and i have my own web server,
Please Guide me ,for building up a proxy server that handles PHP page's as well
I just want to know the basics! There are many Proxy Site's that say " Access facebook from School" So how do they work ? Can i also create something like that ? !
If i use file_get_contents()
function and display it on the screen it can be used as a static WEBPAGE proxy.
So my question was simple, How can i develop something that can be used for accessing Faceb开发者_如何学编程ook ?
Configure PHP on your webserver and install the PHP Proxy Software of your choice:
http://sourceforge.net/search/?q=php+proxy&sortdir=desc&limit=25&sort=rating
Make sure you can connect to the proxy from wherever you are and that it is outside of whatever firewall you are trying to get around.
Then add the server address of the proxy into your OS or browser's Proxy settings (which depends on the OS or Browser).
SSH port forwarding should get you want you want.
http://www.linuxhorizon.ro/ssh-tunnel.html
Edit: The relevant info from the site:
ssh -L 8888:www.linuxhorizon.ro:80 user@computer -N
ssh -L 8888:www.linuxhorizon.ro:80 -L 110:mail.linuxhorizon.ro:110 \
25:mail.linuxhorizon.ro:25 user@computer -N
By setting this up on a server, you allow yourself to access the information from anywhere via your server's IP. This provides a workaround if the domain is blocked, but your server's is not.
精彩评论