LoginSignup
1
4

More than 5 years have passed since last update.

ICMPトンネルでSSHする

Last updated at Posted at 2017-08-23

概要

手順

共通手順(インストール)

ソースコードをダウンロード、解凍

# yum -y install libpcap-devel gcc
# make

サーバ側

./ptunnel

Proxy側

./ptunnel -p [server-ip] -lp 8000 -da [dest ip] -dp 22

dest ipはサーバ自身だったら127.0.0.1になる

クライアント

Proxyに8000番でSSHすればサーバにつながる

参考

ICMP(PING)を使ってリモートサーバーにSSH(VPN)できるPing Tunnel http://netbuffalo.doorblog.jp/archives/4318550.html

1
4
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
1
4