1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
This commit is contained in:
kev 2015-06-14 13:41:39 +08:00
parent ae256b06d4
commit 1ca9164f76

@ -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