Add gw6c and make it link against uclibcxx (#2125)
[openwrt/svn-archive/archive.git] / ipv6 / gw6c / files / gw6c.config
1 config gw6c basic
2 #Comment out next line to enable gw6c
3 option disabled 1
4
5 #Leave empty if connecting anonymously
6 option userid
7 option passwd
8
9 #For anonymous use anon.frenet6.net and
10 #account holders should use broker.freenet6.net
11 option server anon.freenet6.net
12
13 #auth_method <anonymous|any|passds-3des-1|digest-md5|plain>
14 #Use anonymous with anonymous access and
15 #any if you are account holder
16 option auth_method anonymous
17
18 config gw6c routing
19 #host_type <host|router>
20 option host_type host
21 option prefixlen 48
22 option ifprefix br-lan
23
24 #DNS server list to which the reverse prefix
25 #will be delegated. Separate servers with :
26 option dns_server
27
28 config gw6c advanced
29 #Location where to store configuration file
30 option gw6c_conf /tmp/gw6c.conf
31 option gw6c_dir /usr/share/gw6c
32 option auto_retry yes
33 option retry_delay 30
34 option keepalive yes
35 #keepalive interval
36 option interval 30
37 #tunnel_mode <v6v4|v6udpv4|v6anyv4|v4v6>
38 option if_tunnel_mode v6anyv4
39 option if_v6v4 sit1
40 option if_v6udpv4 tun
41 option if_v4v6 sit0
42 option client_v4 auto
43 option client_v6 auto
44 option template openwrt
45 option proxy_client no
46
47 config gw6c broker
48 option broker_list /tmp/gw6c-broker-list.txt
49 option last_server /tmp/gw6c-last-server.txt
50 # Always use last known working server? <yes|no>
51 option always_same_serv no
52
53 config gw6c logging
54 option log_console 0
55 option log_stderr 1
56 option log_file 0
57 option log_syslog 0
58
59 option log_filename /var/log/gw6c.log
60 option log_rotation yes
61 #Max size when using log file rotation
62 #possible values: 16|32|128|1024
63 option log_maxsize 32
64
65 #<USER|LOCAL[0-7]>
66 option syslog_facility USER