View Full Version : [ViX_Misc] How to enable OpenVPN log feature?
If Install OpenVPN from seed I can see on the VIX gui that a log menu is avilable.
But even after many days of use no log is created.
Is there a way to enable logging for openvpn on vix? And where should it store the log file?
you need to enable logging in openvpn.
in your conf file you can use these options:-
status /etc/openvpn/openvpn-status.log
log /etc/openvpn/openvpn.log
log-append /etc/openvpn/openvpn.log
this is on linux but on your box id probably save the log to usb drive.
you need to enable logging in openvpn.
in your conf file you can use these options:-
status /etc/openvpn/openvpn-status.log
log /etc/openvpn/openvpn.log
log-append /etc/openvpn/openvpn.log
this is on linux but on your box id probably save the log to usb drive.
Thx for your tip.
But looking at what you wrote I'd rather say that the log path will write in etc/... so in flash.
Am I wrong?
@rossi2000
can you explain me please what are status and log-append for?
Thx for your tip.
But looking at what you wrote I'd rather say that the log path will write in etc/... so in flash.
Am I wrong?
yes thats off debian not an STB. ideally you want to change the log location to /media/usb on your STB.
# Output a short status file showing
# current connections, truncated
# and rewritten every minute.
status openvpn-status.log
# By default, log messages will go to the syslog (or
# on Windows, if running as a service, they will go to
# the "\Program Files\OpenVPN\log" directory).
# Use log or log-append to override this default.
# "log" will truncate the log file on OpenVPN startup,
# while "log-append" will append to it. Use one
# or the other (but not both).
;log openvpn.log
;log-append openvpn.log
OpenVPN DOCS:-
http://openvpn.net/index.php/open-source/documentation/howto.html
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.