| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| hu:doc:uci:network [2018/06/09 05:37] – link fixed tmomas | hu:doc:uci:network [2018/09/16 11:45] – moving links before article move operation bobafetthotmail |
|---|
| |
| ==== Interfészek ==== | ==== Interfészek ==== |
| Az ''interface'' típusú szekciók meghatározzák a logikai hálózatok számára az IP-cím beállításokat, [[hu:doc:uci:network#álnevek|álneveket]], [[hu:doc:uci:network#ipv4.útvonalak|útvonalakat]], fizikai interfészneveket és [[docs:guide-user:firewall:firewall_configuration#zones|tűzfal szabályokat]] - ezek központi szerepet játszanak az OpenWRT konfigurációjának felépítésében. | Az ''interface'' típusú szekciók meghatározzák a logikai hálózatok számára az IP-cím beállításokat, [[hu:doc:uci:network#álnevek|álneveket]], [[hu:doc:uci:network#ipv4.útvonalak|útvonalakat]], fizikai interfészneveket és [[inbox:firewall:firewall3:fw3_network|tűzfal szabályokat]] - ezek központi szerepet játszanak az OpenWRT konfigurációjának felépítésében. |
| Egy interfész minimális meghatározása a következő sorokat tartalmazza: | Egy interfész minimális meghatározása a következő sorokat tartalmazza: |
| |
| === Protocol "6in4" (IPv6-in-IPv4 Tunnel) === | === Protocol "6in4" (IPv6-in-IPv4 Tunnel) === |
| |
| További információk az [[doc:uci:network#protocol.6in4.ipv6-in-ipv4.tunnel|protocol.6in4.ipv6-in-ipv4.tunnel]] oldalon. | További információk az [[docs:guide-user:network:ipv6_ipv4_transitioning#protocol_6to4_ipv6-in-ipv4_tunnel|protocol.6in4.ipv6-in-ipv4.tunnel]] oldalon. |
| |
| |
| otherwise [[doc/uci/firewall#forwardings|unidirectional forwarding rules]] will not work. | otherwise [[doc/uci/firewall#forwardings|unidirectional forwarding rules]] will not work. |
| |
| :!: Don't forget to set up [[docs:guide-user:firewall:firewall_configuration#forwarding_ipv6_tunnel_traffic|forwarding rules]] between the LAN and the tunnel if you want to route IPv6 traffic between them. | :!: Don't forget to set up [[inbox:firewall:fw3_configurations:fw3_ipv6_examples#Forwarding_IPv6_tunnel_traffic |forwarding rules]] between the LAN and the tunnel if you want to route IPv6 traffic between them. |
| === Setup behind one-to-one NAT === | === Setup behind one-to-one NAT === |
| |
| * Trunk/Attitude Adjustment <code>. /lib/functions/network.sh; network_get_ipaddr ip wan; echo $ip</code> | * Trunk/Attitude Adjustment <code>. /lib/functions/network.sh; network_get_ipaddr ip wan; echo $ip</code> |
| |
| If this is your case you should fill the WAN IP address into ''ipaddr'' option instead of your actual public IP that might have been provided to [[http://he.net/|Hurricane Electric]] during tunnel creation.((You should always use your public IP while creating Hurricane Electric tunnel, so don't change it just because you are behind one-to-one NAT.)) Or you may completely omit the [[doc:uci:network#protocol.6in4.ipv6-in-ipv4.tunnel|optional]] ''ipaddr'' option and let auto configuration to handle the correct IP. (FIXME Auto configuration is vague. Is ''uci'' handling this case?) That would be preferred solution if your WAN IP is dynamic (i.e. obtained via DHCP) or you are not sure. Example of ''/etc/config/network'' entry: | If this is your case you should fill the WAN IP address into ''ipaddr'' option instead of your actual public IP that might have been provided to [[http://he.net/|Hurricane Electric]] during tunnel creation.((You should always use your public IP while creating Hurricane Electric tunnel, so don't change it just because you are behind one-to-one NAT.)) Or you may completely omit the [[docs:guide-user:network:ipv6_ipv4_transitioning#protocol_6to4_ipv6-in-ipv4_tunnel|optional]] ''ipaddr'' option and let auto configuration to handle the correct IP. (FIXME Auto configuration is vague. Is ''uci'' handling this case?) That would be preferred solution if your WAN IP is dynamic (i.e. obtained via DHCP) or you are not sure. Example of ''/etc/config/network'' entry: |
| |
| <code> | <code> |