• 検索結果がありません。

5.​ ​ 動作確認

ドキュメント内 SoftEther VPN(シングル構成)構築手順 (ページ 35-40)

5-1. ​ ​ 非 VPN ​ ​ Sever 間でのプライベート IP を使った疎通確認(対象: vpn003vpn004

5-1-1.​​北京リージョン(vpn004)⇒東京リージョン(vpn003)ping疎通確認

​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​北京リージョンの非VPN​ ​Serverから東京リージョンの非VPN​ ​Serverへpingコマンドでプラ イベートIPを指定して、疎通を確認をします。

#​​ping​​-c​​5​​172.16.0.155

PING​ ​172.16.0.155​ ​(172.16.0.155)​ ​56(84)​ ​bytes​ ​of​ ​data.

64​ ​bytes​ ​from​ ​172.16.0.155:​ ​icmp_seq=1​ ​ttl=62​ ​time=61.0​ ​ms 64​ ​bytes​ ​from​ ​172.16.0.155:​ ​icmp_seq=2​ ​ttl=62​ ​time=60.9​ ​ms 64​​bytes​​from​​172.16.0.155:​​icmp_seq=3​​ttl=62​​time=61.2​​ms 64​ ​bytes​ ​from​ ​172.16.0.155:​ ​icmp_seq=4​ ​ttl=62​ ​time=61.0​ ​ms 64​ ​bytes​ ​from​ ​172.16.0.155:​ ​icmp_seq=5​ ​ttl=62​ ​time=61.1​ ​ms ---​​172.16.0.155​​ping​​statistics​​---

5​ ​packets​ ​transmitted,​ ​5​ ​received,​ ​0%​ ​packet​ ​loss,​ ​time​ ​4005ms rtt​ ​min/avg/max/mdev​ ​=​ ​60.908/61.071/61.225/0.103​ ​ms

5-1-2.​ ​北京リージョン(vpn004)⇒東京リージョン(vpn003)traceroute確認

​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​北京リージョンの非VPN​ ​Serverから東京リージョンの非VPN​ ​Serverへtracerouteコマンド でプライベートIPを指定して、通信経路を確認をします。

#​ ​traceroute​ ​172.16.0.155

traceroute​ ​to​ ​172.16.0.155​ ​(172.16.0.155),​ ​30​ ​hops​ ​max,​ ​60​ ​byte​ ​packets

​ ​1​ ​​ ​10.0.0.250​ ​(10.0.0.250)​ ​​ ​0.169​ ​ms​ ​​ ​0.155​ ​ms​ ​​ ​0.145​ ​ms

​​2​​​​192.168.40.2​​(192.168.40.2)​​​​63.581​​ms​​​​63.573​​ms​​​​63.569​​ms

​ ​3​ ​​ ​172.16.0.155​ ​(172.16.0.155)​ ​​ ​63.761​ ​ms​ ​​ ​63.754​ ​ms​ ​​ ​63.746​ ​ms

©​ ​2017​ ​SB​ ​Cloud​ ​​

Corp.​ ​​

©​ ​2009-2017​ ​Alibaba​ ​Cloud​

Alibaba​ ​Cloud​ ​[ナレッジドキュメント]

SoftEther​ ​VPN(シングル構成)構築手順 ​Version1.0(2017/10/31)

5-1-3.​ ​東京リージョン(vpn003)⇒北京リージョン(vpn004)ping疎通確認

​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​東京リージョンの非VPN​ ​Serverから北京リージョンの非VPN​ ​Serverへpingコマンドでプラ イベートIPを指定して、疎通を確認をします。

#​ ​ping​ ​-c​ ​5​ ​10.0.0.251

PING​​10.0.0.251​​(10.0.0.251)​​56(84)​​bytes​​of​​data.

64​ ​bytes​ ​from​ ​10.0.0.251:​ ​icmp_seq=1​ ​ttl=62​ ​time=61.0​ ​ms 64​ ​bytes​ ​from​ ​10.0.0.251:​ ​icmp_seq=2​ ​ttl=62​ ​time=61.0​ ​ms 64​ ​bytes​ ​from​ ​10.0.0.251:​ ​icmp_seq=3​ ​ttl=62​ ​time=60.9​ ​ms 64​​bytes​​from​​10.0.0.251:​​icmp_seq=4​​ttl=62​​time=61.0​​ms 64​ ​bytes​ ​from​ ​10.0.0.251:​ ​icmp_seq=5​ ​ttl=62​ ​time=61.0​ ​ms ---​ ​10.0.0.251​ ​ping​ ​statistics​ ​---

5​​packets​​transmitted,​​5​​received,​​0%​​packet​​loss,​​time​​4004ms rtt​ ​min/avg/max/mdev​ ​=​ ​60.988/61.051/61.099/0.160​ ​ms

5-1-4.​ ​東京リージョン(vpn003)⇒北京リージョン(vpn004)traceroute確認

​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​東京リージョンの非VPN​ ​Serverから北京リージョンの非VPN​ ​Serverへtracerouteコマンド でプライベートIPを指定して、通信経路を確認をします。

#​ ​traceroute​ ​10.0.0.251

traceroute​​to​​10.0.0.251​​(10.0.0.251),​​30​​hops​​max,​​60​​byte​​packets

​ ​1​ ​​ ​172.16.0.154​ ​(172.16.0.154)​ ​​ ​0.206​ ​ms​ ​​ ​0.183​ ​ms​ ​​ ​0.174​ ​ms

​ ​2​ ​​ ​192.168.40.1​ ​(192.168.40.1)​ ​​ ​63.580​ ​ms​ ​​ ​63.574​ ​ms​ ​​ ​63.569​ ​ms

​ ​3​ ​​ ​10.0.0.251​ ​(10.0.0.251)​ ​​ ​63.629​ ​ms​ ​​ ​63.624​ ​ms​ ​​ ​63.620​ ​ms

©​ ​2017​ ​SB​ ​Cloud​ ​​

Corp.​ ​​

©​ ​2009-2017​ ​Alibaba​ ​Cloud​

Alibaba​ ​Cloud​ ​[ナレッジドキュメント]

SoftEther​ ​VPN(シングル構成)構築手順 ​Version1.0(2017/10/31)

5-2.​ ​拠点間でVPN接続でのWebサーバーのヘッダ情報の取得(対象:vpn003、vpn004)

​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​東京リージョンの非VPN​ ​Serverから北京リージョンのWeb​ ​Serverへcurlコマンドでヘッダ情 報が取得できること確認をします。

#​ ​curl​ ​-I​ ​10.0.0.251 HTTP/1.1​ ​200​ ​OK

Date:​ ​Thu,​ ​19​ ​Oct​ ​2017​ ​00:47:26​ ​GMT Server:​ ​Apache/2.4.6​ ​(CentOS)

Last-Modified:​ ​Wed,​ ​18​ ​Oct​ ​2017​ ​23:58:41​ ​GMT ETag:​ ​"58-55bdb04de1100"

Accept-Ranges:​ ​bytes Content-Length:​ ​88

Content-Type:​ ​text/html;​ ​charset=UTF-8

©​ ​2017​ ​SB​ ​Cloud​ ​​

Corp.​ ​​

©​ ​2009-2017​ ​Alibaba​ ​Cloud​

Alibaba​ ​Cloud​ ​[ナレッジドキュメント]

SoftEther​ ​VPN(シングル構成)構築手順 ​Version1.0(2017/10/31)

5-3.​ ​実効スループット測定(対象:vpn001、vpn002)

 ​ ​​ ​​ ​​ ​​SoftEther​ ​VPN​ ​コマンドライン管理ユーティリティ​ ​(vpncmd)を使って、北京−東京リージョン間のVPN  Server​の通信速度を測定します。詳細については、​こちら​をご参照ください。

北京リージョンのSoftEther​ ​VPN​ ​ServerでTrafficServerコマンドを実行します。

#​ ​cd​ ​/usr/local/vpnserver

#​ ​./vpncmd

1.​ ​Management​ ​of​ ​VPN​ ​Server​ ​or​ ​VPN​ ​Bridge 2.​ ​Management​ ​of​ ​VPN​ ​Client

3.​ ​Use​ ​of​ ​VPN​ ​Tools​ ​(certificate​ ​creation​ ​and​ ​Network​ ​Traffic​ ​Speed​ ​Test​ ​Tool) Select​ ​1,​ ​2​ ​or​ ​3:

3を選択

VPN​ ​Tools>TrafficServer

TrafficServer​ ​command​ ​-​ ​Run​ ​Network​ ​Traffic​ ​Speed​ ​Test​ ​Tool​ ​in​ ​Server​ ​Mode Starting​ ​the​ ​server​ ​program...

The​​server​​program​​has​​been​​started.​​Now​​the​​IPv4​​TCP​​port​​9821​​is​​set​​to​​Listen​​status​​and listening​ ​for​ ​connection​ ​from​ ​the​ ​client.

The​ ​IPv6​ ​TCP​ ​Port​ ​9821​ ​is​ ​listening​ ​to​ ​accept​ ​clients.

---

The​ ​Network​ ​Traffic​ ​Speed​ ​Test​ ​Tool​ ​in​ ​Server​ ​Mode​ ​started.

Press​ ​the​ ​Enter​ ​key​ ​to​ ​stop​ ​the​ ​server​ ​program.

---

©​ ​2017​ ​SB​ ​Cloud​ ​​

Corp.​ ​​

©​ ​2009-2017​ ​Alibaba​ ​Cloud​

Alibaba​ ​Cloud​ ​[ナレッジドキュメント]

SoftEther​ ​VPN(シングル構成)構築手順 ​Version1.0(2017/10/31)

東京リージョンのSoftEther​ ​VPN​ ​ServerでTrafficClientコマンドを実行します。

#​ ​cd​ ​/usr/local/vpnserver

#​​./vpncmd

1.​ ​Management​ ​of​ ​VPN​ ​Server​ ​or​ ​VPN​ ​Bridge 2.​​Management​​of​​VPN​​Client

3.​ ​Use​ ​of​ ​VPN​ ​Tools​ ​(certificate​ ​creation​ ​and​ ​Network​ ​Traffic​ ​Speed​ ​Test​ ​Tool) Select​ ​1,​ ​2​ ​or​ ​3:

3を選択

VVPN​ ​Tools>TrafficClient

TrafficClient​​command​​-​​Run​​Network​​Traffic​​Speed​​Test​​Tool​​in​​Client​​Mode Measurement​ ​Server​ ​Name​ ​and​ ​Port​ ​Number​ ​(9821​ ​if​ ​omitted):​ ​10.0.0.250       ↑

       北京リージョンのSoftEther​ ​VPN​ ​ServerのプライベートIPを入力 数分後、東京リージョンのSoftEther​ ​VPN​ ​ServerでTrafficClientコマンドの結果が出力されます。

Network​ ​Traffic​ ​Speed​ ​Test​ ​Tool

Item​​Name​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​|​​​​​​​​​​​​Normal​​View|Simplified​​View ---+---+--- Time​ ​Span​ ​for​ ​Measurement​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​|​ ​​ ​​ ​​ ​​ ​00:00:15.009|

Data​ ​Correction​ ​for​ ​Ethernet​ ​Frames​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​|​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​Yes|

Communication​​Data​​Volume​​in​​Download​​Direction​​​​​​​​​​​​​​|182,828,946​​Bytes|​​​​182.83​​MBytes Communication​ ​Data​ ​Volume​ ​in​ ​Upload​ ​Direction​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​|373,269,304​ ​Bytes|​ ​​ ​373.27​ ​MBytes Total​ ​Communication​ ​Data​ ​Volume​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​|556,098,250​ ​Bytes|​ ​​ ​556.10​ ​MBytes Relay​ ​Device​ ​Input​ ​Output​ ​Total​ ​Throughput​ ​Computation|​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​No|

Average​​Throughput​​in​​Download​​Direction​​​​​​​​​​​​​​​​​​​​​​​​​​​​|​​​​​​97,450,301​​bps|​​​​​​​​​​97.45​​Mbps Average​ ​Throughput​ ​in​ ​Upload​ ​Direction​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​|​ ​​ ​198,957,587​ ​bps|​ ​​ ​​ ​​ ​198.96​ ​Mbps Total​ ​Average​ ​Throughput​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​|​ ​​ ​296,407,888​ ​bps|​ ​​ ​​ ​​ ​296.41​ ​Mbps The​ ​command​ ​completed​ ​successfully.

VPN​ ​Tools>

北京リージョンと東京リージョンのSoftEther​​VPN​​Serverでvpncmdを終了します。

©​ ​2017​ ​SB​ ​Cloud​ ​​

Corp.​ ​​

©​ ​2009-2017​ ​Alibaba​ ​Cloud​

ドキュメント内 SoftEther VPN(シングル構成)構築手順 (ページ 35-40)

関連したドキュメント