LoginSignup
0
0

More than 5 years have passed since last update.

GREメモ

Posted at

前提

  • さくらVPS(CentOS 6.8)×2
  • グローバルIPが1個付与、ローカルは仮想(tun)

設定

# ip tunnel add tun0 mode gre remote [宛先グローバル] local [送信元グローバル] dev eth0
# ifconfig tun0 [送信元ローカル] netmask 255.255.255.252 pointopoint [宛先ローカル]
# ifconfig tun0 mtu 1500 up

パケットキャプチャ

ScreenClip.png

メモ
- GREヘッダが付与される
- 内容は要確認

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