Vous n'êtes pas identifié(e).
Pages : 1
Hors ligne
saque eud dun (patois chtimi : fonce dedans)
Hors ligne
tcp
These extensions can be used if ‘--protocol tcp’ is specified. It provides the following options:
[!] --source-port,--sport port[:port]
Source port or port range specification. This can either be a service name or a port number. An inclusive range can also be specified, using the format port:port. If the first port is omitted, "0" is assumed; if the last is omitted, "65535" is assumed. If the second port is greater than the first they will be swapped. The flag --sport is a convenient alias for this option.
[!] --destination-port,--dport port[,port]
Destination port or port range specification. The flag --dport is a convenient alias for this option.
udp
These extensions can be used if ‘--protocol udp’ is specified. It provides the following options:
[!] --source-port,--sport port[:port]
Source port or port range specification. See the description of the --source-port option of the TCP extension for details.
[!] --destination-port,--dport port[:port]
Destination port or port range specification. See the description of the --destination-port option of the TCP extension for details.
Ta règle devrait donc s'écrire:
iptables -A OUTPUT -d security.debian.org --protocol tcp --dport 80 -j ACCEPT
@+
Hors ligne
Pages : 1