Re: iptables --destination
Alberto Spelta wrote:
> scusate se re-inoltro la domanda, ma è caduta nel dimenticatoio :)
>
> ho la necessita di specificare in una regola il parametro -d
> ( --destination ) in formato URL e non IP
> questo è l'errore che ottengo. dove sbaglio ? devo caricare qualche modulo
> specifico ?
>
> iptables -t filter -A OUTPUT -p tcp -o eth0 -d security.debian.org -j ACCEPT
ciao,
io ho una regola tipo
iptables -A OUTPUT -o eth0 -p tcp -d security.debian.org --dport xx -m
state --state NEW -j ACCEPT
fabrizio.
> iptables v1.2.11: host/network `security.debian.org' not found
> Try `iptables -h' or 'iptables --help' for more information.
>
> grazie
> Alberto
>
>
Reply to: