OpenVPN 使用相同的使用者名稱和密碼保持多個連接

OpenVPN 使用相同的使用者名稱和密碼保持多個連接

我已經設定了我的 Open VPN。我可以連接到它,但我的問題是當我在 2 個不同的設備中使用相同的用戶名時,它總是重新連接

裝置 1 連接,裝置 2 重新連接,1 秒後裝置 1 重新連接,裝置 2 連接

但如果我為每台設備使用 2 個不同的用戶名,它可以正常工作,沒有人會斷開連接

是否可以為每個裝置設定 1 個使用者名稱和密碼並且連線應該穩定

答案1

嘗試設定duplicate-cn

–duplicate-cn
Allow multiple clients with the same common name to concurrently connect. 
In the absence of this option, OpenVPN will disconnect a client instance upon
connection of a new client having the same common name.

相關內容