more than 1 source ip

Wasim Bashir wasim.bashir" <wasim.bashir@nexor.co.uk
Tue, 26 Nov 2002 10:00:25 -0000


Hi,

how do i select more than 1 source IP, what i want to do is allow vnc access
to an internal win2k box from 2 different ip addresses, how do you do this,
at the moment i'm using :

/sbin/iptables -A PREROUTING -t nat -p tcp -s <outside IP> -d <ip of my
machine>  --dport 5800 -j DNAT --to 10.0.0.199:5800

Any help would be much appreciated.

Thanks

Wasim