Insert rule at a specific position (prepend) To start, figure out which line should be used for the new rule. iptables -L -n –line-numbers #insert at position 9 iptables -I INPUT 9 -p tcp –dport 5222 -j ACCEPT Add comments Leer más
Insert rule at a specific position (prepend) To start, figure out which line should be used for the new rule. iptables -L -n –line-numbers #insert at position 9 iptables -I INPUT 9 -p tcp –dport 5222 -j ACCEPT Add comments Leer más