SSH VPN

user-pic
Vote 0 Votes

man ssh /VPN 可以找到相關說明
使用前需設定 sshd_config
PermitTunnel yes
PermitRootLogin yes
可以在 local 及 remote 建立 interface tun0, 也可以綁 IP, 跑路由
這個 Script sshtun.sh 可以跟遠端主機建立 SSH VPN tunnel,
default route 走遠端的 IP 出去, 遠端主機需開啟 ip_forward 及 NAT 設定

About this Entry

This page contains a single entry by Pank published on May 1, 2014 2:24 AM.

Old CentOS ISOs was the previous entry in this blog.

systemctl is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives