Using a php server as a proxy
- Running a local proxy
- Php server opens two sockets with your computer and any server
- As long as php session keeps open, routes traffic between two sockets
- Download all files, and upload
index.php
to your host - Configure
http_proxy.py
to connect to your php server. Fill yourphp_host
andphp_port
- Configure
index.php
to connect to your local machine. Fill$my_address
and$my_port
. Requires an ipv4 or ipv6 address and configured firewall. - Configure your browser to use proxy
- Run
http_proxy.py
- Proxy protocols other than https
- Add authentication
- Add error and closing handling