I tried the following instructions:
iptables -A FORWARD -s 192.168.0.200-192.168.0.240 -d 0/0 -p tcp -j ACCEPT
iptables -A FORWARD -s 192.168.0.200-192.168.0.240 -d 0/0 -p udp -j ACCEPT
iptables -A FORWARD -s 0/0 -d 192.168.0.200-192.168.0.240 -p tcp -j ACCEPT
iptables -A FORWARD -s 0/0 -d 192.168.0.200-192.168.0.240 -p udp -j ACCEPT
It appears error. Error message is:
iptables v1.2.5: host/network `192.168.0.200-192.168.0.240' not found
Try `iptables -h' or 'iptables --help' for more information.
Would you tell me how to set an IP address range into rules of iptables?
Thank you very much!
|