Applicable Products
- QTS / QuTS hero NAS (with QVPN service)
- QuHora series
- QMiro series
Scenario
You want to securely access your NAS over the Internet by requiring all connections to use a VPN tunnel. You plan to use the QVPN service on your NAS, but your NAS may not support QVPN. You are also considering using a QNAP router (QHora or QMiro) as a VPN server.
Solution
1. Using QVPN service on a supported NAS
- Enable the QVPN service on your NAS.
- Configure a VPN server (such as QBelt, OpenVPN, L2TP, or WireGuard) in QVPN.
- Manually open only the specific VPN service port(s) on your router that correspond to the VPN protocol you are using. See the table below for commonly used port numbers.
- Do not open other NAS service ports to the Internet. This ensures all access is tunneled through the VPN.
Common VPN Protocol Ports| VPN Protocol | Default Port(s) | Protocol Type |
|---|
| L2TP/IPSec | 500, 4500, 1701 | UDP |
| OpenVPN | 1194 | UDP |
| WireGuard | 51820 | UDP |
| QBelt | 443 | UDP |
Note: The actual port numbers may be customized in your device settings. Always confirm the configured port in your QVPN management interface.
Security Reminder: For best security, avoid enabling UPnP (Universal Plug and Play) on your router. Instead, use manual port forwarding to control which ports are open to the Internet. Enabling UPnP can unintentionally expose additional services to the Internet, increasing security risks.
Tip: If your device cannot locate the router, use the rescan or diagnostics features.
2. If your NAS does not support QVPN service
- You can use a QNAP router (QHora or QMiro series) as a VPN server.
- Configure the VPN server (such as QBelt) on the router using the QuRouter management interface.
- Manually open only the VPN service port(s) on the router for the chosen VPN protocol. Refer to the table above for default ports, and verify the settings in your device interface.
- Connect to the VPN server from your client device, and then access your NAS through the secure VPN tunnel.
- Do not expose NAS service ports directly to the Internet.
Limitations
- If your NAS is too old to support QVPN, you must use an external VPN server, such as a QNAP router, to provide secure access.
- Port numbers may be changed from their defaults. Always verify the actual port configuration in your device interface.
Further Reading
対象製品
- QTS / QuTS hero NAS (with QVPN service)
- QuHora series
- QMiro series
シナリオ
インターネット経由で NAS に安全にアクセスするために、すべての接続が VPN トンネルを使用することを要求します。NAS で QVPN Service を使用する予定ですが、NAS が QVPN をサポートしていない可能性があります。また、QNAP ルーター (QHora または QMiro) を VPN サーバーとして使用することも検討しています。
ソリューション
1. サポートされている NAS で QVPN Service を使用する
- NAS で QVPN Service を有効にします。
- QVPN で QBelt、OpenVPN、L2TP、WireGuard などの VPN サーバーを設定します。
- 使用している VPN プロトコルに対応する特定の VPN サービスポートのみをルーターで手動で開きます。一般的なポート番号については、以下の表を参照してください。
- 他の NAS サービスポートをインターネットに開かないでください。これにより、すべてのアクセスが VPN を通じてトンネルされることが保証されます。
一般的な VPN プロトコルポート| VPN プロトコル | デフォルトポート | プロトコルタイプ |
|---|
| L2TP/IPSec | 500, 4500, 1701 | UDP |
| OpenVPN | 1194 | UDP |
| WireGuard | 51820 | UDP |
| QBelt | 443 | UDP |
注意: 実際のポート番号はデバイス設定でカスタマイズされる場合があります。QVPN 管理インターフェースで設定されたポートを常に確認してください。
セキュリティの注意: 最良のセキュリティを確保するために、ルーターで UPnP (ユニバーサルプラグアンドプレイ) を有効にしないでください。代わりに、手動でポートフォワーディングを使用して、インターネットに開かれるポートを制御します。UPnP を有効にすると、追加のサービスが意図せずインターネットに公開され、セキュリティリスクが増加する可能性があります。
ヒント: デバイスがルーターを見つけられない場合は、再スキャンまたは診断機能を使用してください。
2. NAS が QVPN Service をサポートしていない場合
- QNAP ルーター (QHora または QMiro シリーズ) を VPN サーバーとして使用できます。
- QuRouter 管理インターフェースを使用してルーターで QBelt などの VPN サーバーを設定します。
- 選択した VPN プロトコルのためにルーターで VPN サービスポートのみを手動で開きます。デフォルトポートについては上記の表を参照し、デバイスインターフェースで設定を確認してください。
- クライアントデバイスから VPN サーバーに接続し、安全な VPN トンネルを通じて NAS にアクセスします。
- NAS サービスポートを直接インターネットに公開しないでください。
制限事項
- NAS が古すぎて QVPN をサポートしていない場合は、QNAP ルーターなどの外部 VPN サーバーを使用して安全なアクセスを提供する必要があります。
- ポート番号はデフォルトから変更される場合があります。デバイスインターフェースで実際のポート設定を常に確認してください。
さらに読む