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 2015-06-14 13:41:39 +08:00
parent ae256b06d4
commit 1ca9164f76

View File

@ -40,5 +40,14 @@ server:
restart: always
```
> TODO: I haven't figure out how to make `net: bridge` work yet!
## server
```
$ fig up -d
$ iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE
```
[1]: http://tinc-vpn.org/
[2]: https://www.digitalocean.com/community/tutorials/how-to-install-tinc-and-set-up-a-basic-vpn-on-ubuntu-14-04