Skip to content

Nuos/chained-server

 
 

Repository files navigation

Lantern Chained Server in Go

Run

First get dependencies:

go get -t

Then run with:

./run-server.sh

Test

Direct proxying:

curl -kvx localhost:8080 http://www.google.com/humans.txt --proxy-header "X-Lantern-Auth-Token: 111"
curl -kvx localhost:8080 https://www.google.com/humans.txt --proxy-header "X-Lantern-Auth-Token: 111"

Using HTTP connect:

curl -kpvx localhost:8080 http://www.google.com/humans.txt --proxy-header "X-Lantern-Auth-Token: 111"
curl -kpvx localhost:8080 https://www.google.com/humans.txt --proxy-header "X-Lantern-Auth-Token: 111"

Without the header, it will respond 404 Not Found.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.5%
  • Other 0.5%