Revision 5db9498d
Added by Ermal LUÇI over 15 years ago
etc/inc/openvpn.inc | ||
---|---|---|
340 | 340 |
$conf .= "down /etc/rc.filter_configure\n"; |
341 | 341 |
|
342 | 342 |
if (!empty($iface_ip)) { |
343 |
$conf .= "local {$iface_ip}\n"; |
|
343 |
if ($mode == "server" || ($mode == "client" && !empty($settings['local_port']))) |
|
344 |
$conf .= "local {$iface_ip}\n"; |
|
344 | 345 |
} |
345 | 346 |
|
346 | 347 |
// server specific settings |
Also available in: Unified diff
Fix local and nobind for client settings