Le mar 15/06/2004 à 07:35, ads nat a écrit : > I am trying to apply this rule for diverting trafic. > "eth1" is LAN interface for subnet 192.168.0.0/24 > ########## > [root@xxx root]# iptables -t nat -A PREROUTING -s > 192.168.0.2-192.168.0.10 -i eth0 -p tcp -j DNAT --to > 10.0.0.2:80 > iptables v1.2.7a: host/network > `192.168.0.2-192.168.0.10' not found > Try `iptables -h' or 'iptables --help' for more > information. > ########## > It seems it does not accept multipal source addresses. It does not. Iptables only accept single address or network as source and/or destination. -- http://www.netexit.com/~sid/ PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE >> Hi! I'm your friendly neighbourhood signature virus. >> Copy me to your signature file and help me spread!