How to access devices with IPV6 link local address from browser(like IE,firefox etc)?

sanky picture sanky · Jul 25, 2017 · Viewed 9.7k times · Source

Both my device and the host through which i'm trying to access are in the same subnet.

Scenario:

I have a switch and a server in same subnet. I have to access switch using ipv6 link local address from the browser in my server. Can anyone pls tell me the exact syntax??

Answer

cge picture cge · Oct 23, 2017

To give an answer specific to browsers: for most common browsers, you can't.

There is a proposed standard format, as Sander Steffann pointed out, for specifying the interface for a URL, which is in RFC 6874.

The developers of both Chromium and Firefox, and seemingly most other browsers, have decided to intentionally not support this. Firefox has actually had ipv6 link-local support intentionally removed. Bug reports are closed as WONTFIX. See Chromium bug 70762, and Firefox bug 700999. Furthermore, WHATWG also rejected implementation of RFC 6874. This has been the case for years, so I doubt anything short of a patch or fork will result in link-local addresses working. It appears that a number of people are quite set on not allowing link-local address support.

One workaround, however, is to use SSH forwarding. For example,

ssh -L '8080:[FE80::XXXX:XXXX:XXXX:XXXX%wlp4s0]:80' localhost