Fortigate CLIのネットワーク系のコマンドをメモしておきます。
# diag sys waninfo
Fortigate # diag sys waninfo
Public/WAN IP: XX.XX.XX.XX
Location:
Latitude: 35.XXXXXX
Longitude: 139.XXXXXX
Accuracy radius: Unknown
Time zone: Asia/Tokyoß
City: Tokyo
Subdivisions:
0: Tokyo
Country: Japan
Postal:
Code: XXX-XXXX
Continent: Asia
Registered country: Unknown
ISP: Unknown
# execute telent [接続先ドメイン] [接続先ポート番号]
Fortigate # execute telnet xxxxxxxxxx.execute-api.ap-northeast-1.amazonaws.com 443
Trying XX.XX.XX.XX...
Connected to XX.XX.XX.XX.
HTTP/1.1 400 Bad Request
Server: awselb/2.0
Date: Fri, 12 Apr 2024 05:30:44 GMT
Content-Type: text/html
Content-Length: 122
Connection: close
<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
</body>
</html>
Connection closed by foreign host.
©️ 2024 Roy Ozaki