Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:ipv6_ipv4_transitioning [2021/09/05 05:43] – update vgaeteradocs:guide-user:network:ipv6_ipv4_transitioning [2023/01/28 12:12] – [IPv4/IPv6 transition technologies] vgaetera
Line 1: Line 1:
-====== IPv4/IPv6 Transition Technologies ====== +====== IPv4/IPv6 transition technologies ====== 
-See also: [[docs:guide-user:network:ipv6:ipv6.nat6|NAT64]]+See also: [[docs:guide-user:network:ipv6:nat64|NAT64 for IPv6-only networks]]
  
-Transitioning technologies can be installed using the packages with the same names.+Transition technologies can be installed using the following packages:
   * IPv6-in-IPv4 tunnels: [[packages:pkgdata:6rd]], [[packages:pkgdata:6to4]], [[packages:pkgdata:6in4]].   * IPv6-in-IPv4 tunnels: [[packages:pkgdata:6rd]], [[packages:pkgdata:6to4]], [[packages:pkgdata:6in4]].
   * IPv4-in-IPv6 tunnels: [[packages:pkgdata:ds-lite]].   * IPv4-in-IPv6 tunnels: [[packages:pkgdata:ds-lite]].
Line 25: Line 25:
 config interface 'wan6' config interface 'wan6'
         option proto        '6in4'         option proto        '6in4'
-        option tunlink      'wan' 
         option ipaddr       '178.24.115.19'         option ipaddr       '178.24.115.19'
         option peeraddr     '216.66.80.30'         option peeraddr     '216.66.80.30'
Line 40: Line 39:
 config interface 'wan6' config interface 'wan6'
         option proto     '6in4'         option proto     '6in4'
-        option tunlink   'wan' 
         option mtu       '1424'                      # the IPv6 tunnel MTU (optional)         option mtu       '1424'                      # the IPv6 tunnel MTU (optional)
         option peeraddr  '216.66.80.30'              # the IPv4 tunnel endpoint at the tunnel provider         option peeraddr  '216.66.80.30'              # the IPv4 tunnel endpoint at the tunnel provider
Line 93: Line 91:
 | ''ip6addr'' | IPv6 address (CIDR) | yes | //(none)// | Local IPv6 address delegated to the tunnel endpoint | | ''ip6addr'' | IPv6 address (CIDR) | yes | //(none)// | Local IPv6 address delegated to the tunnel endpoint |
 | ''ip6prefix'' | IPv6 prefix | no | //(none)// | Routed IPv6 prefix for downstream interfaces (Barrier Breaker and later only) | | ''ip6prefix'' | IPv6 prefix | no | //(none)// | Routed IPv6 prefix for downstream interfaces (Barrier Breaker and later only) |
-| ''tunlink'' | Logical Interface | no | //(none)// | Tunnel base interface |+| ''tunlink'' | Logical Interface | no | //(none)// | Tunnel base interface. Define which Interface, for example WAN, should be used for outgoing IPv4 traffic to the Remote IPv4 Address |
 | ''defaultroute'' | boolean | no | ''1'' | Whether to create an IPv6 default route over the tunnel | | ''defaultroute'' | boolean | no | ''1'' | Whether to create an IPv6 default route over the tunnel |
 | ''ttl'' | integer | no | ''64'' | TTL used for the tunnel interface | | ''ttl'' | integer | no | ''64'' | TTL used for the tunnel interface |
Line 145: Line 143:
  
 If this line isn't present, you need to obtain the correct values for peeraddr, ip6prefix, ip6prefixlen and ip4prefixlen from your ISP. If this line isn't present, you need to obtain the correct values for peeraddr, ip6prefix, ip6prefixlen and ip4prefixlen from your ISP.
-The above ip6rd or the obtained values can be used to hardcode the 6RD tunnel.+The above ip6rd or the obtained values can be used to hardcode the 6rd tunnel.
 Remove or comment out the iface6rd line in the wan section. Remove or comment out the iface6rd line in the wan section.
  
-:!: If you choose a name for your tunnel-interface that is different from 'wan6' make sure to add that name to the network-option of the firewall-zone 'wan' in /etc/config/firewall.+:!: If you choose a name for your tunnel-interface different from ''wan6'', be sure to add that network to the ''wan'firewall-zone.
  
 Below configuration options are only needed for hardcoding the 6rd tunnel. Below configuration options are only needed for hardcoding the 6rd tunnel.
Line 243: Line 241:
 config interface 'wan6' config interface 'wan6'
         option proto '6to4'         option proto '6to4'
 +
 +# /etc/config/firewall
 +config rule
 +        option target 'ACCEPT' 
 +        option name '6to4' 
 +        option src 'wan' 
 +        option proto '41'
 </code> </code>
  
-:!: If you choose a name for your tunnel-interface that is different from 'wan6' make sure to add that name to the network-option of the firewall-zone 'wan' in /etc/config/firewall.+:!: If you choose a name for your tunnel-interface different from ''wan6'', be sure to add that network to the ''wan'firewall-zone.
  
 See below for advanced configuration options. See below for advanced configuration options.
Line 279: Line 284:
 </code> </code>
  
-:!: If you choose a name for your tunnel-interface that is different from 'wan' make sure to add that name to the network-option of the firewall-zone 'wan' in /etc/config/firewall.+:!: If you choose a name for your tunnel-interface different from ''wan'', be sure to add that network to the ''wan'firewall-zone.
  
 See below for advanced configuration options. See below for advanced configuration options.
  • Last modified: 2023/10/14 06:51
  • by vgaetera