Goal: Install L2TP VPN client on Ubuntu 12.10 and connect to remote access VPN pre-configured in CloudStack
Install the required packages (as root user or sudo)
|
1 |
apt-get install l2tp-ipsec-vpn |
Launch “L2TP Ipsec VPN Applet” from your Application/Internet menu. A new applet should appear in the system tray.
Right click on that, and Edit Connections, Add, give it an arbitrary name
IPsec
Remote Server: <VPN endpoint IP>
Server Identity: not required
[ * ] Use pre-shared key for authentication
L2TP
[ * ] Redial
PPP
[ ] Unencrypted pass (PAP)
[ ] Challenge Authentication Protocol (CHAP)
[ * ] Microsoft CHAP (MS-Chap)
[ * ] Microsoft CHAP Version 2 (MS-CHAPv2)
Username: <your user>
Password <password>
Click “IP Settings” button, then “Routes” button
[ * ] Use following explicit routes to intranet locations
Add static route to your cloud network, e.g. 10.140.4.0 255.255.255.0
IMPORTANT: bug alert! There is a bug in L2tpIPsecVPN which apparently doesn’t send the password correctly. After adding new or editing existing connections, you need to add your user’s password into /etc/ppp/connection-name.options.xl2tpd
|
1 2 3 |
remotename "" name "vpnuser" password "securepassword" |
Now click on your applet icon, click the name of your new connection and it should connect.
Verify routing table
|
1 2 3 4 5 6 7 |
route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 88.195.195.1 0.0.0.0 UG 0 0 0 eth0 10.1.2.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 10.140.4.0 0.0.0.0 255.255.255.0 U 0 0 0 ppp0 |

ありがとうございます | 最近 を探しているの検索て私がした私が持っている、情報 この対象トピック |年齢|長い時間}とあなたは最高です 今まで|これまでにを発見|に出くわしました|私は} {出て発見しました。 しかし 、に関するについて? 供給源 あなたはありますか? いないいない 実現 {今はない| あなたはあなたがしている |ない|ないか実際にである私は何
ニースポストを議論しているのか分からない個体を発見しました。その本当に非常に良い記事。私はすべての重要な点に気づきました。私はそう思う
Grade A stuff. I’m unnlbstioqaeuy in your debt.
本当に それは 価値ポストと私は 行くとピック感謝の多くは、そのような種類を共有します技術のそれは共有のままいることを確認してください。 専門家アドバイス私がした頻繁にあなたに行く楽しんサイト
*あら! 素晴らしい ライトアップ男。ウルRSSで 私は私がよ経験していただきありがとうございます。それに加入することがなぜできないのか分かりません。 難易問題 取得知見取得同一のRSS誰がありますか?親切に回答を知っている人。 Thnkx
へや私はのためです。私はこの板を渡って来て、私 UNCOVERこれ本当に価値&良い取引私を助けました。私は戻って何かを与えることを期待して援助|あなたのような他の人他の人は私を助けました。貢献のために、感謝の意をウェブサイト |このインターネットウェブに| コンテンツコンテンツ素材いくつかの本当に を
コンテンツ素材をここで問題威嚇されている素晴らしい、あなたの努力のためにそれを感謝しています。永遠にそれを| 維持保つ あなたがしなければならない! グレイ運の。 機能ワーク、大ポスト