ipv6_tunnel_at_home
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ipv6_tunnel_at_home [2015/04/04 16:41] – samer | ipv6_tunnel_at_home [2015/04/04 18:31] (current) – [1.1- IPv4 Configuration] samer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Start by configuring | + | ====== IPv6 Tunnel on OpenWrt ====== |
| + | |||
| + | ===== -- Summary===== | ||
| + | |||
| + | The objective of this platform is to connect your home network to the Internet using an IPv6 tunnel provided | ||
| + | * The Ethernet | ||
| + | * The WiFi interface creates a local area network | ||
| + | ===== -- IPv4 Configuration===== | ||
| + | Start by configuring Ethernet and WLAN interfaces on the MR3020 in two different | ||
| + | |||
| + | <WRAP center round tip 100%> | ||
| + | Note that in OpenWrt, the configuration uses logical names for interfaces, such as '' | ||
| + | </ | ||
| <file autoconf / | <file autoconf / | ||
| Line 20: | Line 32: | ||
| option ipaddr ' | option ipaddr ' | ||
| option netmask ' | option netmask ' | ||
| - | option ip6addr ' | + | option ip6addr ' |
| </ | </ | ||
| Line 110: | Line 122: | ||
| option dest wan | option dest wan | ||
| </ | </ | ||
| + | ==== -- IPv6 Configuration==== | ||
| <code bash> | <code bash> | ||
| opkg update && opkg install aiccu radvd | opkg update && opkg install aiccu radvd | ||
| Line 117: | Line 129: | ||
| <code bash> | <code bash> | ||
| ip -6 addr add 2a01: | ip -6 addr add 2a01: | ||
| + | </ | ||
| + | |||
| + | <file autoconf / | ||
| + | net.ipv6.conf.all.forwarding=1 | ||
| + | </ | ||
| + | |||
| + | <file autoconf / | ||
| + | |||
| + | config interface | ||
| + | option interface ' | ||
| + | option AdvSendAdvert 1 | ||
| + | option AdvManagedFlag 0 | ||
| + | option AdvOtherConfigFlag 0 | ||
| + | list client '' | ||
| + | option ignore 0 | ||
| + | |||
| + | config prefix | ||
| + | option interface ' | ||
| + | # If not specified, a non-link-local prefix of the interface is used | ||
| + | list prefix ' | ||
| + | option AdvOnLink 1 | ||
| + | option AdvAutonomous 1 | ||
| + | option AdvRouterAddr 0 | ||
| + | option ignore 0 | ||
| + | |||
| + | config route | ||
| + | option interface ' | ||
| + | list prefix '' | ||
| + | option ignore 1 | ||
| + | |||
| + | config rdnss | ||
| + | option interface ' | ||
| + | # If not specified, the link-local address of the interface is used | ||
| + | list addr '' | ||
| + | option ignore 1 | ||
| + | |||
| + | config dnssl | ||
| + | option interface ' | ||
| + | list suffix '' | ||
| + | option ignore 1 | ||
| + | </ | ||
| + | |||
| + | Create and edit | ||
| + | |||
| + | <file autoconf / | ||
| + | |||
| + | # AICCU Configuration | ||
| + | |||
| + | # Login information (defaults: none) | ||
| + | username XXXX-SIXXS | ||
| + | password XXXX | ||
| + | |||
| + | # Protocol and server to use for setting up the tunnel (defaults: none) | ||
| + | #protocol < | ||
| + | #server <server to use> | ||
| + | |||
| + | # Interface names to use (default: aiccu) | ||
| + | # ipv6_interface is the name of the interface that will be used as a tunnel interface. | ||
| + | # On *BSD the ipv6_interface should be set to gifX (eg gif0) for proto-41 tunnels | ||
| + | # or tunX (eg tun0) for AYIYA tunnels. | ||
| + | ipv6_interface tun0 | ||
| + | |||
| + | # The tunnel_id to use (default: none) | ||
| + | # (only required when there are multiple tunnels in the list) | ||
| + | tunnel_id T23724 | ||
| + | |||
| + | # Be verbose? (default: false) | ||
| + | verbose true | ||
| + | |||
| + | # Daemonize? (default: true) | ||
| + | # Set to false if you want to see any output | ||
| + | # When true output goes to syslog | ||
| + | # | ||
| + | # WARNING: never run AICCU from DaemonTools or a similar automated | ||
| + | # ' | ||
| + | # not to start which it gives on either the stdout or in the (sys)log | ||
| + | # file. The TIC server *will* automatically disable accounts which | ||
| + | # are detected to run in this mode. | ||
| + | # | ||
| + | daemonize true | ||
| + | |||
| + | # Automatic Login and Tunnel activation? | ||
| + | automatic true | ||
| + | |||
| + | # Require TLS? | ||
| + | # When set to true, if TLS is not supported on the server | ||
| + | # the TIC transaction will fail. | ||
| + | # When set to false, it will try a starttls, when that is | ||
| + | # not supported it will continue. | ||
| + | # In any case if AICCU is build with TLS support it will | ||
| + | # try to do a ' | ||
| + | # is supported. | ||
| + | requiretls false | ||
| + | |||
| + | # PID File | ||
| + | #pidfile / | ||
| + | |||
| + | # Add a default route (default: true) | ||
| + | # | ||
| + | |||
| + | # Script to run after setting up the interfaces (default: none) | ||
| + | # | ||
| + | |||
| + | # Make heartbeats (default true) | ||
| + | # In general you don't want to turn this off | ||
| + | # Of course only applies to AYIYA and heartbeat tunnels not to static ones | ||
| + | #makebeats true | ||
| + | |||
| + | # Don't configure anything (default: false) | ||
| + | # | ||
| + | |||
| + | # Behind NAT (default: false) | ||
| + | # Notify the user that a NAT-kind network is detected | ||
| + | behindnat true | ||
| + | |||
| + | # Local IPv4 Override (default: none) | ||
| + | # Overrides the IPv4 parameter received from TIC | ||
| + | # This allows one to configure a NAT into " | ||
| + | # forwarding the proto-41 packets to an internal host. | ||
| + | # | ||
| + | # This is only needed for static proto-41 tunnels! | ||
| + | # AYIYA and heartbeat tunnels don't require this. | ||
| + | # | ||
| + | |||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | aiccu start | ||
| + | / | ||
| + | / | ||
| </ | </ | ||
ipv6_tunnel_at_home.1428158490.txt.gz · Last modified: 2015/04/04 16:41 by samer