[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NAT does not allow for 1-to-1 port ranges?



I want to do this:
nat on ne0 proto udp from 10.0.0.3/32 port 6000 to any -> ne0 port 6000
nat on ne0 proto udp from 10.0.0.3/32 port 6001 to any -> ne0 port 6001
nat on ne0 proto udp from 10.0.0.3/32 port 6002 to any -> ne0 port 6002
nat on ne0 proto udp from 10.0.0.3/32 port 6003 to any -> ne0 port 6003
....
nat on ne0 proto udp from 10.0.0.3/32 port 6999 to any -> ne0 port 6999
But in 1 line (instead of 1000).
Is this possible?
Please cc me as I'm not on the list.
Thanks.
-- 
  Cameron Lerch <[email protected]>