このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
05_network:04_vyatta:vyatta_ppt [2012/12/07 02:20] – 作成 matsui | 05_network:04_vyatta:vyatta_ppt [2012/12/07 02:26] (現在) – [環境] matsui | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== Vyatta PPTP ====== | ||
+ | PPTP (Point to Point Tunneling Protocol)は素晴らしい軽量 VPNプロトコルで、\\ | ||
+ | 高スピードの基本的なオンラインセキュリティーを提供します。 \\ | ||
+ | PPTPは幅広いタイプのデスクトップやモバイルデバイスに内蔵され、\\ | ||
+ | 128-bit暗号化機能があります。PPTPは、もしOpenVPNがお持ちの機器になく、\\ | ||
+ | スピードが最優先でしたらよい選択肢です。 | ||
+ | ・PPTP(1723番ポート)\\ | ||
+ | ・GRE(47番ポート) | ||
+ | |||
+ | ====== 環境 ====== | ||
+ | |Global側|eth0|10.10.100.1| | ||
+ | |Local側|eth1|192.168.1.1| | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | + Windows | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | ====== 設定 ====== | ||
+ | |||
+ | <code console> | ||
+ | # set vpn pptp remote-access outside-address 10.10.100.1 | ||
+ | # set vpn pptp remote-access client-ip-pool start 192.168.1.201 | ||
+ | # set vpn pptp remote-access client-ip-pool stop 192.168.1.220 | ||
+ | # set vpn pptp remote-access dns-servers server-1 192.168.1.1 | ||
+ | # set vpn pptp remote-access authentication mode local | ||
+ | # set vpn pptp remote-access authentication local-users username vpn-user password ******** | ||
+ | </ | ||
+ | |||
+ | ===== 最後にNatの設定を忘れずに ===== | ||
+ | 上記の設定で、Windowsあkらl2tp/ | ||
+ | router-A 側のローカルから外部に接続できません。\\ | ||
+ | 外部へ接続できるようにするには、Natマスカレードの設定を入れてあげる。 | ||
+ | |||
+ | [[05_network: |