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

-- 
  Cameron Lerch <lerchc_(_at_)_skylab_(_dot_)_saturn5_(_dot_)_hn_(_dot_)_org>



Visit your host, monkey.org