-----Original Message-----
From: Keiran McManus
Sent: Tuesday, 26 February 2002 11:47 AM
To: [EMAIL PROTECTED]
Subject: Bad argument problem, RedHat 7.1 / iptables 1.2.4I have the following lines in a script to setup a firewall, the variables are all properly defined (the rest of the script works).
The system is RedHat 7.1 and iptables 1.2.4
$IPTABLES -t nat -A PREROUTING -p tcp -i $EXT_IFACE -d $TEST_IP --dport 80 -j DNAT --to-destination $DMZ_TEST_IP
$IPTABLES -t nat -A PREROUTING -p tcp -i $EXT_IFACE -d $TEST_IP --dport 443 -j DNAT --to-destination $DMZ_TEST_IPWhen I run the script I get the following errors;
Bad argument `80'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `443'
Try `iptables -h' or 'iptables --help' for more information.=======================================
On a Mandrake 8.1, iptables 1.2.2 exactly the same line syntax works perfectly. I am beginning to swear at the computer
which means that I need help.Keiran
smime.p7s
Description: application/pkcs7-signature
