Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Firewall IPv6 with dynamic Prefix? ::1000 work?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Firewall IPv6 with dynamic Prefix? ::1000 work? (Read 20304 times)
Bytechanger
Full Member
Posts: 239
Karma: 0
Firewall IPv6 with dynamic Prefix? ::1000 work?
«
on:
May 05, 2020, 10:10:00 am »
Hi,
I want to set some Client rules in the firewall.
On ipv4 no problem, but what is with ipv6.
In past it works only with static prefix.
Does the firewall now accept rules for e.g. :8000::1000 (e.g. for subnet 8000 and ip ::1000) ?
I´ve set a DHVPv6 with some subnet, :8000, :8001, :8002 and tried to set static Mappings with variable prefix.
Greets
Byte
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Firewall IPv6 with dynamic Prefix? ::1000 work?
«
Reply #1 on:
May 05, 2020, 12:35:36 pm »
No, that hasn't changed yet. Firewall rules don't support dynamic prefixes. You will find many discussions about this here and on GitHub.
DHCPv6 static mappings do work with dynamic prefixes, but Unbound integration is broken.
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Bytechanger
Full Member
Posts: 239
Karma: 0
Re: Firewall IPv6 with dynamic Prefix? ::1000 work?
«
Reply #2 on:
May 05, 2020, 01:16:19 pm »
Hi,
that's too bad.
It makes switching to ipv6 very difficult.
What do you mean "Unbound integration is broken" ?
Greets
Byte
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Firewall IPv6 with dynamic Prefix? ::1000 work?
«
Reply #3 on:
May 05, 2020, 07:22:46 pm »
The "Register DHCP static mappings" feature in the Unbound settings doesn't work if you only specify the interface identifier in a DHCPv6 static mapping (like ::1000). DNS resolution of such hostnames won't work:
https://github.com/opnsense/core/issues/3657
Your options are to get a (semi-)static prefix, get involved in OPNsense development or switch to a firewall with better support for dynamic prefixes. There are a few commercial ones, but I'm not aware of an open source one. It is like it is...
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Hikari
Newbie
Posts: 2
Karma: 0
Re: Firewall IPv6 with dynamic Prefix? ::1000 work?
«
Reply #4 on:
March 31, 2021, 01:57:31 am »
Hello!
I'm looking for same thing and DDG pointed me to this thread. This is very sad indeed, I knew opnsense doesn't support NPTv6 with dynamic prefix, but didn't know firewall also didn't work.
OpenWRT support IPv6 dynamic prefix, but doesn't support NPTv6.
It's very frustrating how IPv6 isn't fully supported on any router OS yet :/
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Firewall IPv6 with dynamic Prefix? ::1000 work?
«
Reply #5 on:
April 01, 2021, 06:38:32 pm »
Well, at least the DHCPv6 static mappings situation has recently improved. They are now correctly registered in Unbound. Depending on your use case, you might be able to use host name aliases in firewall rules.
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Firewall IPv6 with dynamic Prefix? ::1000 work?