Answer the question
In order to leave comments, you need to log in
How to disable adding iptables rule?
I took a server with a pre-installed image of Ubuntu 16.04 immediately after starting, there is such a rule in iptables-save
-A POSTROUTING -s 10.8.0.0/24 ! -d 10.8.0.0/24 -j SNAT --to-source ХХ.ХХ.ХХХ.ХХХ
-A POSTROUTING -s 10.0.0.0/8 -o ens2 -j MASQUERADE
Answer the question
In order to leave comments, you need to log in
In debian (I think it is similar in ubuntu) the start script for iptables is placed in /etc/network/if-up.d/.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question