mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-14 08:07:14 +03:00
update examples
This commit is contained in:
parent
3912330040
commit
27f3e9075a
19
README.md
19
README.md
@ -99,14 +99,14 @@ services:
|
|||||||
sysctls:
|
sysctls:
|
||||||
- net.ipv4.conf.default.route_localnet=1
|
- net.ipv4.conf.default.route_localnet=1
|
||||||
- net.ipv4.conf.all.route_localnet=1
|
- net.ipv4.conf.all.route_localnet=1
|
||||||
command: --transparent --foreground --listen=0.0.0.0:443 --tls=localhost:8443 --openvpn=localhost:1194 --wireguard=localbox:51820
|
command: --transparent --foreground --listen=0.0.0.0:443 --tls=localhost:8443 --openvpn=localhost:1194
|
||||||
ports:
|
ports:
|
||||||
- 443:443 #sslh
|
- 443:443 #sslh
|
||||||
|
|
||||||
- 80:80 #nginx
|
- 80:80 #nginx
|
||||||
- 8443:8443 #nginx
|
- 8443:8443 #nginx
|
||||||
|
|
||||||
- 1194:1994 #openvpn
|
- 1194:1194 #openvpn
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- localbox:host-gateway
|
- localbox:host-gateway
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -141,11 +141,22 @@ services:
|
|||||||
#sysctls:
|
#sysctls:
|
||||||
# - net.ipv4.conf.default.route_localnet=1
|
# - net.ipv4.conf.default.route_localnet=1
|
||||||
# - net.ipv4.conf.all.route_localnet=1
|
# - net.ipv4.conf.all.route_localnet=1
|
||||||
command: --transparent --foreground --listen=0.0.0.0:443 --tls=localhost:8443 --openvpn=localhost:1194 --wireguard=localhost:51820
|
command: --transparent --foreground --listen=0.0.0.0:443 --tls=localhost:8443 --openvpn=localhost:1194
|
||||||
network_mode: host
|
network_mode: host
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
```
|
|
||||||
|
nginx:
|
||||||
|
image: nginx:latest
|
||||||
|
.....
|
||||||
|
ports:
|
||||||
|
- 8443:8443 # bind to docker host on port 8443
|
||||||
|
|
||||||
|
openvpn:
|
||||||
|
image: openvpn:latest
|
||||||
|
.....
|
||||||
|
ports:
|
||||||
|
- 1194:1194 # bind to docker host on port 1194
|
||||||
|
```
|
||||||
|
|
||||||
Comments? Questions?
|
Comments? Questions?
|
||||||
====================
|
====================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user