Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outgoing-port-avoid errors #1122

Open
markster1700 opened this issue Aug 14, 2024 · 1 comment
Open

outgoing-port-avoid errors #1122

markster1700 opened this issue Aug 14, 2024 · 1 comment

Comments

@markster1700
Copy link

Issue:
Explicitly listing port number in "outgoing-port-avoid" will error out the unbound will not start. It is expecting port range instead.

Port rage works. I had to replace my config with the rage rather than using port listing separated by commas.

Unbound version 1.21rc1

@wcawijngaards
Copy link
Member

The notation for a port listing separated by commas is not supported. It is possible to repeat individual port numbers with new lines with outgoing-port-avoid: 13234 and outgoing-port-avoid: 13235 for example. It is also possible to list new lines of outgoing-port-avoid and use a port range "low-high" and with that set several ranges.

Statements of outgoing-port-permit: "low-high" can be mixed in, the lines apply in order, removing and adding port numbers to the total.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants