Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: server/site_tests/network_VPN/050IPSecGenesis

Issue 6765030: Add automated StrongSwan test (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: Removed an unused config file. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 #
5 # An example of how to set up an IPSec VPN from the Client (DUT),
6 # through the Router to to the Server.
7 #
8
9 { "name" : "VPNIPsecGenesis",
10 "steps":[
11 # Create WiFi connection from Client to Router.
12 [ "create", { "type" : "hostap" } ],
13 [ "config", { "channel" : "2412", "mode" : "11b" } ],
14 [ "connect", { "security" : "none" } ],
15
16 # The text '@ipsecrets-ip@' is automtically replaced with the
17 # correct server IP for the current test configuration, and should
18 # not be replaced through this list of steps; in fact, any
19 # replacements will be automatically overridden.
20 #
21 # The text '@local-listen-ip@' is also replaced with the IP number
22 # of the interface connected to the WiFi router. The default is
23 # 'wifi_addr' (192.168.2.254), and it should not be replaced this
24 # list of steps; in fact, any replacements will be automatically
25 # overridden. Configure and launch the VPN server. Automatically
26 # kills any previously running server.
27 #
28 [ "vpn_server_config", {
29 "kind" : "l2tpipsec",
30 "replacements" : { "@plutodebug@" : "all" }}],
31
32 # Launch the VPN Client.
33 [ "vpn_client_config", { "kind" : "l2tpipsec-psk",
34 "password" : "password", # ipsec.secrets
35 "chapuser" : "chapuser", # chap-secrets
36 "chapsecret" : "chapsecret" # chap-secrets
37 }],
38
39 # Verify the client is connected to the server
40 [ "client_ping", { "ping_ip" : "192.168.1.99", # IP in xl2tpd.conf.
41 "count" : "10" } ],
42
43 [ "vpn_client_kill" ], # Shut down the VPN Client.
44 [ "vpn_server_kill" ], # Shut down the VPN Server.
45 [ "disconnect" ], # Disconnect WiFi setup
46 ],
47 }
OLDNEW
« no previous file with comments | « server/site_tests/network_VPN/000VPNGenesis ('k') | server/site_tests/network_VPN/055IPSecBadPSK » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698