Floog
05-04-2004, 08:37 PM
Hmm.
Am I using the --dport parameter incorrectly? Bad syntax?? I don't get it, i've used it in the past with no problems.
Here are the iptables rules causing the error message:
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3297 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3298 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3299 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3300 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3301 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3397 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3497 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 17677 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 30477 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 34297 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 34397 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 34447 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 34496 -j DNAT --to 199.201.13.11
And here's all the "Unknown Argument" messages:
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
* Stopping firewall... [ ok ]
* Loading iptables state and starting firewall...
* Restoring iptables ruleset
* Enabling forwarding for ipv4 [ ok ]
bash-2.05b#
Can someone lend a hand here.
I can't seem to make any progress trying get a WinBox on my LAN to be able to host games over the net. No one can see my host.
Thanks for your guidance.
Floog
Am I using the --dport parameter incorrectly? Bad syntax?? I don't get it, i've used it in the past with no problems.
Here are the iptables rules causing the error message:
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3297 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3298 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3299 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3300 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3301 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3397 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 3497 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 17677 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 30477 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 34297 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 34397 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 34447 -j DNAT --to 199.201.13.11
$IPTABLES -t nat -A PREROUTING -i eth0 -p all --dport 34496 -j DNAT --to 199.201.13.11
And here's all the "Unknown Argument" messages:
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.
* Stopping firewall... [ ok ]
* Loading iptables state and starting firewall...
* Restoring iptables ruleset
* Enabling forwarding for ipv4 [ ok ]
bash-2.05b#
Can someone lend a hand here.
I can't seem to make any progress trying get a WinBox on my LAN to be able to host games over the net. No one can see my host.
Thanks for your guidance.
Floog