Actions
Bug #156
closedOpenVPN rules not added properly
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
11/15/2009
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
OpenVPN rules are added to $OpenVPN, which is set to:
OpenVPN = "{ openvpn }"
needs to specify the tun interfaces, ovpnsX and ovpncX.
Updated by Ermal Luçi about 16 years ago
- Status changed from New to Rejected
tun/vpns/ovpns interfaces needs to be added to the openvpn group.
This is the behaviour intended so this report is bogus.
[code]
/* is our device already configured */
if (mwexec("/sbin/ifconfig {$devname}")) {
/* create the tap device if required */
if (!file_exists("/dev/{$tunname}"))
exec("/sbin/ifconfig {$tunname} create");
/* rename the device */
mwexec("/sbin/ifconfig {$tunname} name {$devname}");
/* add the device to the openvpn group */
mwexec("/sbin/ifconfig {$devname} group openvpn");
}
[/code]
Actions