1 #-----------------------------------------------------------------------------
3 #-----------------------------------------------------------------------------
5 ########################## READ ME! ################################
6 # Dear user, welcome to the Gateway6 Client configuration file.
7 # In order to use the client, you have to modify the 'userid',
8 # 'passwd' and 'server' parameters below according to one of these 3 situations:
10 # 1. If you created an account on Freenet6, enter your userid and password below.
11 # Also change the server name to "broker.freenet6.net".
12 # 2. If you would like to use Freenet6 without creating an account,
13 # do not modify anything and close this file.
14 # 3. If this software was provided by your ISP, put the userid, password and
15 # server name provided by your ISP below.
18 ########################## BASIC CONFIGURATION ################################
20 # User Identification:
21 # userid=anonymous|your_userid
22 # Specify your user name and password as provided by your ISP or Freenet6.
23 # Use anonymous if you don't have a username and leave the password field empty.
30 # Tunnel broker name or IP address (provided by your ISP or Freenet6).
31 # An optional port number can be added, the default port number is 3653.
34 # server=hostname # FQDN
35 # server=A.B.C.D # IPv4 address
36 # server=[X:X::X:X] # IPv6 address
37 # server=hostname:port_number
38 # server=A.B.C.D:port_number
39 # server=[X:X::X:X]:port_number
41 # For users with accounts on Freenet6, use broker.freenet6.net otherwise anon.freenet6.net.
42 # Your ISP may provide you with a different server name.
44 server=anon.freenet6.net
45 #server=broker.freenet6.net
48 ########################## ROUTER CONFIGURATION ###############################
50 # Use these parameters for the client to act as a router and give IPv6
54 # host_type=host|router
55 # Set this value for the client to act as a router.
64 # Length of the prefix length for the TSP client network.
65 # Valid values are 64 or 48 for v6anyv4 tunnel, and 24 for v4v6 tunnel.
68 # Note: Freenet6 only gives /48 prefixes.
74 # Name of the interface that will be configured to send router advertisements.
75 # This is an interface index on Windows (for example 4) and a name on Linux and
76 # BSD, for example eth1 or fxp1.
82 # Specify a local DNS server to which will be delegated the reverse prefix.
84 # Example: dns_server=mydnsserver.domain
88 ######################### ADVANCED CONFIGURATION ##############################
91 # Install directory for the Gateway6 Client. Do not modify.
93 gw6_dir=/usr/share/gw6c
96 # Authentication method:
97 # auth_method=any|digest-md5|anonymous|plain
98 # any: The most secure method will be used.
99 # digest-md5: The password is sent encrypted.
100 # plain: Both username and password in clear.
101 # anonymous: Sends no username or password
103 # Recommended value: any
109 # Time in seconds between each reconnection in case of timeout (0 = no retry).
111 # Recommended value: 30 seconds
116 # Keepalive interval:
117 # Indicates how often the client will send data to keep the tunnel active.
119 # Recommended values: "yes" and 30 seconds
122 keepalive_interval=30
125 # Tunnel encapsulation mode:
126 # v6v4: IPv6 in IPv4 tunnel.
127 # v6udpv4: IPv6 in UDP in IPv4 tunnel (for clients behind a NAT).
128 # v6anyv4: Let the broker choose the best mode for IPv6 tunnel.
129 # v4v6: IPv4 in IPv6 tunnel.
132 # Recommended value: v6anyv4
137 # Tunnel enterface name:
138 # Interface name of the tunnel. This value us is OS dependent.
140 # if_tunnel_v6v4 is the tunnel interface name for the v6v4 encapsulation mode
141 # if_tunnel_v6udpv4 is the tunnel interface name for the v6udpv4 encap mode
142 # if_tunnel_v4v6 is the tunnel interface naem for the v4v6 encapsulation mode
144 if_tunnel_v6v4=freenet6
145 if_tunnel_v6udpv4=tun
149 # IP addresses of the client:
150 # client_v4=auto|A.B.C.D (valid ipv4 address)
151 # client_v6=auto|X:X::X:X (valid ipv6 address)
152 # auto: Gateway6 Client will find the ip address
154 # Recommended value: auto
160 # Name of the script:
161 # template=checktunnel|freebsd|netbsd|linux|windows|darwin|cisco|
164 # File name of the script to run to install the tunnel interface.
165 # The scripts are located in the template directory under the client
166 # installation directory.
168 # Default value: linux
174 # Indicates this client requests a tunnel for another endpoint,
175 # a Cisco router for example.
177 # Note: NAT traversal is not possible in proxy mode.
183 # The 'broker_list' directive specifies the name of the file
184 # where a broker list received during broker redirection will
187 # Default value: tsp-broker-list.txt
191 # The 'last_server' directive specifies the name of the file
192 # where the address of the last broker to which a connection
193 # was successfully established will be saved.
195 # Default value: tsp-last-server.txt
199 # The value of the 'always_use_same_server' directive determines
200 # if the client should always try to connect to the broker
201 # specified with the 'last_server' directive (if any).
205 #always_use_same_server=
211 # The format is 'log=destination;level', where
212 # possible values of 'destination' are:
214 # console (logging to the console)
215 # stderr (logging to standard error)
216 # file (logging to a file)
217 # syslog (logging to syslog [Unix only])
219 # and 'level' is a digit between 0 and 3. A 'level'
220 # value of 0 disables logging to the destination,
221 # while values 1 to 3 request increasing levels of log
224 # Multiple 'log' directives may be specified.
227 # log=file;3 (Maximal logging to a file)
228 # log=stderr;0 (Logging to stdandard error disabled)
229 # log=console (Minimal logging to the console)
231 # If 'level' is not specified, a value of 1 is assumed.
232 # In this case, the semicolon should be left out.
234 # If no 'log' directive is specified at all, the
235 # following will apply:
237 # On Windows platforms:
254 # When logging to file is requested using the 'log'
255 # directive, the name and path of the file to use
256 # may be specified using the 'log_filename' directive.
258 # Default value: gw6c.log
264 # When logging to file is requested using the 'log'
265 # directive, log file rotation may be enabled using
266 # the 'log_rotation' directive.
268 # When enabled, the contents of the log file will be
269 # moved to a backup file just before it reaches the
270 # maximal log file size specified via the 'log_rotation_size'
273 # The name of the backup file is the name of the original
274 # log file with '.<timestamp>' inserted before the file
275 # extension. If the file does not have an extension,
276 # '.<timestamp>' is appended to the name of the original
277 # log file. The timestamp specifies when the rotation
280 # After the contents of the log file have been moved
281 # to the backup file, the original file is cleared, and
282 # logging resumes at the beginning of the file.
289 # Log file rotation size:
290 # The 'log_rotation_size' directive specifies the
291 # maximal size a log file may reach before rotation
292 # occurs if it is enabled via the 'log_rotation' directive.
294 # The value is expressed in kilobytes.
297 # Maximal value: 10240
303 # Syslog logging facility [Unix only]:
305 # When logging to syslog is requested using the 'log'
306 # directive, the facility to use may be specified using
307 # the 'syslog_facility' directive.
309 # Valid values: USER, LOCAL[0-7]
311 # Default value: USER
317 #-----------------------------------------------------------------------------