Re: iptables config resets after restarting system

2018-08-12 Thread Pascal Hambourg
Le 10/08/2018 à 22:29, Hubert Hauser a écrit : echo " * allowing ping responses" ${IPTABLES} -A INPUT -p ICMP -j ACCEPT ${IP6TABLES} -A INPUT -p ICMPv6 -j ACCEPT Replies to unicast echo requests have the ESTABLISHED state. So you don't need an extra rule to accept them, unless you are

Re: iptables config resets after restarting system

2018-08-11 Thread likcoras
On 08/11/2018 05:29 AM, Hubert Hauser wrote: > Good afternoon! > > I've problem with resetting iptables after restarting system. Here's my > /usr/local/bin/fwall-rules file: > > Running command fwall-rules after restarting system works. What am I > doing wrong? > > -- > Best regards, > Hubert

iptables config resets after restarting system

2018-08-10 Thread Hubert Hauser
Good afternoon! I've problem with resetting iptables after restarting system. Here's my /usr/local/bin/fwall-rules file: #!/bin/bash IPTABLES=/sbin/iptables IP6TABLES=/sbin/ip6tables echo -e "\n ** clean rules ** \n" echo " * flushing old rules" ${IPTABLES} --flush ${IPTABLES} --delete-chain