On 03/04/16 12:18, Marc Haber wrote:
> On Sun, Apr 03, 2016 at 10:06:47AM +0000, Bráulio Bhavamitra wrote:
>> server.conf:
>> ~ ❯❯❯ cat /etc/openvpn/server.conf
>> # OpenVPN server configuration file
>> # Generated by Chef - local changes will be overwritten!
>>
>> # Please refer to the OpenVPN documentation for details on
>> # configuration settings.
>>
>> ca /etc/openvpn/keys/ca.crt
>> cert /etc/openvpn/keys/server.crt
>> comp-lzo
>> dev tun0
>> dh /etc/openvpn/keys/dh2048.pem
>> group nogroup
>> keepalive 10 120
>> key /etc/openvpn/keys/server.key
>> local 191.255.226.138
>> log /var/log/openvpn.log
>> persist-key
>> persist-tun
>> port 1194
>> proto udp
>> script-security 2
>> server 10.8.0.0 255.255.0.0
>> up /etc/openvpn/server.up.sh
>> user nobody
>> verb 9
> 
> If this is the server, you're at least missing the "local" option. If
> this is a client, you're at least missing the "remote" option.

The 'local' option is present.

I would in general recommend to not add local at all, unless you want OpenVPN
to bind to a single IP address only.  On the server side, not using 'local'
means it will bind to 0.0.0.0 ("all configured IP addresses").  If using udp6
or tcp6 without 'local', it will also bind to all configured IPv4 and IPv6
addresses.


--
kind regards,

David Sommerseth

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to