What's wrong with this iptables command?
From: Alec Waters (alec.waters_at_NdatalineO.ScoP.AukM)
Date: 11/14/03
- Previous message: Geriman: "LEAF and Wireless Networkings"
- Next in thread: Walter Peters: "Re: What's wrong with this iptables command?"
- Reply: Walter Peters: "Re: What's wrong with this iptables command?"
- Reply: remove dot: "Re: What's wrong with this iptables command?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 14 Nov 2003 12:54:07 +0000
Hi all,
I'm trying to set up some port forwarding with iptables. I want all
traffic directed at eth0's IP address (the public interface) on tcp/8080
to be redirected to an internal host on the same port. Here's what I've got:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j DNAT --to
192.168.135.210:8080
iptables: Invalid argument
iptables is v1.2.8, Linux is 2.4.20. Which argument is invalid? What
have I done wrong?
thanks a lot,
alec
--
- Previous message: Geriman: "LEAF and Wireless Networkings"
- Next in thread: Walter Peters: "Re: What's wrong with this iptables command?"
- Reply: Walter Peters: "Re: What's wrong with this iptables command?"
- Reply: remove dot: "Re: What's wrong with this iptables command?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|