Skip to content
forked from taoso/led

simple secure http proxy server with automic https

Notifications You must be signed in to change notification settings

TaylorChen/ssltun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssltun

ssltun is a simple secure http proxy server with automic https.

If you need IP tunnel, you could use https://github.com/epii1/dtun

quick start

Firstly, install the ssltun

go get -u -v github.com/TaylorChen/ssltun/cmd/ssltun

Secondly, register one domain name.

Suppose you have a domain named ssltun.io. Your need to add an A record.

And then create a text file named sites.txt with the following content

ssltun.io:

And then create a text file named users.txt with the following content

name:passwrd

The password need to be encrypted by bcrypt. You can use the htpasswd:

htpasswd -B -c ./users.txt foo

And then start the ssltun,

sudo ./ssltun -root /tmp -sites sites.txt -users users.txt -http2 :8080

The option of -root is used for set static sites root dir.

All file in /tmp/ssltun.io/ will be published to the Internet.

ssltun uses https://letsencrypt.org so sign a https certificate automically.

Finally, set your system proxy or browser proxy extension using the HTTPS protocol.

We recommend to use the SwitchyOmega

ssltun will listen on 80/443 tcp port and 443 udp port for h3.

About

simple secure http proxy server with automic https

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.4%
  • Shell 0.6%