I've switched ISPs, and need to pull an IPv6 dhcp6-lease from the ISP
provided modem.
To get the lease I opened
ACCEPT net:fe80:0000:0000:0000:36df:cef3:332d2:aac1 $FW udp 546
where the [fe80:0000:0000:0000:36df:cef3:332d2:aac1] is the LinkLocal
address of the modem's internal interface, attached to the external
interface of my firewall/router that's pulling the lease.
I want to ensure that I pull the lease ONLY from the 1st-hop modem, not
from any, further-upstream hop.
That fe80:... address appears to change @ any modem power cycle, IP
refresh, etc.
It remains a link-local address, but varies in the LL space.
How can I limit that rule to open only to dhcp6-lease solicitation from
that 1st hop modem?
I suppose I could query the DHCP server for the LinkLocal address in a
start script, and assign/use the IP in a shorewall variable, but I'm
wondering if any of the additional IPv6 neighbor advertisement/discovery
has something simpler available.
------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users