[lug] quick iptables rule question

Grep Ergo Sum - I grep therefore I am dwh at surfingpenguin.com
Wed Nov 19 11:15:58 MST 2003


On Wed, 19 Nov 2003, Dan Ferris wrote:
> iptables -t nat -A PREROUTING -p tcp --dport 9090 -j DNAT --to 
> 192.168.0.0:80
> 
> Anything destined to port 9090 on the firewall will go to port 80 of 
> 192.168.0.0

Isn't 192.168.0.0 a network address?  How can you send something to
port 80 of a network address?

-- 
____________________________________________
Dave Hagerty
... and they that weave networks, shall be confounded.
Isaiah 19:9 (KJV)

"On the side of the software box, in the 'System Requirements' section, it
said 'Requires Windows 98 or better'. So I installed Linux."

"There is no limit to the good you can do if you don't care who gets the
credit." - George C. Marshall




More information about the LUG mailing list