File | Date | Author | Commit |
---|---|---|---|
engin | 2024-09-18 |
![]() |
[d98e6e] 1. improve some code |
vendor | 2024-09-12 |
![]() |
[87a5a2] 1. update vendor |
.gitignore | 2022-12-12 |
![]() |
[da9dc5] Fix some issue |
Dockerfile | 2022-12-14 |
![]() |
[cc9e24] Add Dockerfile |
LICENSE | 2024-09-12 |
![]() |
[87a5a2] 1. update vendor |
README.md | 2024-09-12 |
![]() |
[87a5a2] 1. update vendor |
_config.yml | 2022-12-12 |
![]() |
[b45a39] fresh commit |
auto.go | 2024-09-18 |
![]() |
[d98e6e] 1. improve some code |
build.bat | 2022-12-12 |
![]() |
[b45a39] fresh commit |
build.sh | 2023-03-08 |
![]() |
[a9a477] update TLS1.3 |
domain.go | 2024-09-18 |
![]() |
[d98e6e] 1. improve some code |
domain.json | 2022-12-12 |
![]() |
[b45a39] fresh commit |
go.mod | 2024-09-12 |
![]() |
[87a5a2] 1. update vendor |
go.sum | 2024-09-12 |
![]() |
[87a5a2] 1. update vendor |
log.go | 2022-12-12 |
![]() |
[e64a4d] Add stat and log file |
main.go | 2024-09-18 |
![]() |
[d98e6e] 1. improve some code |
version.go | 2024-09-18 |
![]() |
[d98e6e] 1. improve some code |
The project provides browser http proxy proxy service, supports https and http protocol proxy; can deploy multi-level proxy; supports TLS protocol encryption; mainly uses tools for accessing external websites with intranet hosts;
git clone https://github.com/easymesh/autoproxy.git
cd autoproxy
bash build.sh
autoproxy_linux_amd64.tar.gz
unzip autoproxy_linux_amd64.tar.gz
Unzip the compressed package.Run nohup xxx &
The program will run in the background.
Remote Deploy:
./autoproxy -local-address https://0.0.0.0:8080 -mode local -local-auth user:123456
./autoproxy -local-auth "" -remote-address https://{remote-ip}:8080 -remote-auth user:123456
Usage of ./autoproxy:
-cert-file string
tls cert file pem format, if not set, the program will automatically generate
-domain string
match domain list file(domain mode requires) (default "domain.json")
-help
usage help
-key-file string
tls key file pem format, if not set, the program will automatically generate
-local-address string
Local proxy listening address (default "http://0.0.0.0:8080")
-local-auth string
Local proxy auth username and password
-logfile string
the logging file, using the stdout as default.
-mode string
proxy mode(local/proxy/domain/auto) (default "proxy")
-remote-address string
Remote proxy listening address (default "https://your.vps:8080")
-remote-auth string
Remote proxy auth username and password
-stat
display the traffic statistics in a loop timer
-timeout int
connect timeout (unit second) (default 30)
Of course you can modify and run again