Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
[SOLVED] PPPoE & IPv6
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] PPPoE & IPv6 (Read 7865 times)
mahescho
Jr. Member
Posts: 63
Karma: 2
[SOLVED] PPPoE & IPv6
«
on:
September 26, 2018, 03:08:50 pm »
Hi,
I've setup a PPPoE interface which should work in dual stack mode with fixed IPv4 and IPv6 addresses. I want to set the IPv6 address. I've set IPv6 to "static" but the address does not get set. The interfaces always uses a generated IPv6 address.
How to fix this?
TIA
Matthias
«
Last Edit: September 28, 2018, 12:43:10 pm by mahescho
»
Logged
OPNsense 24.1.6-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: PPPoE & IPv6
«
Reply #1 on:
September 26, 2018, 04:54:30 pm »
It's very unusual for an ISP to expect you to set your WAN IPv6 address as a static. I have my WAN set to DHCP6 and this gives me a link local (fe80:
IPv6 address in the OPNsense gateway list. You can also use the 'track interface' option for the WAN in OPNsense - YMMV.
Remember that there is no NAT in a (sane) IPv6 configuration. The source for internal hosts is the IPv6 IP of the internal host, not the "public" IP of the NAT router, like in IPv4. You firewall the hosts directly. Remember to allow ICMPv6 as a lot of stuff depends on it.
A static ISP assignment is through a delegation of a number of IPv6 /64 subnets bundled in a /56, or a /48 range if your ISP is generous. Set your LAN interface to a static and configure Services, Router Advertisements, [LAN] to enable SLAAC for your internal clients. Most OS will obfuscate the address through the RFC 4941 Privacy Extension. Port scanning is a nigh impossible task in IPv6 anyway, due to the size of the address space.
http://cav6tf.org
is a cute test site. Watch the turtle swim.
Bart...
Logged
mahescho
Jr. Member
Posts: 63
Karma: 2
Re: PPPoE & IPv6
«
Reply #2 on:
September 26, 2018, 05:07:08 pm »
Thanks for you time tying to explain IPv6 to me but that was not the question
What I get is a static /64 prefix for the WAN interface an /56 prefix for internal use. When I connect by PPPoE the PPPoE interfaces gets an IP of the /64 prefix. I know that NAT is not required when using IPv6. When I e.g. want to use the public IPv6 address of the firewall to act as reverse proxy or mail relay I need a static IPv6 address.
Trust me, I know IPv6 and how it works and how it's intended
So there is no need to argue about the purpose of a static IPv6 address
I just want to know how to set it on a PPPoE interface ...
Logged
OPNsense 24.1.6-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13
mahescho
Jr. Member
Posts: 63
Karma: 2
Re: PPPoE & IPv6
«
Reply #3 on:
September 28, 2018, 12:42:48 pm »
Issue fixed by:
https://github.com/opnsense/changelog/blob/master/doc/18.7/18.7.4#L18
The best way to setup IPv6 on a PPPoE interface is to do it this way:
https://wiki.opnsense.org/manual/how-tos/ipv6_dsl.html
And then set the static IP by creating a virtual IP.
«
Last Edit: December 07, 2018, 08:12:05 am by mahescho
»
Logged
OPNsense 24.1.6-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
[SOLVED] PPPoE & IPv6