VPNに接続できません

SoftEther VPN に関するご質問はこのフォーラムにお気軽にご投稿ください。
Post Reply
s.arita
Posts: 1
Joined: Mon Jul 08, 2024 5:14 am

VPNに接続できません

Post by s.arita » Mon Jul 08, 2024 5:24 am

全く要点を絞っていない質問で大変申し訳ございません。

https://gadget-live.net/sakura-vps-softether-vpn/#toc1
このこのサイトを元にすべて丸写しでVPNを構築しましたが、以下のメッセージが表示されて接続できません。
「L2TP-VPNサーバが応答しませんでした。接続し直してください。それでも問題が解決しない場合は、設定を確認し、管理者に問い合わせてください。」

VPNサーバは上述の通り「さくらインターネット」、石狩に構築しています。
SoftEtherの設定は、私のローカルPC(m1mac)にて仮想環境(ParallesDesktop)でWindows11を起動し設定してます。

仮想Hubリストを確認したところ、以下の表示になります。
root@ik1-319-19962:/usr/local/vpnserver# /usr/local/vpnserver/vpncmd localhost /SERVER /CMD HubList
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.42 Build 9798 (English)
Compiled 2023/06/30 11:06:58 by buildsan at crosswin with OpenSSL 3.0.9
Copyright (c) 2012-2023 SoftEther VPN Project. All Rights Reserved.

Password: **********

Connection has been established with VPN Server "localhost" (port 443).

You have administrator privileges for the entire VPN Server.

VPN Server>HubList
HubList command - Get List of Virtual Hubs
Item |Value
------------------+-------------------
Virtual Hub Name |VPN
Status |Online
Type |Standalone
Users |1
Groups |0
Sessions |1
MAC Tables |1
IP Tables |1
Num Logins |0
Last Login |2024-07-03 19:19:20
Last Communication|2024-07-08 13:35:10
Transfer Bytes |16,730,156
Transfer Packets |324,456
The command completed successfully.

しかしユーザーリストを確認するとユーザは表示されません
root@ik1-319-19962:/usr/local/vpnserver# /usr/local/vpnserver/vpncmd localhost /SERVER /CMD UserList /HUB:VPN
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.42 Build 9798 (English)
Compiled 2023/06/30 11:06:58 by buildsan at crosswin with OpenSSL 3.0.9
Copyright (c) 2012-2023 SoftEther VPN Project. All Rights Reserved.

Password: **********

Connection has been established with VPN Server "localhost" (port 443).

You have administrator privileges for the entire VPN Server.

VPN Server>UserList /HUB:VPN
UserList command - Get List of Users
Before executing this command, first select the Virtual Hub to manage using the Hub command.

何が間違っているのか皆目わからないので、教えていただけないしょうか?

何卒、よろしくお願いします。

cedar
Site Admin
Posts: 2262
Joined: Sat Mar 09, 2013 5:37 am

Re: VPNに接続できません

Post by cedar » Tue Jul 09, 2024 2:21 am

最後のエラーについては、オプションの指定順序の問題のようです。
VPNCMD の /CMD オプションよりあとはすべてコマンドと解釈されてしまうので、/HUB オプションは /CMD より前に指定する必要があります。

L2TP で接続しようとしているようですが、L2TP/IPsec 機能は有効にされていますか?

Post Reply