外出先で自宅のLANにアクセスしたい。そんな時に便利なのが仮想的なLANを作り出すVPN(Virtual Private Network)です。自動設定ツール「PiVPN」を使うと、600円台からの小型PCボード「Raspberry Pi(ラズパイ)」で、簡単にVPNサーバーを構築できます。 PiVPNは、対話式でいくつかの質問に答えるだけでVPNサーバーを構築してくれるツールです。VPNにはさまざまな方式がありますが、PiVPNは「OpenVPN」と呼ぶプロトコルを使います。OpenVPNサーバーは、WindowsやMac OS/macOS、LinuxといったPC系のOSはもちろん、iOSやAndroidといったスマートフォンやタブレット向けのOSからも接続可能です。 PiVPNをインストール PiVPNの実体は、VPNサーバーを自動で導入してくれる「シェルスクリプト」です。VPNサーバ
最近宿泊が多いのと、海外出張があるかもしれないなということで、自宅の回線にVPN接続したいと思いました。家で使用しているTP-LinkのルータArcher C3150がOpenVPNサーバー機能を持っているので、これを利用しようと思ったのですが、うまくいかず、仕方なしにRaspberry Piで実装を試みたところ、有志のソフトウェアのおかげで、これが非常に簡単にできました。とても有難い。 外部から自宅の回線に繋ぎたい 最近、家にいないことが多いです。私は多くのファイルを家のNASに置いているので、アクセスできないとちょっと不便。sshで接続すればいいんですけれど、PCならともかくタブレットやスマートフォンからとなると、sshはちょっと扱いづらい。また、もしかするとそろそろ海外出張あるかもよということで、そうするとちょっとハマってしまったソシャゲなど、日本国外のサーバーからのアクセスって弾か
「Raspberry Pi Model B+」を買いました。 Raspberry Pi Model B+ (Plus) 出版社/メーカー: raspberrypi.org メディア: エレクトロニクス この商品を含むブログ (1件) を見る SoftEtherについては、以前LIVAでインストールしたまま放置してましたが、このラズパイに再度インストールした上でVPNを実現します。 Raspberry Pi でSoftEther VPN 1.0 RC2を試す | よもやま雑記帳 を参考にさせていただきました。 なお、今回はwgetによるダウンロードではなく、直接HPからダウンロードしています。ラズパイの場合はSofEtherはOS: Linux、CPU: ARM EABI (32bit)を選択します。 ※セッティング方法を書こうと思いましたが、上記参考サイトとまるっきり同じなので割愛(手抜き
OpenVPNはLinuxをはじめとした幅広いプラットフォームで動作実績があるのが特徴の一つです。 今回は、最近の電子工作ブームでも話題のシングルボードPC 3機種をOpenVPNサーバーとしてセットアップし、OpenVPNのVPNパフォーマンスを測定してみましょう。 Raspberry Pi B+ 泣く子も黙る、最近注目を浴びているシングルボードPCで、国内でも広く知られた機種です。もともとは教育用途での活用を想定して開発が進められてきましたが、その低価格と応用性の広さを強みに、電子工作などの分野で使用されてきています。今回は、今年6月から出荷開始されたRaspberry Pi B+を使って測定しています。 テスト環境のOSとしては、Raspberry Piでは標準的なRaspbianを使用しています。このOSはDebianベースなので、OpenVPNはAPTを使ってインストールできます
小型でお手ごろ価格のシングルボードコンピューター「Raspberry Pi」は、消費電力もわずかなので、常時接続VPN(仮想プライベートネットワーク)サーバーの構築にはもってこいです。VPN環境があれば、外出先から自宅のネットワークへ安全にアクセスしたり、公共のネットワークでも安全にブラウジングできます。Raspberry Piで、自分だけのVPN環境を立ち上げてみましょう。 もしまだRaspberry Piを買っていないなら、こちらの入門ガイドで、Raspberry Piとは何か、何が必要になるのか、どういう素晴らしいことができるのかをチェックしてみてください。VPNの基礎知識については、米Lifehackerの「VPNを構築すべき理由(英文記事)」や、他の参考サイトに目を通すといいでしょう。読んだ後はここに戻ってきてくださいね。 では、はじめましょう! 必要なもの Raspberry
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く