docs: update cloud

This commit is contained in:
Administrator 2019-12-07 17:15:01 +00:00 committed by matze
parent fee333ca34
commit 9eccd3372f

View File

@ -2,7 +2,7 @@
title: Cloud title: Cloud
description: description:
published: true published: true
date: 2019-12-07T17:14:36.443Z date: 2019-12-07T17:14:58.135Z
tags: tags:
--- ---
@ -67,7 +67,7 @@ Content:
PrivateKey = <your server private key here> PrivateKey = <your server private key here>
Address = 10.50.0.1/24 Address = 10.50.0.1/24
SaveConfig = false 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; 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 ListenPort = 54541
``` ```