0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

自宅ネットワークでポートマッピングしようとして出来なかった話

Last updated at Posted at 2024-02-04

○やりたいこと

自宅ルーターでポートマッピングして外の環境からFortigateにSSL-VPN接続してLAN配下の機器とSSL-VPN通信する

○NW環境

image.jpg

○やったこと

Aterm WG2600HS2(Wi-Fiルーター)でポートマッピングの設定

○結果

契約している回線がポートマッピング対応してなくてポート解放出来なかった。
この結論に辿り着くまでに休みを1日つぶした。
IMG_4290.jpeg
PPPoE接続に変更してもダメだった。
Powershellでtest net connectionしてもポートが開いてること確認できなかった。
ウェブでtest net connectionを実施してくれるサイト見つけてやってみてもダメだった。

○ハマったところ

ポートマッピング設定でポートが解放できないこと。

○わからなかったところ

ipv6プラスからPPPoE接続にしたのに何故ポート解放出来なかったのか。

○その他

ポートマッピングとポートフォワーディングはほぼ同じ意味らしい。
Fortigateをルーターの位置に置き換えればポートマッピングを気にしなくて良かったけど、サポート期限切れてるし古いOSだから外に出したくなかったのでこの構成となった。

○参考記事

参考にさせていただきました。ありがとうございました!

Atermのポートマッピング設定
https://www.aterm.jp/function/wg2600hs2/guide/portmapping.html

ポートとは
※使われていないポートなら適当なポートでもSSLVPN接続できた
https://27bit.com/question-number.html

v6プラスのポート解放
https://www.akakagemaru.info/port/v6-portfw.html
https://kuritaroh.com/2018/04/05/v6plusportopen/
http://dotsukareta.blogspot.com/2018/01/v6portopen.html

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?