OpenVPN logfile

Your question doesn't make sense then... the OpenVPN config file is located at /etc/config/openvpn

I took a quick look to the links you posted.
As far as I can see this is VPN server side
My router is client to my VPN provider.

So I started this topic because:

Just tried again. Call me dumb, call me blind but I just don't see it how to get this to work. Tried

/etc/init.d/openvpn start and
/etc/init.d/openvpn start [istancename]

Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/openvpn.conf

So I did:
ln -s /etc/config/openvpn.conf /etc/openvpn/openvpn.conf

Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/openvpn.conf:1: package (2.4.5)

OpenVPN Client

In your link only the config file of the vpnprovider is used and that works.
What I tried was

/etc/init.d/openvpn start vpnprovider /etc/config/vpn/vpnprovider /etc/config/openvpn

/etc/config/openvpn:
config openvpn 'vpnprovider'
        option enabled '1'
        option verb '11'
        option log '/var/log/openvpn/openvpn.log'
        option status '/var/run/openvpn.vpnprovider.status'
        option config '/etc/config/vpn/vpnprovider/vpnprovider.conf'

In that case only the option config is used not the other ones.
Those have to be specified in /etc/init.d/openvpn.

But let's end this topic. My original question is answered (logfile instead of syslog).
I have to do some extra reading and thanks for your help.

If your problem is solved, please consider marking this topic as [Solved]. (Click the pencil behind the topic...)

You can also mark the reply that solved your problem:
grafik

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.