Re: Howto: ipsec tunnel routing both IPv4 and IPv6? Possible?

2024-01-15 Thread Michael Grimm
Me wrote: > On 15. Jan 2024, at 16:15, Michael Grimm wrote: > > Marek Zarychta wrote: >> W dniu 15.01.2024 o 15:35, Michael Grimm pisze: > >>> route_tunnel0="fd00:a:a:a::/64 fd00:a:a:a::254" > >> Please try: >> route_tunnel0="-6 -net fd00:a:a:a::/64 fd00:a:a:a::254" > > Bingo! That did the t

Re: Howto: ipsec tunnel routing both IPv4 and IPv6? Possible?

2024-01-15 Thread Michael Grimm
Marek Zarychta wrote: > W dniu 15.01.2024 o 15:35, Michael Grimm pisze: >> route_tunnel0="fd00:a:a:a::/64 fd00:a:a:a::254" > Please try: > route_tunnel0="-6 -net fd00:a:a:a::/64 fd00:a:a:a::254" Bingo! That did the trick: Internet6: Destination Gateway

Re: Howto: ipsec tunnel routing both IPv4 and IPv6? Possible?

2024-01-15 Thread Marek Zarychta
W dniu 15.01.2024 o 15:35, Michael Grimm pisze: route_tunnel0="fd00:a:a:a::/64 fd00:a:a:a::254" Please try: route_tunnel0="-6 -net fd00:a:a:a::/64 fd00:a:a:a::254" -- Marek Zarychta

Re: Howto: ipsec tunnel routing both IPv4 and IPv6? Possible?

2024-01-15 Thread Michael Grimm
Andrey V. Elsukov wrote: > ifconfig_ipsec0_ipv6="inet6 fd00:b:b:b::250 fd00:a:a:a::254 prefixlen 128" Thanks, now do get the tunnel set (after adding the tunnel to your hint): ifconfig_ipsec0="inet 10.2.2.250 10.1.1.254 tunnel 1.2.3.4 10.20.30.40" ifconfig_ipsec0_ipv6="inet6 fd00:b:b:

Re: Howto: ipsec tunnel routing both IPv4 and IPv6? Possible?

2024-01-15 Thread Andrey V. Elsukov
On 15.01.2024 16:09, Michael Grimm wrote: Hi, I do use an ipsec tunnel for routing local IPv4 traffic for years now (/etc/rc.conf): cloned_interfaces="ipsec0" static_routes="tunnel0" create_args_ipsec0="reqid 104" ifconfig_ipsec0="inet 10.2.2.250 10.1.1.254 tunnel 1.2.3

Howto: ipsec tunnel routing both IPv4 and IPv6? Possible?

2024-01-15 Thread Michael Grimm
Hi, I do use an ipsec tunnel for routing local IPv4 traffic for years now (/etc/rc.conf): cloned_interfaces="ipsec0" static_routes="tunnel0" create_args_ipsec0="reqid 104" ifconfig_ipsec0="inet 10.2.2.250 10.1.1.254 tunnel 1.2.3.4 10.20.30.40" route_tunnel0="10.1.1.0/24