1 m4_dnl udptunnel-vpn-defaults: default settings for udptunnel-reconf
3 m4_dnl This is free software; you can redistribute it and/or modify it
4 m4_dnl under the terms of the GNU General Public License as published by
5 m4_dnl the Free Software Foundation; either version 2 of the License, or
6 m4_dnl (at your option) any later version.
8 m4_dnl This program is distributed in the hope that it will be useful, but
9 m4_dnl WITHOUT ANY WARRANTY; without even the implied warranty of
10 m4_dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 m4_dnl General Public License for more details.
13 m4_dnl You should have received a copy of the GNU General Public License
14 m4_dnl along with userv-utils; if not, write to the Free Software
15 m4_dnl Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 m4_dnl $Id: udptunnel-vpn-defaults,v 1.6 2001/09/26 00:21:00 ian Exp $
19 SET( lcommand, [udptunnel])
21 [-e nonce -e timestamp/10/30 -e pkcs5/8 \
22 -e blowfish-cbcmac/128 -e blowfish-cbc/128])
24 SET( lpublic, [`hostname`])
26 m4_dnl rpublic -- usually set in sites
27 SET( rport, [Command])
28 m4_dnl lend -- usually set in global
29 m4_dnl rend -- usually set in sites
32 SET( to_restart, [10])
35 SET( to_report, [1800])
36 SET( timeouts, [V_to_poll,V_to_quit,V_to_report])
37 SET( lnets, [-])m4_dnl often overridden in global
38 SET( rnets, [-])m4_dnl often overridden in sites
39 SET( forbid_remote, [V_lnets])
41 SET( rcommandprefix, [])
42 SET( rcommand, [V_rcommandprefix udptunnel])
44 SET( sshprotoka, [-o 'ProtocolKeepAlives 300'])
45 SET( sshstdopts, [-o 'ForwardAgent no' -o 'ForwardX11 no' -o 'BatchMode yes'])
46 SET( sshverbose, [-v])
50 V_sshprotoka V_sshverbose \
52 SET( sshinvoke, [V_ssh V_ruser@V_sshdest])
54 SET( sshdest, [V_rpublic])
57 SET( tunnels, [tunnels])
59 m4_dnl varlibvpn -- global can override
61 SET( ipifnetsfile, [V_varlibvpn/ipif-networks])
62 SET( activesfile, [V_varlibvpn/active-sites])
63 SET( activesxinfo, [])
64 SET( passivesfile, [V_varlibvpn/passive-sites])
65 SET( passivesxinfo, [])
67 SET( postconfigure, [])
69 SET( invoke_file, [V_varlibvpn/command.V_site])
70 SET( invoke_head, [#!/bin/sh])
73 SET( syslog_facility, local2)
74 SET( syslog_priority, info)
76 SET( inittab_runlevels, 2345)
79 [</dev/null 2>&1 | logger -p V_syslog_facility.V_syslog_priority -t tunnel-V_site])
80 SET( inittab_command,[V_inittab_pfx V_invoke_file V_inittab_sfx])
81 SET( inittab_line, [V_inittab_runlevels:respawn:V_inittab_command])
86 echo "STARTING TUNNEL `date`" >&2
91 echo "TUNNEL CLOSED rc=$rc" >&2
93 echo "TUNNEL MAYRESTART" >&2
97 m4_dnl lgroup -- usually set in global
104 V_lend,V_rend,V_mtu,V_proto \
108 V_sshinvoke V_rcommand