내 CentOS 6.4 x64 시스템에서 PPTP VPN과 OpenVPN이 연결에 실패하고 둘 다 VPN Secret에 대한 오류를 반환합니다! Windows와 Ubuntu에서 구성을 문제 없이 테스트했습니다. 또한 OpenVPN 고급 설정에 Ubuntu에서 사용할 수 있는 CentOS의 "프록시" 탭이 없다는 것을 발견했습니다! 프록시 탭에서도 일부 설정을 지정해야 하기 때문에 언급합니다.
문제에 대한 시스템 로그는 다음과 같습니다.
PPTP:
Sep 25 13:07:00 Athlon NetworkManager[1848]: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Sep 25 13:07:00 Athlon NetworkManager[1848]: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 3180
Sep 25 13:07:00 Athlon NetworkManager[1848]: <info> VPN service 'org.freedesktop.NetworkManager.pptp' appeared, activating connections
Sep 25 13:07:00 Athlon NetworkManager[1848]: <info> VPN plugin state changed: 1
Sep 25 13:07:00 Athlon NetworkManager[1848]: <info> VPN connection 'PPTP' (ConnectInteractive) reply received.
Sep 25 13:07:00 Athlon NetworkManager[1848]: <info> VPN plugin state changed: 3
Sep 25 13:07:00 Athlon NetworkManager[1848]: <info> VPN connection 'PPTP' (Connect) reply received.
Sep 25 13:07:00 Athlon NetworkManager[1848]: <warn> VPN connection 'PPTP' failed to connect: 'No VPN secrets!'.
Sep 25 13:07:00 Athlon NetworkManager[1848]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Sep 25 13:07:00 Athlon NetworkManager[1848]: <info> Policy set 'Auto FFR' (wlan0) as default for IPv4 routing and DNS.
VPN을 켜세요:
Sep 25 12:31:18 Athlon NetworkManager[1846]: <info> Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Sep 25 12:31:18 Athlon NetworkManager[1846]: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 10750
Sep 25 12:31:18 Athlon NetworkManager[1846]: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' appeared, activating connections
Sep 25 12:31:18 Athlon dbus: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.1" (uid=0 pid=1846 comm="NetworkManager) interface="org.freedesktop.NetworkManager.VPN.Plugin" member="NeedSecrets" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManager.openvpn" (uid=0 pid=10750 comm="/usr/libexec/nm-openvpn-service))
Sep 25 12:31:18 Athlon NetworkManager[1846]: <error> [1411635678.904108] [nm-vpn-connection.c:952] connection_need_secrets_cb(): NeedSecrets failed: dbus-glib-error-quark Rejected send message, 1 matched rules; type="method_call", sender=":1.1" (uid=0 pid=1846 comm="NetworkManager) interface="org.freedesktop.NetworkManager.VPN.Plugin" member="NeedSecrets" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManager.openvpn" (uid=0 pid=10750 comm="/usr/libexec/nm-openvpn-service))
Sep 25 12:31:18 Athlon dbus: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.1" (uid=0 pid=1846 comm="NetworkManager) interface="org.freedesktop.NetworkManager.VPN.Plugin" member="Disconnect" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManager.openvpn" (uid=0 pid=10750 comm="/usr/libexec/nm-openvpn-service))
Sep 25 12:31:18 Athlon NetworkManager[1846]: <warn> error disconnecting VPN: Rejected send message, 1 matched rules; type="method_call", sender=":1.1" (uid=0 pid=1846 comm="NetworkManager) interface="org.freedesktop.NetworkManager.VPN.Plugin" member="Disconnect" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManager.openvpn" (uid=0 pid=10750 comm="/usr/libexec/nm-openvpn-service))
Sep 25 12:31:18 Athlon NetworkManager[1846]: <info> Policy set 'Auto FFR' (wlan0) as default for IPv4 routing and DNS.
이 문제를 검색해 보니 NetworkManager에 관련 버그가 있는 것으로 나타났는데 문제를 해결할 수 없습니다.