Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: Walter H. on March 16, 2017, 06:18:15 AM

Title: Local end of HE Tunnel?
Post by: Walter H. on March 16, 2017, 06:18:15 AM
here is shown a short how to do
https://www.dragonsreach.it/2012/12/21/ipv6-tunneling-hurricane-electrics/

at 5. with Fedora there is shown this:
Code: [Select]
IPV6TUNNELIPV4="216.66.80.30"
IPV6TUNNELIPV4LOCAL="192.168.X.X" (Your PC's LAN IP address)

my router box (CentOS - as Fedora a RHEL based Linux) has two interfaces
- eth0 (LAN)
- eth1 (WAN)

because my ISP installed a router box, my router box has RFC1918 IPv4 addresses on both interfaces
e.g. 192.168.0.2 on eth1 (WAN)
and 172.16.0.1 on eth0 (LAN)

which of these 2 IP addresses should I configure as the local tunnel end?
(it works with both)
Title: Re: Local end of HE Tunnel?
Post by: mikma on March 24, 2017, 05:55:51 PM
because my ISP installed a router box, my router box has RFC1918 IPv4 addresses on both interfaces

The tunnelling protocol used with HE is 6in4, also called protocol 41. 6in4 packets will contain an outer IPv4 header and an inner IPv6 header but no UDP or TCP header.

Your only hope to use 6in4 and HE with the ISP installed a router box is that it has a DMZ feature as described below that you can use.

Quote
When an endpoint of a 6in4 tunnel is behind a NAT, one can in some cases still make use of the DMZ feature of a NAT router. The NAT router will then forward all incoming proto-41 packets to the configured host, thus making the tunnel work. Some NAT devices even allow transparent operation of 6in4.

https://en.wikipedia.org/wiki/6in4