loggingOpenVPN / PPTP连接

我目前有一个OpenVPN和PPTP的默认设置。 我想知道如何启用服务的最详细的日志logging,以防滥用,我们可以追查谁做了什么IP?

http://openvpn.net/index.php/open-source/documentation/howto.html

样品-CONFIG-文件/ server.conf中

# Set the appropriate level of log # file verbosity. # # 0 is silent, except for fatal errors # 4 is reasonable for general usage # 5 and 6 can help to debug connection problems # 9 is extremely verbose verb 9 

与openvpn选项“动词9”,你会得到比你需要更多的开销。 看看这个项目http://sourceforge.net/projects/ipt-netflow/

对于PPTP,这可能会提供一些线索:

 pon NAME_OF_TUNNEL debug dump logfd 2 nodetach