[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NAT does not allow for 1-to-1 port ranges?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: NAT does not allow for 1-to-1 port ranges?
- From: Cameron Lerch <lerchc_(_at_)_skylab_(_dot_)_saturn5_(_dot_)_hn_(_dot_)_org>
- Date: Fri, 31 Jan 2003 00:01:17 -0800
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