Advertisement
Guest User

Untitled

a guest
May 27th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.13 KB | None | 0 0
  1. #-----------------------------------------------------------------------------
  2. # $Id: gw6c.conf.in,v 1.7 2007/11/28 17:27:05 cnepveu Exp $
  3. #-----------------------------------------------------------------------------
  4.  
  5. ########################## READ ME! ################################
  6. #
  7. # Welcome to the Gateway6 Client configuration file.
  8. # In order to use the client, you need to modify the 'userid', 'passwd' and
  9. # 'server' parameters below depending on which of these situations applies:
  10. #
  11. # 1. If you created a Freenet6 account, enter your userid and password below.
  12. # Change the server name to "broker.freenet6.net" and auth_method to 'any'.
  13. # 2. If you would like to use Freenet6 without creating an account,
  14. # do not make any modifications and close this file.
  15. # 3. If this software was provided by your ISP, enter the userid, password and
  16. # server name provided by your ISP below.
  17. #
  18.  
  19.  
  20. ########################## BASIC CONFIGURATION ################################
  21.  
  22. #
  23. # User Identification and Password:
  24. # Specify your user name and password as provided by your ISP or Freenet6.
  25. # If you plan to connect anonymously, leave these values empty.
  26. # NOTE: Change auth_method option if you are using a username/password.
  27. #
  28. # userid=<your_userid>
  29. # passwd=<your_password>
  30. #
  31. userid=pawz
  32. passwd=XXXXXXXXXX
  33.  
  34. #
  35. # Gateway6 Server:
  36. # Specify a Gateway6 server name or IP address (provided by your ISP or
  37. # Freenet6). An optional port number can be added; the default port number
  38. # is 3653.
  39. #
  40. # Examples:
  41. # server=hostname # FQDN
  42. # server=A.B.C.D # IPv4 address
  43. # server=[X:X::X:X] # IPv6 address
  44. # server=hostname:port_number
  45. # server=A.B.C.D:port_number
  46. # server=[X:X::X:X]:port_number
  47. #
  48. # Freenet6 account holders should enter broker.freenet6.net, otherwise use
  49. # anon.freenet6.net. Your ISP may provide you with a different server name.
  50. #
  51. server=broker.aarnet.net.au
  52. #server=anon.freenet6.net
  53. #server=broker.freenet6.net
  54.  
  55. #
  56. # Authentication Method:
  57. #
  58. # auth_method=<{anonymous}|{any|passdss-3des-1|digest-md5|plain}>
  59. #
  60. # anonymous: Sends no username or password
  61. #
  62. # any: The most secure method will be used.
  63. # passdss-3des-1: The password is sent encrypted.
  64. # digest-md5: The password is sent encrypted.
  65. # plain: Both username and password are sent as plain text.
  66. #
  67. # Recommended values:
  68. # - any: If you are authenticating a username / password.
  69. # - anonymous: If you are connecting anonymously.
  70. #
  71. #auth_method=anonymous
  72. auth_method=any
  73.  
  74.  
  75. ########################## ROUTING CONFIGURATION ##############################
  76. # Use these parameters when you wish the client to act as a router and provide
  77. # IPv6 connectivity to IPv6-capable devices on your network.
  78.  
  79. #
  80. # Local Host Type:
  81. # Change this value to 'router' to enable IPv6 advertisements.
  82. #
  83. # host_type=<host|router>
  84. #
  85. host_type=router
  86.  
  87. #
  88. # Prefix Length:
  89. # Length of the requested prefix. Valid values range between 0 and 64 when
  90. # using V6*V4 tunnel modes, and between 0 and 32 when using V4V6 tunnel mode.
  91. #
  92. # prefixlen=<integer>
  93. #
  94. prefixlen=56
  95.  
  96. #
  97. # Advertisement Interface Prefix:
  98. # Name of the interface that will be configured to send router advertisements.
  99. # This is an interface index on Windows (ex: 4) and a name on Linux
  100. # and BSD (ex: eth1 or fxp1).
  101. #
  102. # if_prefix=<interface name>
  103. #
  104. if_prefix=eth0
  105.  
  106. #
  107. # DNS Server:
  108. # A DNS server list to which the reverse prefix will be delegated. Servers
  109. # are separated by the colon(:) delimiter.
  110. #
  111. # Example: dns_server=ns1.domain:ns2.domain:ns3.domain
  112. #
  113. dns_server=ns1.hyperspace.net.au
  114.  
  115.  
  116. ######################### ADVANCED CONFIGURATION ##############################
  117.  
  118. #
  119. # Gateway6 Client Installation Directory:
  120. # Directory where the Gateway6 Client will be installed. This value has been
  121. # set during installation.
  122. #
  123. gw6_dir=/etc/gateway6
  124.  
  125. #
  126. # Auto-Retry Connect and Delay:
  127. # The time lapse, in seconds, between each reconnection in the case of a
  128. # timeout.
  129. #
  130. # auto_retry_connect=<yes|no>
  131. # retry_delay=<integer>
  132. #
  133. # Recommended values: "yes" and 30
  134. #
  135. auto_retry_connect=yes
  136. retry_delay=30
  137.  
  138. #
  139. # Keepalive Feature and Message Interval:
  140. # Indicates if and how often the client will send data to keep the tunnel
  141. # active.
  142. #
  143. # keepalive=<yes|no>
  144. # keepalive_interval=<integer>
  145. #
  146. # Recommended values: "yes" and 30
  147. #
  148. keepalive=yes
  149. keepalive_interval=30
  150.  
  151. #
  152. # Tunnel Encapsulation Mode:
  153. # v6v4: IPv6-in-IPv4 tunnel.
  154. # v6udpv4: IPv6-in-UDP-in-IPv4 tunnel (for clients behind a NAT).
  155. # v6anyv4: Lets the broker choose the best mode for IPv6 tunnel.
  156. # v4v6: IPv4-in-IPv6 tunnel.
  157. #
  158. # Recommended value: v6anyv4
  159. #
  160. tunnel_mode=v6anyv4
  161.  
  162. #
  163. # Tunnel Interface Name:
  164. # The interface name assigned to the tunnel. This value is O/S dependent.
  165. #
  166. # if_tunnel_v6v4 is the tunnel interface name for v6v4 encapsulation mode
  167. # if_tunnel_v6udpv4 is the tunnel interface name for v6udpv4 encapsulate mode
  168. # if_tunnel_v4v6 is the tunnel interface name for v4v6 encapsulation mode
  169. #
  170. # Default values are set during installation.
  171. #
  172. if_tunnel_v6v4=sit1
  173. if_tunnel_v6udpv4=tun
  174. if_tunnel_v4v6=sit0
  175.  
  176. #
  177. # Local IP Address of the Client:
  178. # Allows you to set a specific address as the local tunnel endpoint.
  179. #
  180. # client_v4=<auto|A.B.C.D (valid ipv4 address)>
  181. # client_v6=<auto|X:X::X:X (valid ipv6 address)>
  182. # auto: The Gateway6 Client will find the local IP address endpoint.
  183. #
  184. # Recommended value: auto
  185. #
  186. client_v4=118.208.173.81
  187. #client_v4=auto
  188. client_v6=auto
  189.  
  190. #
  191. # Script Name:
  192. # File name of the script to run to install the tunnel interface. The
  193. # scripts are located in the template directory under the client
  194. # installation directory.
  195. #
  196. # template=<checktunnel|freebsd|netbsd|openbsd|linux|windows|darwin|cisco|solaris>
  197. #
  198. # Default value is set during installation.
  199. #
  200. template=linux
  201.  
  202. #
  203. # Proxy client:
  204. # Indicates that this client will request a tunnel for another endpoint,
  205. # such as a Cisco router.
  206. #
  207. # proxy_client=<yes|no>
  208. #
  209. # NOTE: NAT traversal is not possible in proxy mode.
  210. #
  211. proxy_client=no
  212.  
  213.  
  214. ############################ BROKER REDIRECTION ###############################
  215.  
  216. #
  217. # Broker List File Name:
  218. # The 'broker_list' directive specifies the filename where the broker
  219. # list received during broker redirection will be saved.
  220. #
  221. # broker_list=<file_name>
  222. #
  223. broker_list=/tmp/tsp-broker-list.txt
  224.  
  225. #
  226. # Last Server Used File Name:
  227. # The 'last_server' directive specifies the filename where the address of
  228. # the last broker to which a connection was successfully established will
  229. # be saved.
  230. #
  231. # last_server=<file_name>
  232. #
  233. last_server=/tmp/tsp-last-server.txt
  234.  
  235. #
  236. # Always Use Last Known Working Server:
  237. # The value of the 'always_use_same_server' directive determines whether the
  238. # client should always try to connect to the broker found in the
  239. # 'last_server' directive filename.
  240. #
  241. # always_use_same_server=<yes|no>
  242. #
  243. always_use_same_server=no
  244.  
  245.  
  246. #################################### LOGGING ##################################
  247.  
  248. #
  249. # Log Verbosity Configuration:
  250. # The format is 'log_<destination>=level', where possible values for
  251. # 'destination' are:
  252. #
  253. # - console (logging to the console [AKA stdout])
  254. # - stderr (logging to standard error)
  255. # - file (logging to a file)
  256. # - syslog (logging to syslog [Unix only])
  257. #
  258. # and 'level' is a digit between 0 and 3. A 'level' value of 0 disables
  259. # logging to the destination, while values 1 to 3 request increasing levels
  260. # of log verbosity and detail. If 'level' is not specified, a value of 1 is
  261. # assumed.
  262. #
  263. # Example:
  264. # log_file=3 (Maximal logging to a file)
  265. # log_stderr=0 (Logging to standard error disabled)
  266. # log_console= (Minimal logging to the console)
  267. #
  268. # - Default configuration on Windows platforms:
  269. #
  270. # log_console=0
  271. # log_stderr=0
  272. # log_file=1
  273. #
  274. # - Default configuration on Unix platforms:
  275. #
  276. # log_console=0
  277. # log_stderr=1
  278. # log_file=0
  279. # log_syslog=0
  280. #
  281. #log_console=
  282. #log_stderr=
  283. #log_file=
  284. log_syslog=1
  285.  
  286. #
  287. # Log File Name:
  288. # When logging to file is requested using the 'log_file' directive, the name
  289. # and path of the file to use may be specified using this directive.
  290. #
  291. # log_filename=<file_name>
  292. #
  293. log_filename=/var/log/gw6c.log
  294.  
  295. #
  296. # Log File Rotation:
  297. # When logging to file is requested using the 'log_file' directive, log file
  298. # rotation may be enabled. When enabled, the contents of the log file will
  299. # be moved to a backup file just before it reaches the maximum log file size
  300. # specified via this directive.
  301. #
  302. # The name of the backup file is the name of the original log file with
  303. # '.<timestamp>' inserted before the file extension. If the file does not
  304. # have an extension, '.<timestamp>' is appended to the name of the original
  305. # log file. The timestamp specifies when the rotation occurred.
  306. #
  307. # After the contents of the log file have been moved to the backup file, the
  308. # original file is cleared, and logging resumes at the beginning of the file.
  309. #
  310. # log_rotation=<yes|no>
  311. #
  312. log_rotation=yes
  313.  
  314. #
  315. # Log File Rotation Size:
  316. # The 'log_rotation_size' directive specifies the maximum size a log file may
  317. # reach before rotation occurs, if enabled. The value is expressed in
  318. # kilobytes.
  319. #
  320. # log_rotation_size=<16|32|128|1024>
  321. #
  322. log_rotation_size=32
  323.  
  324. #
  325. # Deletion of rotated log files:
  326. # The 'log_rotation_delete' directive specifies that no log backup will be
  327. # kept. When rotation occurs, the file is immediately wiped out and a new
  328. # log file is started.
  329. #
  330. # log_rotation_delete=<yes|no>
  331. #
  332. log_rotation_delete=no
  333.  
  334. #
  335. # Syslog Logging Facility [Unix Only]:
  336. # When logging to syslog is requested using the 'log_syslog' directive, the
  337. # facility to use may be specified using this directive.
  338. #
  339. # syslog_facility=<USER|LOCAL[0-7]>
  340. #
  341. syslog_facility=USER
  342.  
  343.  
  344. # end of gw6c.conf
  345. #------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement