Skip to content

Latest commit

 

History

History
216 lines (124 loc) · 3.97 KB

pfSense-ipv6.md

File metadata and controls

216 lines (124 loc) · 3.97 KB
title description published date tags editor dateCreated
KPN IPv6 pfSense
How to Setup KPN IPv6 in pfSense
true
2023-04-23 15:58:28 UTC
markdown
2023-04-16 17:17:42 UTC

How to Setup KPN IPv6 in pfSense

In this How-To we are going to setup IPv6 for KPN in pfSense

Step. 1

In order to do this follow you should have followed one of the pfSense guides about Internet & iTV

Go to

Interface > WAN

interfaceWAN

InterfaceWanPPPoE

Make sure the MTU size is set to 1500 and the MSS is set to 1492.

ipv6configtype

Set IPv6 Configuration Type: DHCP6

dhcp6clientconfiguration

Set Use IPv4 connectivity as parent interface: True

Set Request only an IPv6 prefix: True

Set DHCPv6 Prefix Delegation size: 48

Set Send IPv6 prefix hint: True

Set Do not wait for a RA: True

Step. 2

Go to

Interface > LAN

interfacelan

ipv6configtypelan

Set IPv6 Configuration Type: Track Interface

trackipv6interface

Set IPv6 Interface: WAN

Set IPv6 Prefix ID: 1 (* can be something between (hexadecimal from 0 to ffff))

Step. 3

Go to

Services > DHCPv6 & RA

Go to tab

LAN > DHCPv6 Server

dhcpv6server

Set DHCPv6 Server: True

Set Range: ::1000 / ::2000

Set Prefix Delegation Size: 56

Go to tab

LAN > Router Advertisements

dhcpv6ra

Set Router mode: Assisted - RA Flags [managed, other stateful], Prefix Flags [onlink, auto, router]

Step. 4

Go to

Firewall > Rules > WAN

fwwan

fwwanicmp4

IPv4 ICMP

Set Address Family: IPv4

Set Protocol: ICMP

Set ICMP Subtypes: Echo request

Set Source: any

Set Destination: any

fwwanlinklocal

IPv6 Link-Local

Set Address Family: IPv6

Set Protocol: UDP

Set Source: Network fe80::/10

Set Destination: Any

Set Destination Port Range: Any Any

fwwanicmp6

IPv6 ICMP

Set Address Family: IPv6

Set Protocol: ICMP

Set ICMP Subtypes: Echo request

Set Source: any

Set Destination: any

Step. 5

Firewall > Rules > LAN

fwlan

fwlanicmp4

IPv4 ICMP

Set Address Family: IPv4

Set Protocol: ICMP

Set ICMP Subtypes: Echo request

Set Source: LAN net

Set Destination: any

fwlanicmp6

IPv6 ICMP

Set Address Family: IPv6

Set Protocol: ICMP

Set ICMP Subtypes: Echo request

Set Source: LAN net

Set Destination: any

Step. 6

Reboot your router now!

Go to

Diagnostics > Reboot

Step. 7

Now IPv6 should be configured for your pfSense.

You can check if its working at one of the following sites.

ipv6testcom

If you are getting 18/20 and ICMP says filtered on ipv6-test.com try to visit it on your mobile.

Windows Defender Firewall is the issue, you can disable Windows Defender Firewall to test it.

But we don't recommend to keep your Windows Defender Firewall disabled!!!