Difference between revisions of "OpenWRT IPv6: Setup tunnel ke tunnelbroker"

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Pastikan parameter di tunnelbroker.net, untuk openwrt versi baru sudah ada interface wan6 yang dapat kita ubah menggunakan parameter dari tunnelbroker menjadi, misalnya,
 +
 +
 +
uci set network.wan6=interface
 +
uci set network.wan6.proto=6in4
 +
uci set network.wan6.peeraddr=216.218.221.42
 +
uci set network.wan6.ip6addr='2001:470:35:ab6::2/64'
 +
uci set network.wan6.tunnelid=208951
 +
uci set network.wan6.ip6prefix='2001:470:36:ab6::/64'
 +
uci set network.wan6.username=tb51aa9310a105d0.19920640
 +
uci set network.wan6.password='YOUR_PASSWORD'
 +
uci commit network
 +
 +
uci set firewall.@zone[1].network='wan wan6'
 +
uci commit firewall
 +
 +
 +
Ubah YOUR_PASSWORD di atas menjadi password account tunnelbroker.net anda.
 +
 +
CATATAN: jika kita menggunakan appliance / laptop yang berada di belakang firewall dan melalukan protokol 41, gunakan IPv4 address yang kita dapat dari DHCP server bukan IPv4 endpoint yang kita berikan ke tunnelbroker.
 +
 +
==OpenWRT versi lama==
 +
 +
Masuk ke shell dan lakukan, misalnya,
 +
 
  opkg update
 
  opkg update
 
  opkg install 6in4
 
  opkg install 6in4
Line 18: Line 43:
  
  
atau
+
==Referensi==
 
 
 
 
uci set network.wan6=interface
 
uci set network.wan6.proto=6in4
 
uci set network.wan6.peeraddr=216.218.221.42
 
uci set network.wan6.ip6addr='2001:470:35:ab6::2/64'
 
uci set network.wan6.tunnelid=208951
 
uci set network.wan6.username=tb51aa9310a105d0.19920640
 
uci set network.wan6.password='YOUR_PASSWORD'
 
uci commit network
 
 
uci set firewall.@zone[1].network='wan wan6'
 
uci commit firewall
 
 
 
 
 
 
 
 
Replace YOUR_PASSWORD above with your tunnelbroker.net account password.
 
 
 
NOTE: When behind a firewall appliance that passes protocol 41, use the IPv4 address you get from your appliance's DHCP service instead of the IPv4 endpoint you provided to our broker.
 
  
The configurations provided are example configurations and may be different depending on the version of the OS or the tools you are using. If you have any issues getting your tunnel to work please contact us at ipv6@he.net and we will be happy to assist you.
+
* https://dev.openwrt.org/ticket/12915
 +
* http://wiki.openwrt.org/doc/uci/network6#henet.6in4.tunnel
  
  
Line 72: Line 78:
 
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL]]
 
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL]]
 
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL Tanpa WebGUI]]
 
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL Tanpa WebGUI]]
 +
* [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT IPv6: Build Firmware Buffalo WZRHPG300NH2]]
 
* [[OpenWRT IPv6: Setup tunnel ke tunnelbroker]]
 
* [[OpenWRT IPv6: Setup tunnel ke tunnelbroker]]
 
* [[OpenWRT IPv6: Konfigurasi]]
 
* [[OpenWRT IPv6: Konfigurasi]]
 +
* [[OpenWRT IPv6: Konfigurasi WAN6 dengan radvd]]
  
 
===Flash Firmware===
 
===Flash Firmware===

Latest revision as of 18:19, 1 January 2014

Pastikan parameter di tunnelbroker.net, untuk openwrt versi baru sudah ada interface wan6 yang dapat kita ubah menggunakan parameter dari tunnelbroker menjadi, misalnya,


uci set network.wan6=interface
uci set network.wan6.proto=6in4
uci set network.wan6.peeraddr=216.218.221.42
uci set network.wan6.ip6addr='2001:470:35:ab6::2/64'
uci set network.wan6.tunnelid=208951
uci set network.wan6.ip6prefix='2001:470:36:ab6::/64'
uci set network.wan6.username=tb51aa9310a105d0.19920640
uci set network.wan6.password='YOUR_PASSWORD' 
uci commit network

uci set firewall.@zone[1].network='wan wan6'
uci commit firewall

Ubah YOUR_PASSWORD di atas menjadi password account tunnelbroker.net anda.

CATATAN: jika kita menggunakan appliance / laptop yang berada di belakang firewall dan melalukan protokol 41, gunakan IPv4 address yang kita dapat dari DHCP server bukan IPv4 endpoint yang kita berikan ke tunnelbroker.

OpenWRT versi lama

Masuk ke shell dan lakukan, misalnya,

opkg update
opkg install 6in4

uci set network.henet=interface
uci set network.henet.proto=6in4
uci set network.henet.peeraddr=216.218.221.42
uci set network.henet.ip6addr='2001:470:35:ab6::2/64'
uci set network.henet.tunnelid=208951
uci set network.henet.username=tb51aa9310a105d0.19920640
uci set network.henet.password='YOUR_PASSWORD' 
uci commit network

uci set firewall.@zone[1].network='wan henet'
uci commit firewall

ifup henet
/etc/init.d/firewall restart


Referensi


Pranala Menarik

Build Firmware

IPv6

Flash Firmware

Misc

UBNT