
<!DOCTYPE html>
<html>
    <head>
        <title>VPN Routing Test</title>
        <style>
            body {
                font-family: sans-serif;
                padding: 20px;
                line-height: 1.6;
            }
            .status-box {
                border: 1px solid #ccc;
                padding: 15px;
                margin-bottom: 20px;
                border-radius: 8px;
            }
            .ip-highlight {
                font-size: 1.5em;
                color: #007bff;
                font-weight: bold;
            }
            iframe {
                width: 100%;
                height: 100px;
                border: 2px dashed #dc3545;
                border-radius: 8px;
            }
        </style>
    </head>
    <body>
        <div class="status-box">
            <h2>1. 外部路由測試 (Public Exit IP)</h2>
            <p>你目前的訪問來源 IP 為：</p>
            <div class="ip-highlight">216.73.217.134</div>
            <p><small>(若顯示 VPN 伺服器 IP，代表主路由已加密)</small></p>
        </div>

        <div class="status-box">
            <h2>2. 內部隧道測試 (Intranet Connectivity)</h2>
            <p>目標：192.168.0.200 (僅限 VPN 通道存取)</p>
            <iframe src="http://192.168.0.200:7080"></iframe>
            <p>
                <small
                    >注意：若顯示「連線拒絕」或錯誤，代表 VPN
                    路由未正確導向內網段。</small
                >
            </p>
        </div>
    </body>
</html>
