文書の過去の版を表示しています。


NanoPi R2SでSoftEther VPNの拠点間L2-VPN中継器を作る

知り合いの会社では、遠隔地という名の役員の自宅にデータバックアップサーバーを置いてある。昨今の電気代高騰と猛暑により、バックアップ開始時に自動的にサーバーの電源が入り、終わったら自動的に電源が切れるようにできないか、という相談を受けた。

サーバーはBMC/IPMIが載ってるので、リモートで電源ON/OFFをするのは造作ない。問題は現状BMCのネットワークが物理的に繋がっておらず、仮に繋いだとしてもルータ越しなのでアクセスできないってこと。技術的にはポートフォワードなりしてやれば行けるけど、さすがにBMCをインターネッツに解き放つのはね…

バックアップサーバー自体はOS側のSoftEther VPN Clientで社内に繋がっている。であるならば、BMC側もSoftEtherで社内に繋がってくれれば都合がよい。かと言って、BMCで動くSoftEtherなんてものは当然存在しないので、NanoPi R2SでSoftEther VPN Bridgeを動かし、BMCを社内LANにVPN接続してしまおうという魂胆で表題となる。

FriendlyWRTインストール

システム>スタートアップ firewall 停止、無効 dnsmasq odhcpd

ネットワーク>インターフェース br-lan 削除 ネットワーク>インターフェース br-lan 設定解除

softethervpn-bridge 4.38-9760-2

Installing softethervpn-bridge (4.38-9760-2) to root… The SoftEther VPN Bridge service has been started.

Let's get started by accessing to the following URL from your PC:

https://:5555/

or

https:///

Note: IP address may vary. Specify your server's IP address. A TLS certificate warning will appear because the server uses self signed certificate by default. That is natural. Continue with ignoring the TLS warning.

Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/aarch64_generic/packages/softethervpn-bridge_4.38-9760-2_aarch64_generic.ipk Installing softethervpn-base (4.38-9760-2) to root… Downloading https://mirrors.ustc.edu.cn/openwrt/releases/23.05.3/packages/aarch64_generic/packages/softethervpn-base_4.38-9760-2_aarch64_generic.ipk Configuring softethervpn-base. Configuring softethervpn-bridge.

  • network/nanopi_r2s_build_softether_vpn_bridge_box.1720961722.txt.gz
  • 最終更新: 2024-07-14 21:55
  • by Decomo