Re: ipv6 over an ipv4 tunnel

From: katphish <security_at_csrc.com>
Date: Fri, 04 Apr 2025 00:16:25 UTC
Hi Jack,

6in4, that was the hotness back in the day. On FreeBSD the gif[1] interface is purpose built to tunnel the IP protocols.

I don't know if/how it still applies but here are plenty of guides[2] and of course the handbook[3] to get you started:


Have fun!

[1] https://man.freebsd.org/cgi/man.cgi?gif(4)

[2] https://hack.org/mc/blog/ipv6-tunnel-dynamic.html

[3] https://docs.freebsd.org/en/books/developers-handbook/ipv6/

On Thu, 3 Apr 2025 23:55:35 +0200
Jack Raats <mlist@jarasoft.net> wrote:

> Hi,
> 
> I have two servers, both running FreeBSD 14.2
> 
> Server A has only one ipv4 address, no ipv6.
> 
> Server B has one ipv4 address and an ipv6 subnet.
> 
> Is it possible to give Server A an ipv6 address from server B ipv6 
> subnet and ipv6 connectivity and how?
> 
> Gr.,
> Jack Raats
> 
> 


-- 
Security <security@csrc.com>