India Web
Proxy v1.0 | - ( Free Open Source
- GPU License )
Download
By Arunava Bhowmick -2009 (
http://arunava.in/proxy.html )
PEASE READ THE WHOLE CONTENT CAREFULLY TO
RUN IT SUCCESSFULLY IN FIRST RUN.
free PHP proxy | Java proxy | web proxy |
http tunnel | https tunnel | http proxy
| ssl tunnel | ssl bridge | free anonymous
browsing | http over http | https over http
| bypass proxy | Linux
------------
Purpose :|
------------
If you are behind restricted Friewall/proxy
you are not allowed to browse many web site
because the are blocked by your
Organization Proxy. There are lots of
WEBProxy scripts (PHP..) available in market
freely . But their usage are limited. In
most of the cases these are unable to open
many sites . But using "India WEB Proxy".
it will behave like as you are directly
connected to internet. It support HTTP and
HTTPS both
------------------
How It works:|
------------------
You need to run ( IndiaWebProxy.jar ) local
proxy server in your machine. Now you will
point ( change browser Proxy settings
)your browser to this new proxy.
Local proxy will wrap your request and send
it to external web server which is not
blocked by your organization.
For this you have to put the supplied PHP
file (tutorial.php) in your server. This PHP
file unwrap your request and send it
to main destination server and carry the
response to your browser.

---------------
Language : |
---------------
Written in JAVA ( Client Side module)
PHP ( Server side module).

--------------------------
HOW TO SET UP :|
--------------------------
1)
Download java Runtime 1.5 or higher .if you
don't have installed it in your PC.
Then from command prompt Type : ( go to bin
directory of your java installation
directory)
java -jar IndiaWebProxy.jar
OR double click on jar file will run the
application.
( Note that current directory has the write
permission )
It will create 3 file in current directory [
ProxyCertificate.ser ,ProxyLog.txt ,
ProxyConfig.dat ] when you run it. It
will start tiny server in local machine.
some firewall may block this program you
need to Unblock it.
Click <Setting> and enter your Organization
proxy's host/port and User/password if any.
It is recommended that keep your log level 0
. To debug you can increase it to 3 but will
imact on performance.
Now click Start.
2) Now Change your favorite Web Browser(
LIke: Firefox / IE) setting .
Refer : firefox.JPG / IESetting.JPG

3) Now copy "tutorial.php" in your
PHP enable web server
Update the full url / php server ip / port
in "India web proxy" settings.
For an example : full URL is http://yourserver.com/myfolder/tutorial.php
php server ip : yourserver.com .Put the IP
instead the name to improve performance.
Dont put IP if you are using Shared hosting account
4) Clear your browser Cache .
refer
IE_Clearcache.JPG , firefox_clearcache.JPG;

Note : You may need to clear your browser cache frequently if you face problem.
-----------------------------------
PHP Web server Settings :|
-----------------------------------
It iS tested in PHP 4.3.11 onwards...
As you have already come to know that
request will got to PHP server first (tutorial.php)
and then php file will connect to
destination server. so your server should
have this permission to connect to external
server.
For the time being you can use my php
server/file [ http://arunava.mobi/java-tutorial/tutorial.php
].
But it is only for testing. Change this
parameter in setting of "India proxy" as
soon as your php server ready.
You might be wondering why tutorial.php is
the name of PHP file? It is only for making
the organization
proxy fool. if you rename it to Proxy.php
your organization proxy may block it if it
does key word filtering.
To test your Web/php server whether it is
perfect to run tutorial.php -First run "TestMyServer.php"
using
http://yourserver.com/myfolder/TestMyServer.php.
Necessary Configuration :
allow_url_fopen = On
SSL support should be there.
I have provide my php.ini in package.
If you are using shared hosting you can keep
my php.ini in your websites root directory.
Your purpose may be solved otherwise ask
your website admin.
Now you can configure maximun script
execution time.
Default it is set to 5 minute ( 300 seconds
)
max_execution_time = 300 ( in php.ini )
set_time_limit(300); ( in tutorial.php )
Modify it if you want to download/upload big
file.
Finish
http://webproxytunnel.sourceforge.net/
Arunava Bhowmick@gmail.com
http://arunava.in/proxy.html
July 2009