[Shopping Mountains] Continue to Buffalo "WZR-HP-G300NH" -VPN (PPTP) function

 Buffalo's wireless LAN router "WZR-HP-G300NH" has been published twice so far, but this time I tried the VPN function, so I will deliver it as a sequel.

●WZR-HP-G300NHのVPN機能

 VPN (Virtual Private Network) is a technology that connects a PC at a remote place so that it can be handled like a PC on the same LAN.The VPN requires a line to connect the PC and a VPN server (VPN function), but the WZR-HP-G300NH has a VPN server, so if the Internet line has already been opened, from today.But VPN can be done.

 There are several VPN technologies (standards), but WZR-HP-G300NH adopts the PPTP (Point to Point Tunneling Protocol), and Windows has been installed as standard.Therefore, it goes well with Windows.

 Regarding security, it depends on the setting, but the communication itself may be encrypted at a high level, so it can be said that it is safe first.The more you need to be concerned about, is the management of your user ID and password.If the leak occurs, the user ID and password are taken.As a promise, you have to forget to change your password regularly.Recently, there is a password management software equipped with a password automatic generation function.

●VPNで何ができるのか

 Many of the uses of VPNs are cases where the laptops connected to the LAN are taken out and connected via the Internet from the go.If you use a VPN, you can do almost the same as when you were connected to the LAN even on the go.Opening a shared folder, accessing an intra server, making a recording reservation using a remote desktop connection.While you are on the go, you can almost do what you can do on your home PC.Some people will be able to live a life unrelated to forgotten things.

 However, there are restrictions.First of all, the connection speed is inevitably slow, so large files cannot be exchanged in the same way as LAN.In addition, since the name cannot be resolved due to the specifications of the network, it must be accessed using IP address except for the shared folder of WZR-HP-G300NH.Access to the intra server and remote desktop connections need to use IP addresses.However, the solution is well prepared, so you won't find it inconvenient.

 Then, media sharing (DLNA) cannot be used in VPN due to specification restrictions.However, media sharing is also available if it is over a remote desktop connection.However, even if the remote desktop connection is not available, the playback of the media file itself can be the same as when you are in the LAN.

●VPNセットアップ

 In order to use the VPN function with WZR-HP-G300NH, it is necessary to assign a global IP address to (2) WZR-HP-G300NH in advance (1) to (1) router mode.Furthermore, it is convenient to use the DDNS (dynamic DNS) service or a fixed IP address service to always connect with the same name or address.

 After that, follow the screen in the order of PPTP settings of WZR-HP-G300NH and VPN settings of the PC to be connected from the outside.The following settings are introduced.

 First, from the WZR-HP-G300NH network settings.Here, the global IP address was assigned to the WZR-HP-G300NH using the PPPoE client function, and a fixed host name was obtained using the DYNDNS service.

【買い物山脈】続・バッファロー「WZR-HP-G300NH」 ~VPN(PPTP)機能を試す

背面のスイッチでルーターモードに切り替えるルーターモードにすると、フロントのROUTERランプ(リングのついた惑星っぽい黄緑のアイコン)が点灯する
PPPoEクライアント機能を有効にする。別途接続先のユーザー名とパスワードの入力も必要だ。上位につながっている終端装置もしくはモデムの「PPPoEブリッジ」機能を有効にしておく必要もあるので、そちらの設定変更も忘れずにDDNS設定。ここでは無料のDynDNSを選択した。好みのユーザー名、パスワード、ホスト名(ドメイン名は自動割り当て)を入力して「設定」をクリック。ホスト名の重複が無ければ設定は完了だ

 Next, the PPTP server function is set, and register the user information used to connect to VPN from the outside.

PPTPサーバー設定。警告メッセージの通り、LAN側IPアドレスはデフォルトとは違うものに変更。さらに、PPTPサーバー機能を有効にするPPTP接続ユーザーを追加する

 The VPN connection will be performed using the fixed host name, username, and password obtained in the above settings.

●外部からVPN接続する

 After the settings on the WZR-HP-G300NH side are completed, the rest is the setting on the PC to be used for VPN connection.If you do not forget the fixed host name, username, and password memo, you can go on the go.Here is an example using Windows 7 PCs.

