ufw

Allowing port ranges from specific IP Adress not working

Bug #1337767 reported by Phil E
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ufw
Undecided
Unassigned

Bug Description

Allowing port ranges from specific IP Adresses only is not working.

ufw Version: ufw 0.34~rc-0ubuntu2
Ubuntu 14.04 LTS

The command:

ufw allow from 192.168.1.100 to any port 2500:5000/tcp

returns the error: "Error: Port ranges must be numeric".

The command:

ufw allow 2500:5000/tcp

works just fine.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for using ufw and reporting a bug. When using the extended syntax, you must use the 'proto' clause. Ie, use this instead:
# ufw allow from 192.168.1.100 to any port 2500:5000 proto tcp

Changed in ufw:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers