Skip to content

Collection of scripts and links to get your own asus router running on dutch KPN internet

Notifications You must be signed in to change notification settings

arjenpdevries/ASUS_KPN_IPTV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

ASUS_KPN_IPTV

Collection of scripts and links to get your own asus router running on dutch KPN glasfiber internet.

Why use your own router?

  • the cheapest KPN supplied router (KPN Box 12) is very basic in terms of functionality and in my case, extremely unstable (spontaneously rebooting every 30 mins or so)
  • privacy: when you use the KPN router your wireless passwords are sent and stored at KPN servers for some reason.
  • if you need more than 4 ethernet ports, the Asus RT-AC88U has 8 ports, versus 4 of the KPN Box 12 (not counting the WAN port).
  • It's mandatory (as of December 2016) for internet providers to allow the use of your own router, but they are not extremely helpful about it.

Manual

Step 1: configure for internet access

  • make sure your router is running a recent asuswrt-merlin firmware (see asuswrt-merlin
  • go to advanced settings - WAN, internet connection tab, then:
    • Basic Config:
      • WAN Connection Type : PPPoE
      • Enable WAN : Yes
      • Enable NAT : Yes
      • Enable UPnP : Yes
      • Enable secure UPnP mode : Yes
      • UPNP: Allowed internal port range 1024 to 65535
      • UPNP: Allowed external port range 1 to 65535
    • WAN IP Setting:
      • Get the WAN IP automatically : Yes
    • WAN DNS Setting:
      • Connect to DNS Server automatically : Yes
      • Forward local domain queries to upstream DNS : No
      • Enable DNS Rebind protection : No
      • Enable DNSSEC support : No
      • Prevent client auto DoH : Auto
      • DNS Privacy Protocol : None
    • Account Settings :
      • Username : internet
      • Password : internet
      • Disconnect after time of inactivity (in seconds) : 0
      • MTU : 1500
      • MRU : 1500
      • Service Name : empty
      • Access Concentrator Name : empty
      • Host-Uniq (Hexadecimal) : empty
      • Internet Detection : PPP Echo
      • PPP Echo Interval : 6
      • PPP Echo Max Failures : 10
      • Additional pppd options : empty
    • Special Requirements from ISP
      • Enable VPN + DHCP Connection : No
      • Host Name : empty
      • MAC Address : empty
      • Extend the TTL value : No
      • Spoof LAN TTL value : No
  • go to advanced settings - LAN, IPTV tab, then:
    • LAN Port:
      • Select ISP Profile : Manual
      • Internet VID : 6 PRIO 0
      • LAN Port 4 VID : empty PRIO 0
      • LAN Port 3 VID : empty PRIO 0
    • Special applications:
      • Use DHCP routes : RFC3442
      • Enable multicast routing : Enable
      • Default IGMP version : IGMP v2
      • Enable Fast Leave : Enable
      • Enable efficient multicast forwarding (IGMP Snooping) : Enable
      • UDP Proxy (Udpxy) : 0
  • Reboot the router

After these steps, you should be able to access the internet via the router.

Set the Default IGMP version to v2 unless you know that your switches etc. can handle version v3.

Step 2: configure for routed IPTV

  • Go to advanced settings - Administration, system tab, then:
    • Service
      • Enable SSH : LAN only
    • Persistent JFFS2 partition:
      • Enable JFFS custom scripts and configs : yes
      • Enable JFFS custom scripts and configs : yes
  • reboot the router to create and initialize the JFFS2 partition
  • Use putty, ssh or winscp to upload the configs and scripts to the router:
    • upload the contents of .../configs to the routers /jffs/configs
    • upload the contents of .../scripts to the routers /jffs/scripts
  • make sure the scripts are executable:
    • in ssh, execute the command chmod a+rx /jffs/scripts/*
  • reboot and wait 30 seconds before powering on your IPTV settop box

Script information

The scripts were sourced from basho's post at tweakers.net, with the following modifications:

  • modified the wan-start to automatically locate the router's CPU port (or as stated in the manual, CPU address). This means you no longer have to edit the script, so you can skip that part from Basho's manual.

Step 3: configure VOIP

  • Go to WAN - NAT Passthrough tab, then:
    • SIP Passthrough : Disable
    • RTSP Passthrough : Disable
  • Yes, the naming is confusing ;-) it ensures that the router does not interfere with the VOIP traffic ("SIP ALG").
  • Go to WAN - Virtual Server / Port Forwarding
    • Add the following port forwarding rules as follows:
      • SIP: UDP for 145.7.0.0/16 ports 5004:5099 to the Fritzbox IP
      • RTS: UDP for 145.7.0.0/16 ports 10000:65000 to the Fritzbox IP
    • Note: the 145.7.0.0/16 subnet is specific to VOIP service provided by KPN (voip1-ext.kpn.net)

Tests

These scripts were verified to result in working internet plus routed IPTV on:

  • novoip: ASUS RT-AC88U, using asuswrt-merlin firmware version 386.3_2
  • voip: not tested

links with information on how to configure your router:

About

Collection of scripts and links to get your own asus router running on dutch KPN internet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%