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

From OnnoWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
opkg update
+
Pastikan parameter di tunnelbroker.net, untuk openwrt versi baru sudah ada interface wan6 yang dapat kita ubah menggunakan parameter dari tunnelbroker menjadi, misalnya,
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 set network.wan6=interface
uci commit firewall
+
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
 +
  
ifup henet
+
Ubah YOUR_PASSWORD di atas menjadi password account tunnelbroker.net anda.
/etc/init.d/firewall restart
 
  
 +
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,
  
Replace YOUR_PASSWORD above with your tunnelbroker.net account password.
+
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
  
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.
+
==Referensi==
 +
 
 +
* https://dev.openwrt.org/ticket/12915
 +
* http://wiki.openwrt.org/doc/uci/network6#henet.6in4.tunnel
 +
 
 +
 
 +
==Pranala Menarik==
 +
 
 +
* [[OpenWRT]]
 +
* [[OpenWRT: Download Firmware yang sudah jadi]]
 +
* [[OpenWRT: Source Repository Download]]
 +
* [[OpenWRT: Melihat Daftar Package]]
 +
 
 +
===Build Firmware===
 +
 
 +
* [[OpenWRT: Build Firmware]]
 +
* [[OpenWRT: Build Firmware Download Source Pendukung]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG450H]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300N]]
 +
* [[OpenWRT: Build Firmware Buffalo WZRHPG300NH2]]
 +
* [[Buffalo]]
 +
* [[Buffalo: WZRHPG450H Cara Recovery]]
 +
* [[Buffalo: WZRHPG450H OpenWRT mengaktifkan setelah di flash]]
 +
* '''[[Buffalo: WZRHPG450H Membuat Firmware OpenWRT Sendiri]]''' '''COOL'''
 +
* [[Buffalo: WZRHPG450H OpenWRT instalasi aplikasi Pendukung OLSRD]]
 +
* [[OpenWRT: Build Firmware Ubiquiti NanoStation2]]
 +
* [[OpenWRT: Build Firmware Mikrotik RB433]]
 +
* [[OpenWRT: Build Firmware Linksys WRT160NL]]
 +
* [[OpenWRT: Build Firmware Linksys WRT54GL]]
 +
 
 +
===IPv6===
 +
 
 +
* [[OpenWRT: IPv6]]
 +
* [[OpenWRT IPv6: Build Firmware Linksys WRT160NL]]
 +
* [[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: Konfigurasi]]
 +
* [[OpenWRT IPv6: Konfigurasi WAN6 dengan radvd]]
 +
 
 +
===Flash Firmware===
 +
 
 +
* [[OpenWRT: Flash Linksys WRT54GL]]
 +
* [[OpenWRT: Flash Linksys WRT160NL]]
 +
* [[OpenWRT: Flash Buffalo WZRHP450H]]
 +
* [[OpenWRT: Flash Buffalo WZRHP300N]]
 +
* [[OpenWRT: Flash UBNT NanoStation2]]
 +
* [[OpenWRT: Flash UBNT NanoStation M2]]
 +
* [[OpenWRT: Flash UBNT NanoStation Loco M2]]
 +
 
 +
===Misc===
 +
 
 +
* [[OpenWRT: Setup WiFi]]
 +
* [[OpenWRT: Setup PPTP VPN Server]]
 +
* [[OpenWRT: Setup OLSR di UBNT via CLI]]
 +
* [[OpenWRT: Mikrotik RB433]]
 +
* [[OpenWRT: Setup OLSR Sederhana]]
 +
* [[OLSR - di OpenWRT]]
 +
* [[OpenWRT: 3G modem]]
 +
* [[OpenWRT: Build Firmware dengan 3G Modem Support]]
 +
* [[OpenWRT: Setup Firewall]]
 +
* [[OpenWRT: Konfigurasi UBNT NanoStation2 tanpa WebGUI]]
 +
 
 +
===UBNT===
 +
 
 +
* [[UBNT]]
 +
* [[UBNT: Teknik Recovery]]
 +
* [[UBNT: Upload Firmware]]
 +
* [[UBNT: Rebuild Firmware]]
 +
* [[UBNT: firmware dengan OLSR]]
 +
* [[UBNT: openwrt]]
 +
* [[UBNT: olsr dengan openwrt]]
 +
* [[UBNT: olsr dengan kamikaze openwrt]]
 +
* [[UBNT: olsr dengan backfire openwrt]] '''RECOMMENDED'''
 +
* [[UBNT: UniFi]]
 +
* [[UBNT: UniFi Konfigurasi Awal]]
 +
* [[UBNT: UniFi Manajemen HotSpot]]
 +
* [[UBNT: OLSR Pembuatan Firmware]]
 +
* [[UBNT: OLSR Konfigurasi]]
 +
* [[OLSR - di UBNT]]
 +
* [[OLSR - di Ubuntu]]
 +
* [[OpenWRT]]

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