6 local-address "172.18.232.9";
7 secnet-address "172.18.232.10";
8 remote-networks "172.18.232.0/28";
10 set netlink(outside) {
11 local-address "172.18.232.1";
12 secnet-address "172.18.232.2";
13 remote-networks "172.18.232.0/28";
16 set ports(inside) {16913 16910}
17 set ports(outside) 16900
34 buffer sysbuffer(2048);
35 interface \"secnet-test-[string range $which 0 0]\";
40 foreach port $ports($which) {
44 buffer sysbuffer(4096);
50 local-name \"test-example/$which/$which\";
51 local-key rsa-private(\"test-example/$which.key\");
53 append cfg $extra($which)
57 class "info","notice","warning","error","security","fatal";
65 random randomfile("/dev/urandom",no);
66 transform eax-serpent { }, serpent256-cbc { };
67 include test-example/sites.conf
68 sites map(site,vpn/test-example/all-sites);
73 proc spawn-secnet {which} {
74 upvar #0 pids($which) pid
75 set cf test/$which.conf
77 puts $ch [mkconf $which]
79 set argl [list ./secnet -dvnc $cf]