]> git.pld-linux.org Git - packages/freenet6-client.git/blob - freenet6-client.conf
- BR: libstdc++-devel
[packages/freenet6-client.git] / freenet6-client.conf
1 #-----------------------------------------------------------------------------
2 # $Id$
3 #-----------------------------------------------------------------------------
4
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:
9
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. 
16 #
17
18 ########################## BASIC CONFIGURATION ################################
19 #
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. 
24 #
25 userid=anonymous
26 passwd=
27
28 #
29 # Server:
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.
32 #  
33 # Examples:
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
40 #
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. 
43 #
44 server=anon.freenet6.net
45 #server=broker.freenet6.net
46
47
48 ########################## ROUTER CONFIGURATION ###############################
49 #
50 # Use these parameters for the client to act as a router and give IPv6 
51 # to several PCs. 
52 #
53 # Router flag: 
54 #  host_type=host|router
55 #   Set this value for the client to act as a router. 
56 #
57 # Default value: host
58 #
59 #host_type=router
60
61 #
62 # Prefix length:
63 #  prefixlen=24|48|64
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.
66 #
67 # Default value: 48
68 # Note: Freenet6 only gives /48 prefixes. 
69 #
70 prefixlen=48
71
72 #
73 # Interface prefix:
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. 
77 #
78 #if_prefix=
79
80 #
81 # DNS Server: 
82 #  Specify a local DNS server to which will be delegated the reverse prefix. 
83 #
84 # Example: dns_server=mydnsserver.domain
85 #
86 #dns_server=
87
88 ######################### ADVANCED CONFIGURATION ##############################
89 #
90 # Gateway6 directory:
91 # Install directory for the Gateway6 Client. Do not modify.
92 #
93 gw6_dir=/usr/share/gw6c
94
95 #
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
102 #
103 # Recommended value: any
104 #
105 auth_method=any
106
107 #
108 # Retry delay:
109 #  Time in seconds between each reconnection in case of timeout (0 = no retry).
110 #
111 # Recommended value: 30 seconds
112 #
113 retry_delay=30
114
115 #
116 # Keepalive interval:
117 #  Indicates how often the client will send data to keep the tunnel active.
118 #
119 # Recommended values: "yes" and 30 seconds
120 #
121 keepalive=yes
122 keepalive_interval=30
123
124 #
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.
130
131 #
132 # Recommended value: v6anyv4
133 #
134 tunnel_mode=v6anyv4
135
136 #
137 # Tunnel enterface name:
138 #  Interface name of the tunnel. This value us is OS dependent.
139 #
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
143 #
144 if_tunnel_v6v4=freenet6
145 if_tunnel_v6udpv4=tun
146 if_tunnel_v4v6=sit0
147
148 #
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
153 #
154 # Recommended value: auto
155 #
156 client_v4=auto
157 client_v6=auto
158
159 #
160 # Name of the script:
161 #  template=checktunnel|freebsd|netbsd|linux|windows|darwin|cisco|
162 #   openbsd
163 #
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. 
167 #
168 # Default value: linux
169
170 template=linux
171
172 #
173 # Proxy client: 
174 #  Indicates this client requests a tunnel for another endpoint, 
175 #  a Cisco router for example. 
176 #
177 # Note: NAT traversal is not possible in proxy mode. 
178 #
179 proxy_client=no
180
181
182 # Broker Redirection
183 #  The 'broker_list' directive specifies the name of the file
184 #  where a broker list received during broker redirection will
185 #  be saved. 
186 #
187 #  Default value: tsp-broker-list.txt
188 #  
189 #broker_list=
190 #
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.
194 #
195 #  Default value: tsp-last-server.txt
196 #
197 #last_server=
198 #
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). 
202 #
203 #  Default value: no 
204 #
205 #always_use_same_server=
206
207
208
209 #
210 # Log destinations:
211 #  The format is 'log=destination;level', where
212 #  possible values of 'destination' are:
213 #
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])
218 #
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
222 #  verbosity.
223 #
224 #  Multiple 'log' directives may be specified.
225 #
226 #  Examples
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) 
230 #
231 #  If 'level' is not specified, a value of 1 is assumed.
232 #  In this case, the semicolon should be left out.
233 #
234 #  If no 'log' directive is specified at all, the
235 #  following will apply:
236 #
237 #  On Windows platforms:
238 #
239 #    log=console;0
240 #    log=stderr;0
241 #    log=file;1
242 #
243 #  On Unix platforms:
244 #
245 #    log=console;0
246 #    log=stderr;1
247 #    log=file;0
248 #    log=syslog;0
249 #
250 #log=
251
252 #
253 # Log file name:
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. 
257 #
258 #  Default value: gw6c.log
259 #
260 #log_filename=
261
262 #
263 # Log file rotation:
264 #  When logging to file is requested using the 'log'
265 #  directive, log file rotation may be enabled using
266 #  the 'log_rotation' directive.
267 #
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'
271 #  directive.
272 #
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
278 #  occured.
279 #
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. 
283 #
284 #  Default value: yes
285 #
286 #log_rotation=no
287
288 #
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.
293 #
294 #  The value is expressed in kilobytes.
295 #
296 #  Minimal value: 16
297 #  Maximal value: 10240
298 #  Default value: 32
299 #
300 #log_rotation_size=
301
302 #
303 # Syslog logging facility [Unix only]:
304 #
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.
308 #
309 #  Valid values: USER, LOCAL[0-7]
310 #
311 #  Default value: USER
312 #
313 #syslog_facility=
314
315
316 # end of gw6c.conf
317 #-----------------------------------------------------------------------------
This page took 0.058155 seconds and 3 git commands to generate.