ssh: fixed an issue for unreachable addrs (fix #324)

This commit is contained in:
nadoo committed 2022-05-05 17:12:45 +08:00
1 parent 846ca0b699
commit 1e01d8692d
4 files changed
+43 -26

No files matched your search

+2 -2
View File
@@ -449,14 +449,14 @@ glider -config CONFIG_PATH
-v /etc/localtime:/etc/localtime:ro \
nadoo/glider -config=/etc/glider/glider.conf
```
- run watchtower (if you need auto update for glider)
- run watchtower if you need auto update
```
docker run -d --name watchtower --restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower --interval 21600 --cleanup \
glider
```
- open udp ports (if you need udp nat fullcone)
- open udp ports if you need udp nat fullcone
```
iptables -I INPUT -p udp -m udp --dport 1024:65535 -j ACCEPT
```