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

    wg ipv4 route bug

    Scheduled Pinned Locked Moved WireGuard
    2 Posts 2 Posters 520 Views
    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.
    • yon 0Y
      yon 0
      last edited by

      if Allowed IPs has no input 0.0.0.0/0, then wg ipv4 can't route out.

      I try input wg remote network address 2a0d:2408:512:c::1/64,10.0.0.1/24 in Allowed IPs. then ipv6 is normal work can't route to internet, ipv4 only to 10.0.0.1.

      i don't want to setup 0.0.0.0/0 in wg, Doing so will interfere with all other routes.

      openvpn has no input any, it is can normal route out.

      A 1 Reply Last reply Reply Quote 0
      • A
        AB5G @yon 0
        last edited by

        Adding 0.0.0.0/0 in WG Allowed IP for the Peers does not add it to the routing table and will not interfere with the routing table. You can validate this by looking at Diagnostics > Routes.

        https://docs.netgate.com/pfsense/en/latest/vpn/wireguard/routing.html

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