Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    IPv6 policy routing selects wrong interface

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 101 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z Offline
      zivillian
      last edited by

      I already opened a bug at https://redmine.pfsense.org/issues/9815 but was told to ask here (Not a Bug).

      I have an IPv6 firewall rule on LAN with a non default gateway (OPTGWv6) which belongs to the interface OPT8(l2tp1).

      After applying the rule I took a look at pfctl -sa and it showed a route-to rule with the interface WAN1(em0) instead of OPT8(l2tp1). What bothers me is that WAN1 does not have an IPv6 Adress or Gateway.

      my config:

      • the gateway for the rule is selected in L133
      • the gateway belongs to opt8 L234
      • WAN1 has no IPv6 config L37

      pfctl -sa:
      pass in quick on em1.1 route-to (em0 2a00:zzzz:zzzz:zzzz::1) inet6 proto ipv6-icmp from any to 2001:bbbb:bbbb:bbbb::1 keep state label "USER_RULE"

      Does anyone know, what may be wrong with my config?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.