OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: bexc on March 26, 2019, 02:53:23 am

Title: [SOLVED] GIF tunnel setup appears to want IPv4, not IPv6, addresses
Post by: bexc on March 26, 2019, 02:53:23 am
I have an IPv6 tunnel from Hurricane Electric, and went to configure it in "Interfaces: Other Types: GIF". However, the documentation says the "GIF tunnel remote address" should be configured as /64, but the drop-down only goes from 1 to 32.

Also, when I enter the information per the documentation, the UI complains about the IP addresses not being valid.

Is it the same bug as reported in https://forum.opnsense.org/index.php?topic=8733.0 ?

There, they say:

"There appears to be a bug in the UI code.
  That is, I can manually put a /64 after the tunnel-local-addr, like this:
      <tunnel-local-addr>2001:XX:XX:XX::2/64</tunnel-local-addr>
  in /conf/config.xml

And if I immediately restart, and go to Interfaces->other-GIF0 and click edit,
2001:XX:XX:XX::2/64 appears in the "GIF Tunnel Local Address" web field.

If I click "Save", I get the red banner of input error:

The following input errors were detected:
    The tunnel local and tunnel remote fields must have valid IP addresses."
Title: Re: GIF tunnel setup appears to want IPv4, not IPv6, addresses
Post by: franco on March 26, 2019, 09:09:19 am
Hi,

Are you talking about https://docs.opnsense.org/manual/how-tos/ipv6_tunnelbroker.html where what you says no longer exists?

Are you talking about the bug fixed in the docs 5 months ago?

https://github.com/opnsense/docs/commit/4d18ffae9b3

How are you running into this issue?


Cheers,
Franco
Title: Re: GIF tunnel setup appears to want IPv4, not IPv6, addresses
Post by: franco on March 26, 2019, 09:11:22 am
PS: Forgive my confusion if you talk about remote address and then edit tunnel-local-addr in the config.
Title: Re: GIF tunnel setup appears to want IPv4, not IPv6, addresses
Post by: bexc on March 26, 2019, 10:15:02 am
On https://docs.opnsense.org/_images/opnsense_add_gif.png (which is included on https://docs.opnsense.org/manual/how-tos/ipv6_tunnelbroker.html) it shows '64' on the "GIF tunnel remote address" field.
Title: Re: GIF tunnel setup appears to want IPv4, not IPv6, addresses
Post by: franco on March 26, 2019, 04:54:17 pm
Try a different browser. The select box is expanded to IPv6 subnet values on IPv6 input in the main address field.


Cheers,
Franco
Title: Re: GIF tunnel setup appears to want IPv4, not IPv6, addresses
Post by: bexc on March 26, 2019, 05:43:36 pm
Oh, thanks! It worked with Chromium.