インターネットに接続して「ネットワークと共有センター」を開き、「新しい接続またはネットワークのセットアップ」をクリック「VPN接続をセットアップ」をクリック「インターネット接続(VPN)を使用します」をクリック
インターネットアドレスに、先にDDNS設定で取得したホスト名を入力先にPPTP設定で登録したユーザー名とパスワードを入力「接続」をクリック。以上でVPN接続設定は完了だ
次回以降のVPN接続はネットワークアイコンから。登録した設定名をクリックして、「接続」をクリックすれば、ユーザー名&パスワードの入力ダイアログが開く

 Once the VPN connection is completed, open the WZR-HP-G300NH "Network Service List" on the Web browser (Internet Explorer, etc.).This is a list that can be relied on in an environment where the name cannot be resolved.Speaking of Windows, it plays a role close to the "network" folder.The shared folder can be opened by clicking the folder icon.The PC that is turned off can be used by clicking the clock icon to make it available.However, it is necessary to set the Wake-ON-LAN function in advance in the BIOS or driver.

「ネットワークサービス一覧」のアドレスは「http://(WZR-HP-G300NHのアドレス)/hosts.html」。LANで開くときもVPN接続で開くときも同じアドレスなのでブックマークしておくと便利だVPNの接続速度はタスクマネージャのネットワークで確認できる。暗号化などの処理が間に入る分遅くなる

 Here, the example set on the go is introduced, but in fact, even if it is connected to the LAN, the connection can be set in the same way, and VPN connection can be performed.Name resolution will not be possible.If you are uneasy to set on the go, set it locally and test before going out.

●VPN経由でリモートデスクトップ接続する

 Remote desktop is a software that is standardly installed on Windows to operate PCs in a distance.Remote desktops can be used without VPN, but using VPNs to duplicate user IDs and passwords.It can be said that the communication itself is more secure because it will be doubled.

 Here, the remote desktop connection setting after the VPN connection is completed.The PC at the connection destination is Windows Vista Ultimate, the connected PC is Windows 7 Home Premium (Windows 7 Home Premium cannot be a remote desktop server. Only Professional and Ultimate can be on the server on Windows 7).

 By the way, the remote desktop window does not display full screen even if it is operated in the same way as other windows.Use "Ctrl+Alt+Break" when displaying the full screen.

あらかじめリモートデスクトップが使えるように、接続先のコンピュータの設定([コントロールパネル]-[システムとメンテナンス]-[システム]-[リモート])を変更しておく。リモートデスクトップの接続を開いて([スタート]-[アクセサリ]-[リモートデスクトップ])IPアドレスを入力するユーザー名、パスワードを入力
警告ダイアログが開くが無視して続けて構わない接続作業が完了して接続先のデスクトップが見えるようになった一度接続するとスタートメニューにリモートデスクトップ接続の項目ができる。次回以降の接続の時に活用しよう
●VPNの名前解決

 Up to this point, it has been described as a VPN that cannot be resolved, but in fact, even in a VPN environment, the name can be resolved with a WinS server or DNS server.I had a Samba server that was constantly operating, so I tried to operate the WinS server, but it is not found in ordinary home LANs, so I will prepare one computer separately and keep it operating at all times.Is an unacceptable story.In order to open the shared folder, it is troublesome to first turn on the WinS server or DNS server, and then turn on the PC with the desired folder.

(参考)SambaのWINSサーバー設定例(参考)SambaのWINSクライアント設定例。WINSサーバーを参照するように設定を加えたVPNの接続プロパティのWINSサーバー設定例。接続先のWINSサーバーを参照するように設定を加えた
IPアドレスで開いて登録したネットワークドライブは名前解決ができない環境でも使える

 So let's introduce one simple technique.Even if you say that you connect to VPN, you often need to open the shared folder.In such a case, a network drive is useful.The network drive is a function that allows the shared folder to be treated like a local dive, but if you open the shared folder using an IP address and register it as a network drive, you can do a network drive that does not require name resolution.Once registered as a network drive, even if you change the name, the shared folder will be opened in the same way, so the problem of name resolution will be solved automatically.

●まとめ

 VPN connection is troublesome for the first setting, but once used, it is attractive that you can not let go.In particular, the advantage of launching a PC at home anytime, anywhere and removing the necessary files is great.If you use it together with the remote desktop, the charm will be further improved.Make a recording reservation on the go, setting a batch encoding, rendering rendering, etc.If there is a network that can communicate in both directions like the Internet, it is a VPN and a remote desktop connection that makes it possible to do what you should do.

 In some cases, it is more convenient to use web services such as email, but sometimes you can use local hardware and software.In the Internet area, we often see groups that make content by accumulating streaming and rendering processes that overuse resources.I think VPN can be used not only in work but also in such hobbies, but what about?Is it already used?

 Quiet story rest.It's a very convenient VPN, but when you start using it, there are some inconveniences, such as names that cannot be used beyond the subnet and DLNA.I hope that it will be easier and more convenient around that.