You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<title>IPV6 global ip test</title>
|
|
</head>
|
|
<body>
|
|
<h2>What is this?</h2>
|
|
<pre>
|
|
* List of public IPv6 IP assigned to the currently running server is shown below.
|
|
* We can click on each link and verify whether that IP is globally accessible or not by visiting the link
|
|
* Optionally, we can add new public IPv6 address using the form displayed in the bottom.
|
|
* Newly added IP will only persist for one minute. It will be removed after that.
|
|
* Please note that, we are only allowed change last 64 bits of existing global ip. Otherwise it won't work
|
|
</pre>
|
|
<div id="app">
|
|
<h3>List of global IPv6 address assigned to this server</h3>
|
|
<ul id="cont-ip-list">
|
|
<li v-for="ip in ips">
|
|
<a target="_blank" :href="'http://[' + ip + ']:3553'">
|
|
{{ ip }}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<form action="./ips" method="post" @submit.prevent="addIp()">
|
|
<input ref="ip" type="text" minlength="24" maxlength="39" pattern="^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$">
|
|
<button type="submit">Add IP</button>
|
|
</form>
|
|
</div>
|
|
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
|
|
<script src="./app.js" type="text/javascript" charset="utf-8"></script>
|
|
</body>
|
|
</html>
|
|
|