Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: shahed100 on January 02, 2017, 12:25:10 PM

Title: Inbound ipv6 connections not working on tunnel
Post by: shahed100 on January 02, 2017, 12:25:10 PM
I have my tunnel working ok, but am not able to get inbound connections to return.

When I run a test from he.net site, I seem to get a SYN from 2001:470:0:aa::2 but there is no response to that SYN.


My guess is that its a routing issue on my MAC.


What I did was :-

1. Add one of the routed address to my en0 interface.

       eg. 2001:470:1f09:91b::/64 ---> so I used 2001:470:1f09:91b::1

2. Set the router to be the client v6 address (my end of the tunnel, ending in ::2)
 

3. Setup a DNS entry for 2001:470:1f09:91b::1


So I guess my question is, what should be the router address, or what would be the best way to assign a routed address on my Mac where I can host a service (like a web server) and have it routable ?


Thanks



Title: Re: Inbound ipv6 connections not working on tunnel
Post by: shahed100 on January 03, 2017, 05:05:43 AM
Solved the issue by adding a routed IP address to the gif0 interface and also enabling ipv6 forwarding with sysctl. (Although I am not sure its required if I have the routed addr on the tunnel interface, and I want to reach only that address from outside)