here is my iptables config: http://pastebin.com/ur3LHZii
it gives me this error:
it gives me this error:
Code:
[root@adamandeve ~]# ./NAT.sh
iptables v1.4.7: Bad IP address "192.168.1.099"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.098"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.097"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.096"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.095"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.094"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.093"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.092"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.091"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.090"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.089"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.088"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.087"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.086"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.085"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.084"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.083"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.082"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.081"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.080"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.079"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.078"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.078"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.069"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.068"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.059"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.058"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.049"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.048"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.039"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.038"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.029"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.028"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.019"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.018"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.009"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.1.008"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.099"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.098"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.097"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.096"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.095"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.094"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.093"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.092"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.091"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.090"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.089"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.088"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.087"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.086"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.085"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.084"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.083"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.082"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.081"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.080"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.079"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.078"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.069"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.068"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.059"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.058"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.049"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.048"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.039"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.038"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.029"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.028"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.019"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.018"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.009"
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.7: Bad IP address "192.168.2.008"
Try `iptables -h' or 'iptables --help' for more information.
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
[root@adamandeve ~]#