Actions
Bug #69
closedOpenVPN 'local' directive
Start date:
08/31/2009
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
The OpenVPN local directive is forced to be specified (by the interface drop down), forcing the OpenVPN server to use a specific IP address. That's usually desirable, but:
1) Need to list CARP and IP Alias type VIPs
2) Need an "any" option there to allow listening on all IPs, which is our current behavior, and needed in some circumstances.
Updated by Pierre POMES almost 15 years ago
- Status changed from New to Feedback
- % Done changed from 30 to 100
Updated by Pierre POMES almost 15 years ago
- Status changed from Feedback to Assigned
- % Done changed from 100 to 90
Advice from Ermal:
Please use get_interface_ip() for friendly interfaces
and find_interface_ip() for real interfaces.
Do not roll your own as in:
312
313 // Get ip address for the requested interface
314 $lines = explode(' ', trim(shell_exec("ifconfig {$iface} | grep inet | grep -v inet6")));
315 $iface_ip = $lines[1];
Ticket reopened.
Updated by Pierre POMES almost 15 years ago
- Status changed from Assigned to Feedback
- % Done changed from 90 to 100
/etc/inc/openvpn.inc now used get_interface_ip() when generating config file.
Updated by Chris Buechler over 14 years ago
- Status changed from Feedback to Resolved
Actions