[lug] quick iptables rule question

Dan Ferris dan at ferrises.com
Wed Nov 19 12:16:51 MST 2003


Yeah, but it is the network address he posted.

Grep Ergo Sum - I grep therefore I am wrote:

> 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?
> 




More information about the LUG mailing list