Homelab Router OPNsense and IPv6

Current IPv6 setting on TP-Link Router, connecting to Buddy Telco / Aussie Broadband ISP.

OPNsense - TP-Link IPv6

Setup OPNsense Optional Port

For example, setup OPT1 interface after OPNsense installed in Proxmox.

  • Enable OPT1 Interface
  • Select Static IPv4 for IPv4 Configuration Type
  • Select Track Interface for IPv6 Configuration Type
  • IPv4 address set to 192.168.2.1/24
  • IPv6 parent interface set to WAN
  • IPv6 prefix ID set to 0x1. 0x0 has been assigned to LAN
  • Enable Allow manual adjustment of DHCPv6 and Router Advertisements

OPNsense - OPT1 Interface

  • Enable DHCP server on the OPT1 interface
  • Set IP range from 192.168.2.10 to 192.168.2.245

OPNsense - OPT1 DHCP

  • Add Firewall Rule
  • Set TCP/IP version
  • Select OPT1 net from dropdown menu as Source

OPNsense - OPT1 Firewall Rule

  • Setup Firewall Rule for IPv4 on OPT1 interface, then
  • Setup Firewall Rule for IPv6 on OPT1 interface

OPNsense - OPT1 Firewall

Setup IPv6

Step by step to enable IPv6 with Buddy Telco / Aussie Broadband ISP.

OPNsense - Interfaces Settings

OPNsense - WAN

  • Enable DHCP/DHCPv6 for IPv4/IPv6 Configuration Type
  • Set ISP’s Prefix delegation size to 48
  • Enable Send prefix hint

OPNsense - Router Advertisements

  • Set Router Advertisements to Unmanaged
  • Set Router Priority to Normal

VLAN

Setup Trusted and Untrusted VLAN.

OPNsense - VLAN

OPNsense - VLAN Interfaces

OPNsense - Trusted VLAN

OPNsense - Untrusted VLAN

Then,

  • Set Router Advertisements to Unmanaged
  • Set Router Priority to Normal

for both VLANs.

Running

After all the change made above, reboot OPNsense instance.

OPNsense - Proxmox Network

OPNsense - Setting In Proxmox

OPNsense - Run In Proxmox

OPNsense - Interfaces Overview

OPNsense - Dashboard

IPv6 Test

OPNsense - Test IPv6

OPNsense - IPv6 Test

References

OPNsense - IPv6 Chart

OPNsense - IPv4 CIDR Chart