From 09d11e3bc87bdcc3117bf04726461ae2f368fbd5 Mon Sep 17 00:00:00 2001 From: Alejandro Riera Date: Wed, 8 Nov 2017 11:54:26 +0100 Subject: [PATCH] Doc update about Transparent proxy support Advise users to save the configuration of `iptables` and `ip` rules and routes or they risk loosing it after a reboot and/or crash. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d23c107..cecec3c 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,12 @@ tagged. If you need to retain direct access to ssh on port 22 AND another port (e.g. 2222), and change the above rules accordingly. +Also remember that iptables configuration and ip routes and +rules won't be necessarily persisted after you reboot. Make +sure to save them properly. For example in CentOS7, you would +do `iptables-save > /etc/sysconfig/iptables`, and add both +`ip` commands to your `/etc/rc.local`. + FreeBSD: Given you have no firewall defined yet, you can use the following configuration