sotto /etc/network/if-up.d ho creato il seguente script: #!/bin/bash
iptables -F iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8088 All'avvio viene eseguito e vengono settate le regole indicate ma iptables -t nat -L mi da: Chain PREROUTING (policy ACCEPT) target prot opt source destination REDIRECT tcp -- anywhere anywhere tcp dpt:www redir ports 8088 REDIRECT tcp -- anywhere anywhere tcp dpt:www redir ports 8088 la stessa regola due volte. Per quale motivo? -- Per REVOCARE l'iscrizione alla lista, inviare un email a debian-italian-requ...@lists.debian.org con oggetto "unsubscribe". Per problemi inviare un email in INGLESE a listmas...@lists.debian.org To UNSUBSCRIBE, email to debian-italian-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org