Bad interface name

Asked by les on 2017-09-21

Is there a reason to restrict interface's name in ufw?
Should ufw accept what iptables accept as iface name?

I've a vpn with lot of nodes, its iface name contain a '-' so cannot use ufw on it.

I've found the check here and cannot found a reason for it:
http://bazaar.launchpad.net/~jdstrand/ufw/trunk/view/head:/src/common.py#L300

thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ufw Edit question
Assignee:
No assignee Edit question
Last query:
2017-09-21
Last reply:
2017-09-24

You could report a bug.

You can also use udev rules to set the interface name

Can you help with this problem?

Provide an answer of your own, or ask les for more information if necessary.

To post a message you must log in.