[7.460][QUESTION][ANSWERED] Is my openVPN configuration correct?

hi Friends !

just check log with openvpn is that a problem !

# cat openvpn.log 
2009:06:19-00:19:52 ace75 openvpn[3873]: TCP/UDP: Closing socket
2009:06:19-00:19:52 ace75 openvpn[3873]: /usr/bin/openvpn_updown.plx down tun0 1500 1556 10.242.2.1 10.242.2.2 init
2009:06:19-00:19:53 ace75 openvpn[3873]: Closing TUN/TAP interface
2009:06:19-00:19:53 ace75 openvpn[3873]: /sbin/ifconfig tun0 0.0.0.0
2009:06:19-00:19:53 ace75 openvpn[3873]: SIGTERM[hard,] received, process exiting
2009:06:19-00:23:53 (none) openvpn[3806]: OpenVPN 2.1_rc13 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Jun 12 2009
2009:06:19-00:23:53 (none) openvpn[3806]: WARNING: using --duplicate-cn and --client-config-dir together is probably not what you want
2009:06:19-00:23:53 (none) openvpn[3806]: WARNING: --ifconfig-pool-persist will not work with --duplicate-cn
2009:06:19-00:23:53 (none) openvpn[3806]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2009:06:19-00:23:53 (none) openvpn[3806]: TLS-Auth MTU parms [ L:1556 D:140 EF:40 EB:0 ET:0 EL:0 ]
2009:06:19-00:23:53 (none) openvpn[3806]: TUN/TAP device tun0 opened
2009:06:19-00:23:53 (none) openvpn[3806]: /sbin/ifconfig tun0 10.242.2.1 pointopoint 10.242.2.2 mtu 1500
2009:06:19-00:23:53 (none) openvpn[3806]: /usr/bin/openvpn_updown.plx up tun0 1500 1556 10.242.2.1 10.242.2.2 init
2009:06:19-00:23:56 (none) openvpn[3806]: ERROR: Linux route add command failed: external program exited with error status: 7
2009:06:19-00:23:56 (none) openvpn[3806]: Data Channel MTU parms [ L:1556 D:1450 EF:56 EB:135 ET:0 EL:0 AF:3/1 ]
2009:06:19-00:23:56 (none) openvpn[3849]: Listening for incoming TCP connection on [undef]:443
2009:06:19-00:23:56 (none) openvpn[3849]: TCPv4_SERVER link local (bound): [undef]:443
2009:06:19-00:23:56 (none) openvpn[3849]: TCPv4_SERVER link remote: [undef]
2009:06:19-00:23:56 (none) openvpn[3849]: Initialization Sequence Completed


Thanks
Parents Reply
  • The two warnings and the note can and should be ignored and are no misconfiguration, but intended. If you want to get rid of the warnings, you could disable the "Duplicate CN" setting in WebAdmin, they will then disappear.

    The ERROR means that openvpn_updown.plx could not talk to confd. If that happens always, please make sure confd is running and post the respective log snippet from /tmp/confd-debug.log.
Children