1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
This commit is contained in:
kev 2016-07-11 13:57:48 +08:00
parent d448cbf7fd
commit c3f14433de
5 changed files with 31 additions and 10 deletions

View File

@ -1,8 +1,6 @@
fteproxy
========
![](https://badge.imagelayers.io/vimagick/fteproxy:latest.svg)
[fteproxy][1] provides transport-layer protection to resist keyword filtering,
censorship and discriminatory routing policies.

View File

@ -1,9 +1,9 @@
openvpn
=======
![](https://badge.imagelayers.io/vimagick/openvpn:latest.svg)
[OpenVPN][1] is blocked in China. You need to connect vpn via secure tunnel.
OpenVPN is blocked in China. You need to connect vpn via secure tunnel.
Instead of using [fteproxy][2] as bridge, you can also use [stunnel][3].
- server: vpn.easypi.info
- bridge: bridge.easypi.info
@ -93,3 +93,12 @@ route 192.168.1.0 255.255.255.0 net_gateway
$ systemctl start openvpn@client
$ systemctl enable openvpn@client
```
## References
- <https://community.openvpn.net/openvpn/wiki>
- <https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04>
[1]: https://openvpn.net/index.php/open-source.html
[2]: https://github.com/vimagick/dockerfiles/tree/master/fteproxy
[3]: https://github.com/vimagick/dockerfiles/tree/master/stunnel

View File

@ -1,6 +1,9 @@
stunnel
=======
[Stunnel][1] is a proxy designed to add TLS encryption functionality to
existing clients and servers without any changes in the programs' code.
### Overview
domain | ip:port | country | services
@ -89,6 +92,4 @@ route 192.168.0.0 255.255.0.0 net_gateway
....
```
### References
- <https://community.openvpn.net/openvpn/wiki>
[1]: https://www.stunnel.org/index.html

View File

@ -1,4 +1,5 @@
stunnel:
# In Japan
master:
image: vimagick/stunnel
ports:
- "4911:4911"
@ -10,3 +11,17 @@ stunnel:
external_links:
- openvpn_server_1:server
restart: always
# In China
bridge:
image: vimagick/stunnel
ports:
- "1194:1194"
environment:
- CLIENT=yes
- SERVICE=openvpn
- ACCEPT=0.0.0.0:1194
- CONNECT=server:4911
extra_hosts:
- server:1.2.3.4
restart: always

View File

@ -1,8 +1,6 @@
tinc
====
![](https://badge.imagelayers.io/vimagick/tinc:latest.svg)
[tinc][1] is a Virtual Private Network (VPN) daemon that uses tunnelling and
encryption to create a secure private network between hosts on the Internet.