Skip to content

Latest commit

 

History

History
208 lines (130 loc) · 3.27 KB

pfSense-with-vlan.md

File metadata and controls

208 lines (130 loc) · 3.27 KB
title description published date tags editor dateCreated
KPN with seperate TV VLAN
How to Setup KPN on pfSense with seperate TV VLAN
true
2023-04-23 15:59:18 UTC
markdown
2023-04-16 16:46:07 UTC

How to Setup KPN on pfSense with seperate TV VLAN

In this How-To we are going to use VLAN89 as our seperate TV VLAN, you can choose to use your own VLAN number.

Step. 1

After install pfSense go to

Interface > Assignments > VLANs

vlan

Create 2 VLANs on your WAN interface: VLAN6 VLAN4

Create 1 VLAN on your LAN interface: VLAN89

Step. 2

Go to

Interface > Assignments > PPPs

Add a new interface and link it with your WAN port

ppps

Username kpn@internet

Password kpn

Step. 3

Go to

Interface > Assignments 

interfaces

Set Interface WAN to PPPOE0

Add VLAN4 for IPTV_WAN

Add VLAN89 for IPTV_VLAN89

Step. 4

Edit Interface IPTV_WAN

vlan89_1

Set Send options:

dhcp-class-identifier "IPTV_RG"

Set Request options:

subnet-mask, routers, broadcast-address, classless-routes

Step. 5

Edit Interface IPTV_VLAN89

vlan89_1

IPv4 Configuration Type: Static IPv4

IPv4 Address: 192.168.89.1

Step. 6

Go to

Services > DHCP Server > IPTV_VLAN89

dhcpvlan89

Set Range: 192.168.89.10 / 192.168.89.245 (*Or use your own range)

dhcpvlan89dns

Set DNS Servers: 195.121.1.34 195.121.1.66

dhcpvlan89other

Set Domain name: kpn.home

dhcpvlan89bootp

Set BOOTP/DHCP Options

60 / Text / IPTV_RG
28 / IP address or host / 192.168.89.255

Step. 7

Go to

Services > IGMP Proxy

igmp

Here we are going to add 2 streams (Upstream and Downstream)

Add Upstream

Set Interface: IPTV_WAN

Set Type: Upstream Interface

Create 2 networks: 0.0.0.0 / 1 128.0.0.0 / 1

Add Downstream

Set Interface: IPTV_VLAN89

Set Type: Downstream Interface

Create 1 networks: 192.168.89.0 / 24

Step. 8

Go to

Firewall > NAT > Outbound

natoutbound

Set to Hybrid Outbound NAT

Create a Mapping

natoutboundmapping

Step. 9

Go to

Firewall > Rules > IPTV_WAN

Add the following rules

fwiptvwan

On the IPv4 IGMP rule enable the following line.

allowipoptions

Step. 10

Go to

Firewall > Rules > IPTV_VLAN89

Add the following rules

fwiptv89

On the IPv4 IGMP rule enable the following line.

allowipoptions