Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:wan:isp-configurations [2024/02/18 23:59] – [KPN with OpenWrt behind the supplied kpn Box 12 modem] Using 'IP' to refer to an address is slang, so I'm going to avoid that. squeaktoydocs:guide-user:network:wan:isp-configurations [2024/08/26 10:51] – [Aruba FTTH] Again option ipv6 '1' bit for OpenWrt 19.07 andreabravetti
Line 939: Line 939:
 </code> </code>
  
 +==== Deutsche Glasfaser ====
 +
 +Deutsche Glasfaser locally known as **DG** and in English the **German Fiber** uses IPoE for private customers with the support of **DHCPv4** (RFC 2131) and **DHCPv6** (RFC 8415) for all new connections.
 +
 +If you are an OpenWrt user means that you are using your own router (Kundeneigener Router) whose WAN interface is connected to the DG's **ONT** (Optical Network Terminal) directly.
 +
 +The minimal **wan4** and **wan6** configuration needed is shown below. The DG supplies a CG-NAT IPv4 address and a public IPv6 address in addition to the ''/56'' IPv6 prefix for further delegation.
 +
 +<code>
 +config interface 'wan4'
 + option proto 'dhcp'
 + option device 'eth1'
 +
 +config interface 'wan6'
 + option proto 'dhcpv6'
 + option device 'eth1'
 + option reqaddress 'try'
 + option reqprefix 'auto'
 + option norelease '1' # optional
 +</code>
 +
 +Note: ''eth1'' is your WAN interface and the optional option ''option norelease '1' '' is supported by OpenWrt version **23.05.2** and above and can be used to avoid missing PD for some hours after often restarts.
 +
 +==== Vodafone ====
 +
 +=== FTTH ===
 +
 +/etc/config/network
 +<code>
 +config interface 'wan'
 +        option device 'eth0.7'
 +        option proto 'pppoe'
 +        option username 'vodafone-ftth.komplett/***'
 +        option password '***'
 +        option ipv6 '1'
 +
 +config interface 'wan6'
 +        option proto 'dhcpv6'
 +        option reqaddress 'try'
 +        option reqprefix 'auto'
 +        option device 'pppoe-wan'
 +
 +config interface 'wan4'
 +        option proto 'dslite'
 +        option peeraddr '::'
 +        option encaplimit 'ignore'
 +</code>
 +
 +/etc/config/firewall
 +
 +<code>
 +config zone
 +        option name 'wan'
 +        option input 'REJECT'
 +        option output 'ACCEPT'
 +        option forward 'REJECT'
 +        option masq '1'
 +        option mtu_fix '1'
 +        list network 'wan'
 +        list network 'wan4'
 +        list network 'wan6'
 +</code>
 +
 +===== Greece =====
 +==== Nova ====
 +This ISP is little more involved to set up. Users who wish to use their own CPEs need to get ahold of:
 +  * The PPPoE credentials
 +  * The telephony credentials
 +
 +This can either be done by formally requesting the credentials from the ISP or by acquiring them from the router that the ISP provides.
 +
 +The ISP provides internet connectivity on VLAN 835 (PPPoE) and voip telephony on VLAN 837 (DHCP).
 +
 +For internet access, one must create a VLAN 835 and tag CPU and WAN. Then create a PPPoE interface, bind it on the 835 VLAN device, enter the credentials and enable "Use default gateway".
 +
 +Example configuration for internet access:
 +<code>
 +config device
 +        option name 'eth0.835'
 +        option type '8021q'
 +        option ifname 'eth0'
 +        option vid '835'
 +
 +config interface 'wan'
 +        option device 'eth0.835'
 +        option proto 'pppoe'
 +        option username '{pppoe_username}'
 +        option password '{pppoe_password}'
 +        option ipv6 '0'
 +</code>
 +
 +For telephony, one must create a VLAN 837 and tag CPU and WAN. Then create a DHCP interface, bind it on the 837 VLAN, disable "Use default gateway" and provide the client id for dhcp option 61 (this is usually //30xxxxxxxxxx_cid.ims.wind.gr// where //xxxxxxxxxx// is the phone number). Please note that it has to be converted to HEX (and remove any separator) in order for OpenWRT to understand it.
 +
 +Example configuration for telephony:
 +<code>
 +config device
 +        option name 'eth0.837'
 +        option type '8021q'
 +        option ifname 'eth0'
 +        option vid '837'
 +        option ipv6 '0'
 +        
 +config interface 'wan_voip'
 +        option proto 'dhcp'
 +        option device 'eth0.837'
 +        option clientid '{30xxxxxxxxxx_cid.ims.wind.gr or the option 61 they emailed you converted to hex and removing spaces}'
 +        option delegate '0'
 +        option defaultroute '0'
 +</code>
 +
 +The DHCP client will fetch the ip and the proper classless routes.
 +
 +**Make sure you disable Rebind protection. Whitelisting the sip service domain will not suffice.**
 +
 +**Additionally for this method you have to clone the original routers MAC if using the original credentials**
 +
 +SIP Configuration:
 +
 +Depending on whether you have fetched the credentials from the ISP's original router or whether you have applied for a "bring your own device" configuration, the settings will differ. For the first case, the SIP client configuration should be:
 +
 +  * Domain: `sip-voice.forthnet.gr`
 +  * Username: Your phone number (`30xxxxxxxxxx`)
 +  * Password: Your voip password (as fetched from the ISP's router)
 +  * Server: `sip-voice.forthnet.gr`
 +  * Port: `5060`
 +  * SIP Transport: `UDP`
 +  * SIP Address: `30xxxxxxxxxx@sip-voice.forthnet.gr`
 +  * Registry Server: `sip-voice.forthnet.gr`
 +
 +For the second case the following is what needs to be the client configuration
 +
 +  * Domain: `byod.nova.gr`
 +  * Username: Your phone number (`30xxxxxxxxxx`)
 +  * Password: Your voip password (from the email)
 +  * Server: `byod.nova.gr`
 +  * Port: `5060`
 +  * SIP Transport: `UDP`
 +  * SIP Address: `30xxxxxxxxxx@byod.nova.gr`
 +  * Registry Server: `byod.nova.gr`
 +  * Audio Codec: `PCMA` ONLY
 +
 +**Caution, the byod.nova.gr domain is only configured on the DNS servers of the telephony VLAN, **
 +
 +Alternatively you can do a custom DNS record if you don't want to use the ISP DNS
 +the IPv4 for byod.nova.gr is 10.50.131.150
  
 ===== Ireland ===== ===== Ireland =====
Line 1042: Line 1187:
         option service 'internet'         option service 'internet'
 </code> </code>
 +
 ===== Italy ===== ===== Italy =====
 +==== Aruba FTTH ====
 +This ISP in Italy is pretty easy to set up, and it is compliant to Italian law about the utilization of your own (compatible) modem/router. Also ipv6 works and ipv4.
 +The only thig to setup is a PPPoE connection with a 835 VLAN on the WAN port. Note that user and password are not necessary for authentication and can be whatever.
 +
 +With **OpenWrt 21.02** (with DSA):
 +
 +<code>
 +config interface 'wan'
 + option proto 'pppoe'
 + option username 'aruba'
 + option password 'aruba'
 + option ipv6 '1'
 + option device 'wan.835'
 +
 +config interface 'wan6'
 +    option proto 'dhcpv6'
 +    option reqaddress 'try'
 +    option reqprefix 'auto'
 +    option ifname '@wan'
 +</code>
 +
 +
 +With **OpenWrt 19.07** (with swconfig):
 +
 +<code>
 +config interface 'wan'
 +    option ifname 'eth0.835'
 +    option proto 'pppoe'
 +    option username 'aruba'
 +    option password 'aruba'
 +    option ipv6 '1'
 +
 +config interface 'wan6'
 +    option proto 'dhcpv6'
 +    option reqaddress 'try'
 +    option reqprefix 'auto'
 +    option ifname '@wan'
 +</code>
 +
 +==== TIM ====
 +TIM (a.k.a. Telecom Italia) uses the following PPPoE connection settings: [[https://www.tim.it/assistenza/assistenza-tecnica/guide-manuali/modem-generico#specifiche-tecniche-di-configurazione]].
 +VLAN 835 is required on your WAN port. In the following example, the phisical name of WAN interface is 'eth0' so with VLAN 835 will be 'eth0.835', but with different device can be somewhat like 'eth1.835'.
 +
 +Configuration with **OpenWrt 21.02** (with DSA):
 +
 +<code>
 +config interface 'wan'
 +    option ifname 'eth0.835'
 +    option proto 'pppoe'
 +    option username '[replace with your phone number]'
 +    option password 'timadsl'
 +    option ipv6 'auto'
 +</code>
 +
 ==== Tiscali ==== ==== Tiscali ====
 Tiscali uses the following ADSL PPPoA connection settings: [[https://assistenza.tiscali.it/internet-telefono/modem/guida/parametri-connessione]]. In order to configure the connection and bring up the dsl port after having flashed the firmware you have to follow these steps: Tiscali uses the following ADSL PPPoA connection settings: [[https://assistenza.tiscali.it/internet-telefono/modem/guida/parametri-connessione]]. In order to configure the connection and bring up the dsl port after having flashed the firmware you have to follow these steps:
Line 1122: Line 1322:
 **IMPORTANT**: in the aforementioned configuration there`s a LAN bridge between two entries. This bridge has been created during the openWrt firmware installation because the target device is a Netgear DM200 modem/router with only one dsl interface and only one LAN port. **IMPORTANT**: in the aforementioned configuration there`s a LAN bridge between two entries. This bridge has been created during the openWrt firmware installation because the target device is a Netgear DM200 modem/router with only one dsl interface and only one LAN port.
  
-==== Aruba FTTH ==== 
-This brand new ISP in Italy is pretty easy to set up, and it is compliant to Italian law about the utilization of your own (compatible) modem/router. Also ipv6 works and ipv4 
-The only thig to setup is a PPPOE connection with a 835 vlan on the wan port. Note that user and password are not necessary for authentication and can be whatever. 
- 
-With **OpenWrt 21.02** (with DSA): 
- 
-<code> 
-config interface 'wan' 
- option proto 'pppoe' 
- option username 'aruba' 
- option password 'aruba' 
- option ipv6 'auto' 
- option device 'wan.835' 
- 
-config interface 'wan6' 
-    option proto 'dhcpv6' 
-    option reqaddress 'try' 
-    option reqprefix 'auto' 
-    option ifname '@wan' 
-</code> 
- 
- 
-With **OpenWrt 19.07** (with swconfig): 
- 
-<code> 
-config interface 'wan' 
-    option ifname 'eth0.835' 
-    option proto 'pppoe' 
-    option username 'aruba' 
-    option password 'aruba' 
-    option ipv6 'auto' 
- 
-config interface 'wan6' 
-    option proto 'dhcpv6' 
-    option reqaddress 'try' 
-    option reqprefix 'auto' 
-    option ifname '@wan' 
-</code> 
 ===== Netherlands ===== ===== Netherlands =====
  
Line 1193: Line 1355:
 config interface 'wan6' config interface 'wan6'
  option proto 'dhcpv6'  option proto 'dhcpv6'
- option device 'pppoe-kpn+ option device 'pppoe-wan
- option reqaddress 'none'+ option reqaddress 'try'
  option reqprefix 'auto'  option reqprefix 'auto'
  option peerdns '0'  option peerdns '0'
Line 1202: Line 1364:
 </code> </code>
  
-==== KPN with OpenWrt behind the supplied kpn Box 12 modem ====+==== KPNOpenWrt behind the supplied kpn Box 12 modem ====
  
 If you have the OpenWrt router's WAN port connected to your kpn Box 12 modem, you will notice that it's behind NAT and as such you won't be able to enjoy a proper internet experience. If you have the OpenWrt router's WAN port connected to your kpn Box 12 modem, you will notice that it's behind NAT and as such you won't be able to enjoy a proper internet experience.
Line 1270: Line 1432:
 </code> </code>
 Note that OpenWrt can't get a prefix through Prefix Delegation, so you may disable it. It's there in the hopes that KPN someday adds Prefix Delegation support to the kpn Box 12, which would greatly simplify the configuration. Note that OpenWrt can't get a prefix through Prefix Delegation, so you may disable it. It's there in the hopes that KPN someday adds Prefix Delegation support to the kpn Box 12, which would greatly simplify the configuration.
-Until KPN fixes this issue, we must relay DHCPv6, RA, and NDP with the following ''/etc/config/dhcp'':+Until KPN fixes this issue, we must relay DHCPv6, RA, and NDP with the following ''/etc/config/dhcp'' snippet:
 <code> <code>
 config dhcp 'lan' config dhcp 'lan'
Line 1291: Line 1453:
 The important thing to take away from this config is that we essentially set up ''lan'' DHCPv6, Router Advertisements, and Neighbor Discovery to be relayed, where ''wan'' is the master. The important thing to take away from this config is that we essentially set up ''lan'' DHCPv6, Router Advertisements, and Neighbor Discovery to be relayed, where ''wan'' is the master.
  
-And now you should have a proper internet connection again, like you would expect from an OpenWrt appliance. The kpn Box 12 inserts a '':1'' after the prefix that you got assigned with your subscription. Besides that quirk, everything should work.+And now you should have a proper internet connection again, like you would expect after installing OpenWrt appliances in your network. The kpn Box 12 inserts a '':1'' after the prefix that you got assigned with your subscription. Besides that quirk, everything should work.
  
 ==== Many ISPs ==== ==== Many ISPs ====
Line 1734: Line 1896:
  
 **Note:** Turkcell Superonline does not share PPPoE credentials with you. So you have to capture them yourself from the stock router first. **Note:** Turkcell Superonline does not share PPPoE credentials with you. So you have to capture them yourself from the stock router first.
 +
 +==== Turksat Kablonet ====
 +
 +Kablonet uses DHCP for Docsis and PPPoE for FTTH services.
 +
 +Basic WAN configs should look like:
 +=== DOCSIS ===
 +<code>
 +config interface 'wan'
 + option device 'wan'
 + option proto 'dhcp'
 + option ipv6 'auto'
 + option peerdns '0'
 + option dns '1.1.1.1'
 + option dns '1.0.0.1'
 +</code>
 +=== FTTH ===
 +<code>
 +config interface 'wan'
 + option device 'wan'
 + option proto 'pppoe'
 + option username 'xxxxxxxx@kablofiber'
 + option password 'xxxxxxxx'
 + option ipv6 'auto'
 + option peerdns '0'
 + option dns '1.1.1.1'
 + option dns '1.0.0.1'
 +</code>
 +**Note(FTTH):** If you are using the stock modem that was given make sure it's connected to your openwrt router on LAN1.
 +
 +**Note2(FTTH):** PPPoE credentials can be acquired from [[https://online.turksatkablo.com.tr/|TurksatKablo Customer Web Interface]] or by calling them.
 ===== United Kingdom ===== ===== United Kingdom =====
  
Line 2012: Line 2205:
  
   * City Fibre   * City Fibre
 +  * Community Fibre
   * HyperOptic   * HyperOptic
   * Giganet   * Giganet
Line 2027: Line 2221:
  
 DHCPv6 is used to IPv6 prefix delegation, but the IPv6 prefix must be released by the router before the prefix will be issued again to either the same router or to another router. If this doesn't happen, an error of NoPrefixAvail during DHCPv6 negotiation, and odhcpd will complain that there is a local route, but no prefix, so it doesn't issue IPv6 addresses to LAN clients. DHCPv6 is used to IPv6 prefix delegation, but the IPv6 prefix must be released by the router before the prefix will be issued again to either the same router or to another router. If this doesn't happen, an error of NoPrefixAvail during DHCPv6 negotiation, and odhcpd will complain that there is a local route, but no prefix, so it doesn't issue IPv6 addresses to LAN clients.
 +
 +== Gigabit Networks ==
 +Gigabit networks provide residential broadband through Cityfibre. They operate CGNat and operate a DHCP based service. Their requirements web pag is here: [[https://support.gigabitnetworks.co.uk/portal/en/kb/articles/can-i-use-my-own-router-with-your-service]] You need to contact their order desk to confirm the required VLAN. They do filter based on the MAC address and you need to contact their support team to clear this binding. The engineer called this "Clear the DHCP Binding process for the ONT interface."
 +
 +These are a set of working steps with a Belkin RT3200.
 +  * WAN VLAN tagging on the appropriate VLAN
 +  * Disabled IPv6
 +  * No hostname required.
 +  * Contact their support and ask for "Clear the DHCP Binding process for the ONT interface."
 +
 +
 +== Community Fibre ==
 +
 +The Adtran ONT connects to any DHCP enabled router. Recommended to spoof the MAC of your router so it follows the provider one.
 +
 +
  
 ===== United States ===== ===== United States =====
  • Last modified: 2024/12/06 04:47
  • by simtcrom