Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NPF - Mapping a Port Range
On January 19, 2025 8:06:54 AM EST, Pete Long <pete%valar.uk.net@localhost> wrote:
>Here is the latest one:
>
>map $ext_if dynamic proto tcp 192.168.0.6 port 3000-4000 <- $ext_if port 3000-4000
>
>Here is the validation output from 'npfctl validate':
>
>/etc/npf.conf:27:78: port range is not valid near '4000'
I think it's telling you that you can't use a range there, only a starting port. i.e. the end of second range is already defined by the length of your first range.
Home |
Main Index |
Thread Index |
Old Index