• LAN interface static IPv6 trouble

    IPv6
    7
    0 Votes
    7 Posts
    2k Views
    A

    @andicniko

    EDIT: After a factory reset and trying again, it seems it will work if 1) I state the DHCPv6 range in full (including the prefix), and 2) I state the subnet in the router advertisements settings.

    For anyone else struggling to make this work, the specific settings are:

    Services / DHCPv6 Server & RA / LAN / DHCPv6 Server
    Range = [your desired IPv6 range in full, e.g. 1000:1000:1000:1000::2000 to 1000:1000:1000:1000::3000]

    Note: DO NOT omit the prefix when stating the range. This is one of the issues that seemed to prevent my DHCPv6 server working properly (if the LAN interface is set to IPv6 Configuration Type = Static IPv6). By default, the range is stated excluding the prefix, e.g. ::2000 to ::3000. I'm not sure why this should matter, if the subnet field is already populated and aware of 1000:1000:1000:1000::, and omitting the prefix does no harm when the LAN interface is set to IPv6 Configuration Type = Track interface. Also note: I also had some trouble keeping the "Provide DNS servers to DHCPv6 clients" checkbox ticked. It is ticked by default, but seemed to untick by itself when changing and saving settings on this page. When ticking it again and saving, it would just disappear. However, it was ticked after navigating to another page and coming back. So I didn't have an issue in the end.

    Services / DHCPv6 Server & RA / LAN / Router Advertisements
    Subnets = [your IPv6 prefix 1000:1000:1000:1000::/64]

    Note: DO NOT leave this blank. This is one of the issues that seemed to prevent my DHCPv6 server working properly (if the LAN interface is set to IPv6 Configuration Type = Static IPv6). By default this is blank, and it does no harm leaving it blank when the LAN interface is set to IPv6 Configuration Type = Track interface. I'm not sure why this should matter.

    I don't know if the above are supposed to be necessary or not - apologies if I'm posting something that should be obvious. But I hope that helps someone!

  • Using IPv6 Dynamic Prefix in Firewall Rules

    Firewalling
    1
    0 Votes
    1 Posts
    389 Views
    No one has replied
  • 0 Votes
    16 Posts
    3k Views
    K

    @jimp said in Support for IPv6 firewall entries with dynamic delegated prefix and static host address:

    While some people choose to only allow specific source hosts to specific destination hosts in a DB net, usually people don't get that fine-grained, either because the sources need to reach most if not all the resources in the target network, or because there aren't that many to bother with being that specific. Either way if someone has to get that complex with rules it's highly unusual for them to be using any kind of dynamic addressing like prefix delegation.

    Now that I can completely agree with! But may I suggest that you name the feature in another way? As this works with and without prefix delegation, and is more concerned about using a shortform (host part only) on interfaces.

    This is based on that I only understood the limit, when I read the sourcefile, and realized it did not use my PD, but the network the interface was assigned even if it was static.

  • Assign WAN IPv6 to LAN Clients

    IPv6
    12
    0 Votes
    12 Posts
    2k Views
    JKnottJ

    @virgiliomi

    One other point about VPNs. I use my IPv4 address for it for 2 reasons. One is I only use the VPN from my notebook computer, which I might be using from a location that only has IPv4 and the other has to do with DNS. I use a public DNS server which is configured for the IPv6 addresses that I want to make available on it. But my public IPv4 address is an alias that points to the host name provided by my ISP and is based on my cable modem and firewall MAC addresses. With the alias, the IPv6 address is never used. I could directly configure the IPv4 address, so that the IPv4 or IPv6 address would be used as appropriate, but that would then fail on the very rare occasion that my address changes.

  • Wireless clients lose ipv6 gateway

    IPv6
    30
    0 Votes
    30 Posts
    7k Views
    M

    For my site the issue has been resolved now. Been running smoothly for more than a week after increasing Router Lifetime in services_router_advertisements.php?if=lan

  • 0 Votes
    24 Posts
    5k Views
    JKnottJ

    @ddbnj

    Then I can only assume you didn't reboot pfsense. That's pretty much necessary to get the full sequence. Otherwise, you only get renewals.

  • Persistently Change RADVD AdvLinkMTU?

    IPv6
    5
    0 Votes
    5 Posts
    2k Views
    D

    Just in case someone finds this hack useful, the following is the patch I used on 2.5.0. It will only do what is intended (hardcode advertised MTU to 1480) if "Use same settings as DHCPv6 server" is unchecked under the Router Advertisements configuration settings.

    src/etc/inc/services.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/inc/services.inc b/src/etc/inc/services.inc index a3203aaaf7..1c63272ca1 100644 --- a/src/etc/inc/services.inc +++ b/src/etc/inc/services.inc @@ -130,7 +130,8 @@ function services_radvd_configure($blacklist = array()) { $radvdconf .= "\tAdvDefaultLifetime {$dhcpv6ifconf['raadvdefaultlifetime']};\n"; } - $mtu = get_interface_mtu($realif); + /*$mtu = get_interface_mtu($realif);*/ + $mtu = 1480; if (is_numeric($mtu)) { $radvdconf .= "\tAdvLinkMTU {$mtu};\n"; } else {
  • IPv6 Tracking Interfaces Lose IPv6 Address

    IPv6
    27
    0 Votes
    27 Posts
    3k Views
    johnpozJ

    I don't think its really anything to do with the AP firmware.. So I don't think they will be able to fix it.. From what a few were saying has to do with the different auth that wpa3 uses..

    Not sure - have not dug that deep into yet. I was really hoping to just have guest be limited to wpa3.. But I will live with this compromise.. Just thought give you a heads up if you were doing the same thing.. And you had friends come over - and you get hey this qr code thing isn't working ;)

  • 0 Votes
    2 Posts
    2k Views
    JKnottJ

    @beremonavabi

    I have never been able to understand the reasons for not supporting DHCPv6 on Android. The reasons I've read could equally apply to SLAAC.

  • Cox IPv6 Settings?

    IPv6
    3
    0 Votes
    3 Posts
    4k Views
    beremonavabiB

    @virgiliomi Thanks. That's a really helpful answer. I appreciate it.

  • WebGUI slow on IPv6 on WAN

    webGUI
    4
    0 Votes
    4 Posts
    1k Views
    GertjanG

    I tested my IPv6 access :

    I introduced a firewall rule on my HENET interface :

    32f30acb-b7d8-476a-bfd3-d69a3821dc1a-image.png

    I have a DNS record that point's to my WAN IPv4, not my WAN IPv6, so I had to use my IPv6 WAN IP to connect to the GUI.
    I had a cert warning from my browser, of course.

    But the access worked well :

    63a2eab4-54c2-4efa-9ef7-04825ab0f777-image.png

    "Well" means for me : knowing that my IPv6 is using a tunnel to tunnel.ne.net (Huricane IPv6 ISP) the speed was somewhat limited, about 10 Mbytes /sec.
    I could browse the entire pfSense GUI very well, no hick-ups ....

    edit : I'll leave the IPv6 access open for a while.
    PM me, and I can even send you an 'access' so you can test drive yourself.
    That is, if you promise not to change something, as this is a "live' environment ;)

  • 0 Votes
    21 Posts
    3k Views
    T

    @mickman99 Sorry mal wieder die späte Rückmeldung. Habe jetzt Urlaub und kann mich dem Thema wieder expliziter widmen.

    Tatsächlich wird der Präfix einwandfrei auf die Interfaces verteilt und stimmen auch mit dem Präfix mit dem der FRITZ!Box überein. Laut Log der FRITZ!Box wird das verteilte Netz an das LAN Interface auch erkannt und als Exposed Host freigegeben.

    Ich vertraue allerdings der Firewall der FRITZ!Box nicht so ganz. Ich richte parallel bei einem Nachbar einen OpenVPN Server über IPv6 ein. Auch dort wird der eingehender Verkehr trotz Exposed Host (natürlich nur zum Test so freigegeben) rejected. Sinn macht das nicht.

    Zusätzlich ist bei meiner pfsense das Problem aufgetreten, wenn viele Daten auf einmal verarbeitet werden müssen, dass der interne DNS Server abschmiert. Da habe ich auch die Vermutung, dass es an der FRITZ!Box liegt. Der Log der Fritte verrät da allerdings nicht so viel...

  • DS-Lite State in 2020

    IPv6
    7
    1 Votes
    7 Posts
    2k Views
    J

    @jan_berg This approach seemed to be working for me: https://wiki.cable-wiki.xyz/OPNsense

    Caveats:

    Can't be done through UI, needs to be executed in a shell. The tunnel will not be visible in the UI. Doesn't persist. Would need to re-execute every time the WAN comes up and has a global IPv6 assigned. Need to extract the AFTR name and its IPv6 address. In my case, the name comes through via DHCPv6 from the ISP as option 64. Could extract it via tcpdump. Then resolved it to an IP address and used that when setting up the tunnel. Breaks again if AFTR name/IP changes.

    So, no real DS-Lite support in pfSense currently, but possible to set up manually.

  • 1 Votes
    2 Posts
    578 Views
    B

    Hmm, maybe adding a static route would solve this? If you go to System, Routes and Static routes.

  • IPv6 Ports mittels Firewall blocken

    Deutsch
    15
    0 Votes
    15 Posts
    3k Views
    M

    Hey,

    ich habs jetzt hinbekommen, also nicht selber :/. Mein Freund hat mir geholfen und es geht jetzt.
    Vielen dank für die ganze Hilfe.

    LG
    Mathias

  • 0 Votes
    4 Posts
    954 Views
    JKnottJ

    @Jxck

    Well, it certainly won't work, without it being configured on the VPN.

  • 0 Votes
    5 Posts
    1k Views
    P

    @jimp If states are not to be preserved, then a disable/enable (via a heartbeat mechanism or otherwise) might do the trick.. of course with a disruption of the IPv6 connectivity while the tunnel is re-establishing itself.

  • Non local gateway IPv6

    IPv6
    25
    0 Votes
    25 Posts
    5k Views
    JKnottJ

    @Overclock said in Non local gateway IPv6:

    I let you inform about OVH response.

    Ask them how SLAAC is supposed to work with a /56. You may be able to get a single /64 to work, but the other 255 will be unusable.

  • Pfsense ipv6 configuration issue on LAN

    IPv6
    4
    0 Votes
    4 Posts
    995 Views
    DerelictD

    I suggest you post exactly what the ISP provided to you regarding how they provisioned IPv6 to you.

  • Délégation préfixe IPv6 /56

    Français
    5
    0 Votes
    5 Posts
    2k Views
    D

    Salut ici !

    J'ai un peu revu ma copie concernant l'utilisation du /56 fournis par Orange.

    Je n'utilise plus le fichier de configuration /usr/local/etc/dhcp6c_wan_new.conf, je suis revenu à une configuration tel que décrite ici : https://wiki.virtit.fr/doku.php/kb:linux:pfsense:remplacer_sa_box_orange_par_un_pfsense

    Au niveau de l'interface WAN j'ai juste ajouté DHCPv6 Prefix Delegation size = 56, voici la configuration de l'interface (seulement pour l'IPv6):

    WAN

    Le fait de déterminer le préfixe côté WAN permet d'avoir côté LAN (ou autres interfaces) la possibilité d'utiliser l'option Track Interface:

    LAN: Track interface

    Mais en l'état rien ne fonctionne, les clients n'obtiennent pas d'adresse IPv6 😧

    Du coup côté LAN je me suis résigné à détermine l'adresse IPv6 de façon statique:

    LAN: Static IPv6

    Quelqu'un a déjà eu l'expérience d'utiliser l'option Track interface avec succès ?

    J'imagine qu'on n'est vraiment pas loin du tout en terme de configuration mais j'ai beau tout retourner je n'y parviens pas.

    Certes le fonctionnement actuel est correct, mais j'aurai souhaité atteindre la perfection en n'ayant pas à écrire le préfixe en dur dans les interfaces...