A http forward tool
- based on gin framework
- by yyz
Usage of main.exe:
-l string
需要绑定本地的http服务HOST (default "0.0.0.0:9001")
-r string
需要转发的http服务HOST (default "www.baidu.com")
main.exe -l 192.168.111.132:8080 -r www.baidu.com
then
I can use baidu by visiting
http://192.168.111.132:8080/
or
https://192.168.111.132:8080/
(note that https may not working well.)
Please ignore my .idea file :)