docs: update cloud
This commit is contained in:
parent
fee333ca34
commit
9eccd3372f
4
cloud.md
4
cloud.md
@ -2,7 +2,7 @@
|
||||
title: Cloud
|
||||
description:
|
||||
published: true
|
||||
date: 2019-12-07T17:14:36.443Z
|
||||
date: 2019-12-07T17:14:58.135Z
|
||||
tags:
|
||||
---
|
||||
|
||||
@ -67,7 +67,7 @@ Content:
|
||||
PrivateKey = <your server private key here>
|
||||
Address = 10.50.0.1/24
|
||||
SaveConfig = false
|
||||
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
|
||||
PostUp = iptables -I FORWARD 1 -i %i -j ACCEPT; iptables -I FORWARD 2 -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
|
||||
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE;
|
||||
ListenPort = 54541
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user