348 | | |
| 348 | == Attachements == |
| 349 | gogoc.conf |
| 350 | |
| 351 | {{{ |
| 352 | |
| 353 | #----------------------------------------------------------------------------- |
| 354 | # $Id: gw6c.conf.in,v 1.10 2009/03/13 01:14:37 carl Exp $ |
| 355 | #----------------------------------------------------------------------------- |
| 356 | |
| 357 | ########################## READ ME! ################################ |
| 358 | # |
| 359 | # Welcome to the Gateway6 Client configuration file. |
| 360 | # In order to use the client, you need to modify the 'userid', 'passwd' and |
| 361 | # 'server' parameters below depending on which of these situations applies: |
| 362 | # |
| 363 | # 1. If you created a Freenet6 account, enter your userid and password below. |
| 364 | # Change the server name to "broker.freenet6.net" and auth_method to 'any'. |
| 365 | # 2. If you would like to use Freenet6 without creating an account, |
| 366 | # do not make any modifications and close this file. |
| 367 | # 3. If this software was provided by your ISP, enter the userid, password and |
| 368 | # server name provided by your ISP below. |
| 369 | # |
| 370 | |
| 371 | |
| 372 | ########################## BASIC CONFIGURATION ################################ |
| 373 | |
| 374 | # |
| 375 | # User Identification and Password: |
| 376 | # Specify your user name and password as provided by your ISP or Freenet6. |
| 377 | # If you plan to connect anonymously, leave these values empty. |
| 378 | # NOTE: Change auth_method option if you are using a username/password. |
| 379 | # |
| 380 | # userid=<your_userid> |
| 381 | # passwd=<your_password> |
| 382 | # |
| 383 | userid= mobile-island1 |
| 384 | passwd=******* |
| 385 | |
| 386 | # |
| 387 | # Gateway6 Server: |
| 388 | # Specify a Gateway6 server name or IP address (provided by your ISP or |
| 389 | # Freenet6). An optional port number can be added; the default port number |
| 390 | # is 3653. |
| 391 | # |
| 392 | # Examples: |
| 393 | # server=hostname # FQDN |
| 394 | # server=A.B.C.D # IPv4 address |
| 395 | # server=[X:X::X:X] # IPv6 address |
| 396 | # server=hostname:port_number |
| 397 | # server=A.B.C.D:port_number |
| 398 | # server=[X:X::X:X]:port_number |
| 399 | # |
| 400 | # Freenet6 account holders should enter authenticated.freenet6.net, |
| 401 | # otherwise use anonymous.freenet6.net. |
| 402 | # Your ISP may provide you with a different server name. |
| 403 | # |
| 404 | #server=anonymous.freenet6.net |
| 405 | server=authenticated.freenet6.net |
| 406 | |
| 407 | # |
| 408 | # Authentication Method: |
| 409 | # |
| 410 | # auth_method=<{anonymous}|{any|passdss-3des-1|digest-md5|plain}> |
| 411 | # |
| 412 | # anonymous: Sends no username or password |
| 413 | # |
| 414 | # any: The most secure method will be used. |
| 415 | # passdss-3des-1: The password is sent encrypted. |
| 416 | # digest-md5: The password is sent encrypted. |
| 417 | # plain: Both username and password are sent as plain text. |
| 418 | # |
| 419 | # Recommended values: |
| 420 | # - any: If you are authenticating a username / password. |
| 421 | # - anonymous: If you are connecting anonymously. |
| 422 | # |
| 423 | #auth_method=anonymous |
| 424 | auth_method=any |
| 425 | |
| 426 | |
| 427 | ########################## ROUTING CONFIGURATION ############################## |
| 428 | # Use these parameters when you wish the client to act as a router and provide |
| 429 | # IPv6 connectivity to IPv6-capable devices on your network. |
| 430 | |
| 431 | # |
| 432 | # Local Host Type: |
| 433 | # Change this value to 'router' to enable IPv6 advertisements. |
| 434 | # |
| 435 | # host_type=<host|router> |
| 436 | # |
| 437 | host_type=host |
| 438 | |
| 439 | # |
| 440 | # Prefix Length: |
| 441 | # Length of the requested prefix. Valid values range between 0 and 64 when |
| 442 | # using V6*V4 tunnel modes, and between 0 and 32 when using V4V6 tunnel mode. |
| 443 | # |
| 444 | # prefixlen=<integer> |
| 445 | # |
| 446 | prefixlen=64 |
| 447 | |
| 448 | # |
| 449 | # Advertisement Interface Prefix: |
| 450 | # Name of the interface that will be configured to send router advertisements. |
| 451 | # This is an interface index on Windows (ex: 4) and a name on Linux |
| 452 | # and BSD (ex: eth1 or fxp1). |
| 453 | # |
| 454 | # if_prefix=<interface name> |
| 455 | # |
| 456 | if_prefix= |
| 457 | |
| 458 | # |
| 459 | # DNS Server: |
| 460 | # A DNS server list to which the reverse prefix will be delegated. Servers |
| 461 | # are separated by the colon(:) delimiter. |
| 462 | # |
| 463 | # Example: dns_server=ns1.domain:ns2.domain:ns3.domain |
| 464 | # |
| 465 | dns_server= |
| 466 | |
| 467 | |
| 468 | ######################### ADVANCED CONFIGURATION ############################## |
| 469 | |
| 470 | # |
| 471 | # Gateway6 Client Installation Directory: |
| 472 | # Directory where the Gateway6 Client will be installed. This value has been |
| 473 | # set during installation. |
| 474 | # |
| 475 | gw6_dir=/usr/local/gw6c |
| 476 | |
| 477 | # |
| 478 | # Auto-Retry Connect, Retry Delay and Max Retry Delay: |
| 479 | # When auto_retry_connect=yes, the Gateway6 Client will attempt to reconnect |
| 480 | # after a disconnection occurred. The time to wait is 'retry_delay' and that |
| 481 | # delay is doubled at every 3 failed consecutive reconnection attempt. |
| 482 | # However, the wait delay will never exceed retry_delay_max. |
| 483 | # |
| 484 | # |
| 485 | # auto_retry_connect=<yes|no> |
| 486 | # retry_delay=<integer: 0..3600> |
| 487 | # retry_delay_max=<integer: 0..3600> |
| 488 | # |
| 489 | # Recommended values: "yes", 30, 300 |
| 490 | # |
| 491 | auto_retry_connect=yes |
| 492 | retry_delay=30 |
| 493 | retry_delay_max=300 |
| 494 | |
| 495 | # |
| 496 | # Keepalive Feature and Message Interval: |
| 497 | # Indicates if and how often the client will send data to keep the tunnel |
| 498 | # active. |
| 499 | # |
| 500 | # keepalive=<yes|no> |
| 501 | # keepalive_interval=<integer> |
| 502 | # |
| 503 | # Recommended values: "yes" and 30 |
| 504 | # |
| 505 | keepalive=yes |
| 506 | keepalive_interval=30 |
| 507 | |
| 508 | # |
| 509 | # Tunnel Encapsulation Mode: |
| 510 | # v6v4: IPv6-in-IPv4 tunnel. |
| 511 | # v6udpv4: IPv6-in-UDP-in-IPv4 tunnel (for clients behind a NAT). |
| 512 | # v6anyv4: Lets the broker choose the best mode for IPv6 tunnel. |
| 513 | # v4v6: IPv4-in-IPv6 tunnel. |
| 514 | # |
| 515 | # Recommended value: v6anyv4 |
| 516 | # |
| 517 | tunnel_mode=v6anyv4 |
| 518 | |
| 519 | # |
| 520 | # Tunnel Interface Name: |
| 521 | # The interface name assigned to the tunnel. This value is O/S dependent. |
| 522 | # |
| 523 | # if_tunnel_v6v4 is the tunnel interface name for v6v4 encapsulation mode |
| 524 | # if_tunnel_v6udpv4 is the tunnel interface name for v6udpv4 encapsulate mode |
| 525 | # if_tunnel_v4v6 is the tunnel interface name for v4v6 encapsulation mode |
| 526 | # |
| 527 | # Default values are set during installation. |
| 528 | # |
| 529 | if_tunnel_v6v4=sit1 |
| 530 | if_tunnel_v6udpv4=tun |
| 531 | if_tunnel_v4v6=sit0 |
| 532 | |
| 533 | # |
| 534 | # Local IP Address of the Client: |
| 535 | # Allows you to set a specific address as the local tunnel endpoint. |
| 536 | # |
| 537 | # client_v4=<auto|A.B.C.D (valid ipv4 address)> |
| 538 | # client_v6=<auto|X:X::X:X (valid ipv6 address)> |
| 539 | # auto: The Gateway6 Client will find the local IP address endpoint. |
| 540 | # |
| 541 | # Recommended value: auto |
| 542 | # |
| 543 | client_v4=auto |
| 544 | client_v6=auto |
| 545 | |
| 546 | # |
| 547 | # Script Name: |
| 548 | # File name of the script to run to install the tunnel interface. The |
| 549 | # scripts are located in the template directory under the client |
| 550 | # installation directory. |
| 551 | # |
| 552 | # template=<checktunnel|freebsd|netbsd|openbsd|linux|windows|darwin|cisco|solaris> |
| 553 | # |
| 554 | # Default value is set during installation. |
| 555 | # |
| 556 | template=linux |
| 557 | |
| 558 | # |
| 559 | # Proxy client: |
| 560 | # Indicates that this client will request a tunnel for another endpoint, |
| 561 | # such as a Cisco router. |
| 562 | # |
| 563 | # proxy_client=<yes|no> |
| 564 | # |
| 565 | # NOTE: NAT traversal is not possible in proxy mode. |
| 566 | # |
| 567 | proxy_client=no |
| 568 | |
| 569 | |
| 570 | ############################ BROKER REDIRECTION ############################### |
| 571 | |
| 572 | # |
| 573 | # Broker List File Name: |
| 574 | # The 'broker_list' directive specifies the filename where the broker |
| 575 | # list received during broker redirection will be saved. |
| 576 | # |
| 577 | # broker_list=<file_name> |
| 578 | # |
| 579 | broker_list=tsp-broker-list.txt |
| 580 | |
| 581 | # |
| 582 | # Last Server Used File Name: |
| 583 | # The 'last_server' directive specifies the filename where the address of |
| 584 | # the last broker to which a connection was successfully established will |
| 585 | # be saved. |
| 586 | # |
| 587 | # last_server=<file_name> |
| 588 | # |
| 589 | last_server=tsp-last-server.txt |
| 590 | |
| 591 | # |
| 592 | # Always Use Last Known Working Server: |
| 593 | # The value of the 'always_use_same_server' directive determines whether the |
| 594 | # client should always try to connect to the broker found in the |
| 595 | # 'last_server' directive filename. |
| 596 | # |
| 597 | # always_use_same_server=<yes|no> |
| 598 | # |
| 599 | always_use_same_server=no |
| 600 | |
| 601 | |
| 602 | #################################### LOGGING ################################## |
| 603 | |
| 604 | # |
| 605 | # Log Verbosity Configuration: |
| 606 | # The format is 'log_<destination>=level', where possible values for |
| 607 | # 'destination' are: |
| 608 | # |
| 609 | # - console (logging to the console [AKA stdout]) |
| 610 | # - stderr (logging to standard error) |
| 611 | # - file (logging to a file) |
| 612 | # - syslog (logging to syslog [Unix only]) |
| 613 | # |
| 614 | # and 'level' is a digit between 0 and 3. A 'level' value of 0 disables |
| 615 | # logging to the destination, while values 1 to 3 request increasing levels |
| 616 | # of log verbosity and detail. If 'level' is not specified, a value of 1 is |
| 617 | # assumed. |
| 618 | # |
| 619 | # Example: |
| 620 | # log_file=3 (Maximal logging to a file) |
| 621 | # log_stderr=0 (Logging to standard error disabled) |
| 622 | # log_console= (Minimal logging to the console) |
| 623 | # |
| 624 | # - Default configuration on Windows platforms: |
| 625 | # |
| 626 | # log_console=0 |
| 627 | # log_stderr=0 |
| 628 | # log_file=1 |
| 629 | # |
| 630 | # - Default configuration on Unix platforms: |
| 631 | # |
| 632 | # log_console=0 |
| 633 | # log_stderr=1 |
| 634 | # log_file=0 |
| 635 | # log_syslog=0 |
| 636 | # |
| 637 | #log_console= |
| 638 | #log_stderr= |
| 639 | #log_file= |
| 640 | #log_syslog= |
| 641 | |
| 642 | # |
| 643 | # Log File Name: |
| 644 | # When logging to file is requested using the 'log_file' directive, the name |
| 645 | # and path of the file to use may be specified using this directive. |
| 646 | # |
| 647 | # log_filename=<file_name> |
| 648 | # |
| 649 | log_filename=gw6c.log |
| 650 | |
| 651 | # |
| 652 | # Log File Rotation: |
| 653 | # When logging to file is requested using the 'log_file' directive, log file |
| 654 | # rotation may be enabled. When enabled, the contents of the log file will |
| 655 | # be moved to a backup file just before it reaches the maximum log file size |
| 656 | # specified via this directive. |
| 657 | # |
| 658 | # The name of the backup file is the name of the original log file with |
| 659 | # '.<timestamp>' inserted before the file extension. If the file does not |
| 660 | # have an extension, '.<timestamp>' is appended to the name of the original |
| 661 | # log file. The timestamp specifies when the rotation occurred. |
| 662 | # |
| 663 | # After the contents of the log file have been moved to the backup file, the |
| 664 | # original file is cleared, and logging resumes at the beginning of the file. |
| 665 | # |
| 666 | # log_rotation=<yes|no> |
| 667 | # |
| 668 | log_rotation=yes |
| 669 | |
| 670 | # |
| 671 | # Log File Rotation Size: |
| 672 | # The 'log_rotation_size' directive specifies the maximum size a log file may |
| 673 | # reach before rotation occurs, if enabled. The value is expressed in |
| 674 | # kilobytes. |
| 675 | # |
| 676 | # log_rotation_size=<16|32|128|1024> |
| 677 | # |
| 678 | log_rotation_size=32 |
| 679 | |
| 680 | # |
| 681 | # Deletion of rotated log files: |
| 682 | # The 'log_rotation_delete' directive specifies that no log backup will be |
| 683 | # kept. When rotation occurs, the file is immediately wiped out and a new |
| 684 | # log file is started. |
| 685 | # |
| 686 | # log_rotation_delete=<yes|no> |
| 687 | # |
| 688 | log_rotation_delete=no |
| 689 | |
| 690 | # |
| 691 | # Syslog Logging Facility [Unix Only]: |
| 692 | # When logging to syslog is requested using the 'log_syslog' directive, the |
| 693 | # facility to use may be specified using this directive. |
| 694 | # |
| 695 | # syslog_facility=<USER|LOCAL[0-7]> |
| 696 | # |
| 697 | syslog_facility=USER |
| 698 | |
| 699 | |
| 700 | # end of gw6c.conf |
| 701 | #------------------------------------------------------------------------------ |
| 702 | |
| 703 | }}} |
| 704 | |