From 2547eb6e6ed67285a498363d6bb50978961ef4d8 Mon Sep 17 00:00:00 2001 From: Edwin Lyon <53972157+practical-engelbart@users.noreply.github.com> Date: Fri, 3 Sep 2021 17:10:55 -0700 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4bee77f..bf25e4b 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,16 @@ Deploy a new VPS on either Vultr.com or Digital Ocean, select Ubuntu 20.0.4 LTS, ## Advanced configuration -To setup the two iptables files simply use the following commands: +To setup the two iptables files simply use the following commands (Remember to edit the rules to your environment first): -``` -iptables-restore -n $HOME/mailcow-dockerized-proxy/iptables/rules4.conf -ip6tables-restore -n $HOME/mailcow-dockerized-proxy/iptables/rules6.conf +```bash +sudo iptables-restore -n $HOME/mailcow-dockerized-proxy/iptables/rules4.conf +sudo ip6tables-restore -n $HOME/mailcow-dockerized-proxy/iptables/rules6.conf -iptables-save -ip6tables-save +sudo iptables-save +sudo ip6tables-save -apt install iptables-persistent +sudo apt install iptables-persistent ``` ## Letsencrypt