G.Fast Modem / IPv6 / Buy Questions

I've switched my ISP to a smaller local one (Bavarian, Germany) providing FTTB and last mile (in House) through copper with G.fast. I already search through common sites/stores and found not many devices available supporting G.fast.Is there any modem you could recommend supporting G.fast or Router with G.fast and OpenWRT-Support? As far as I know the ISP-Hardware in the basement is from Huawei.

Currently (until I decide if I switch to a/which modem), I'm using the FritzBox 7582 provided from the ISP. I've disabled what's possible. So far I got most things working, except IPv6 as far as I understood how it should be: I'm getting a /56 from my ISP, sadly - I found a help-page (https://en.avm.de/service/knowledge-base/dok/FRITZ-Box-7590/1239_Setting-up-an-IPv6-subnet-in-the-FRITZ-Box/) from AVM - they only forward /62 to other routers if I understood this correct?

So I have to let DHCPv6 enabled (in FritzBox) and changed the following settings:

* Always assign ULA-Address
* Allow prefixes announced from other routers
* Preference of announcement: medium
* Publish DNSv6-Server via Router advertisement (RFC 5006) - enabled
* DHCPv6-Server enabled, assign DNS-Server, Prefix (IA_PD) and IPv6-Adresse (IA_NA)
  * Priority: 10

My Clients are perfectly getting an IPv6-Address in a subnetz of the provided /56 from the ISP. but the Router with OpenWRT (where the clients connect to) does not get any public IPv6 as expected. I set the following settings for br-lan (which is eth0 - as the devices does only have one port):

* Static IPv4
* Delegate IPv6 Prefixes = enabled
* IPv6 assignment length = 62
* IPv6 suffix: ::1:fe
* IPv6 preference: 25
* DHCPv6-Service is set to designated master
* RA/DHCPv6-Service and NDP-Proxy in relay-mode

Is this normal behavior? Can you recommend another solution where also the OpenWRT-Router behind the FritzBox gets a public v6? Lastly and I guess because this is because the OpenWRT-Device just acts as "relay" that's why no v6 devices will be shown in leases-v6 section with this configuration, correct?

Thanks for your support and helping out :slight_smile:

Hello npx,

have you found a satisfying solution or did you switch to a dedicated device to manage g.fast?
I'm also a customer of MNet and have the same configuration at home.
At the moment I'm just using the (not very stable) Fritzbox without openwrt, since the power demand of Fritzbox + power supply of the fttb splitter is already quiet high and I do not want to power an additional device.
The only thing I can think of, is buying a Draytek Vigor 166 g.fast modem and place it in front of the openwrt router. However the modem is quiet expensive, so I would be happy to find a cheaper solution.

Regarding your IPv6 configuration. I think you can just use the std. configuration on the Fritzbox. You will then receive a public prefix from the ISP and a suffix from the FB (or auto generated by the device using privacy extension). This address should be reachable from the Internet. What you have to do, is to open the firewall inside the fb (DMZ), since all external incoming traffic will be blocked otherwise. Since there is no NAT the device will then be exposed to the Internet.
Reachability of Ipv4 will probably be a problem because of the NAT. As far as I know it cannot be switched of, at least not with the branded firmware.

If you are brave enough, you can "hack" your FRITZ!Box to act as a modem and pass PPPoE through LAN4, so your OpenWRT router can use PPPoE itself. That's the way I'm using it here, not from MNet but from willytel in Hamburg with G.fast on FRITZ!Box 7583.

To do so, you have to backup your FB config first! Edit the config "live" with FBEditor and get it back in your FB from the FBEditor. Make sure to have a working backup of your config, if something goes wrong!

You have to check/edit two sections:
ar7cfg
nqos

I will post both of my FB configuration parts completely at the bottom, but take care, it will not fit for other providers! Willytel is using a very special VoIP configuration which I never got to work outside of my FB.

What does the trick? I will highlight the parts you have to check:

Here check the "tagtype" method in "ar7cfg":

        hsi_vlancfg {
                vlanencap = vlanencap_none;
                tagtype = vlantagtype_customer;
                vlanid = 0;
                vlanprio = 0;
                tos = 0;
        }

Here compare the vccs config, maybe "dslencap_pppoe" is a better choice if you don't have your VoIP running on the FB. Willytel uses here "dslencap_mixed" to use "dslencap_pppoe" for "internet" and "dslencap_ether" for "voip" for the two "dslifaces", if you only need one, then mixed should be unnecessary.

        vccs {
                VPI = 1;
                VCI = 32;
                traffic_class = atm_traffic_class_UBR;
                pcr = 0;
                scr = 0;
                priority = 0;
                dsl_encap = dslencap_mixed;
                ipbridgeing = no;
                ipbridgeing_igmp = no;
                pppoeforwarding = no;
                connections = "internet", "voip";
        }

Here check the dsl_encap value in "ar7cfg" and compare! Maybe your config is identical...

        dslifaces {
                enabled = no;
                name = "internet";
                weight = 50;
                dsl_encap = dslencap_pppoe;
                dslinterfacename = "dsl";

Here check and/or add the "bridges" section and set correct vlan id for MNet in nqos:

        bridges {
                enabled = yes;
                name = "bridge1_wt";
                ident = "vcc:0";
                vlancfg {
                        vlanencap = vlanencap_fixed_prio;
                        tagtype = vlantagtype_customer;
                        vlanid = 1002;
                        vlanprio = 0;
                        tos = 0;
                }
                disable_igmp_fwd = no;
                with_pppoe_bridging = yes;
        }

Next check the "classifiers" and output the above defined bridge to LAN4 in nqos:

        classifiers {
                enabled = yes;
                name = "wt_bridge1";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "ethport 4";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "realtime";
                        bridgeref = "bridge1_wt";
                }
        }

There are two more bridges defined in the config, but they are disabled! Bridge 2 is for LAN3 output and bridge 3 is for LAN2 output.

That should do the trick, then assign an IPv4 from your local subnet to your FB and connect LAN1 to any LAN port of your OpenWRT router, so you can access the webinterface of your FB to check DSL section for G.fast status etc., make sure to disabled all unneeded options (wifi, dhcp, etc.)

Connect LAN4 of your FB to the WAN port of your OpenWRT router and configure your PPPoE connection inside of OpenWRT with your DSL credentials form MNet, voilá!

Full ar7cfg part1:

ar7cfg {
        mode = dsldmode_router;
        active_provider = "Wilhelm.tel";
        active_name = "";
        igddenabled = no;
        wan_bridge_with_dhcpc = yes;
        wan_bridge_gateway = 0.0.0.0;
        dhcpc_use_static_dns = no;
        dhcp_dslforumorg = no;
        ethmode = ethmode_bridge;
        tcom_targetarch = no;
        vdsl_resalearch = no;
        aontv_arch = no;
        bng_arch = yes;
        hsi_use_wan_vlan = yes;
        hsi_vlancfg {
                vlanencap = vlanencap_none;
                tagtype = vlantagtype_customer;
                vlanid = 0;
                vlanprio = 0;
                tos = 0;
        }
        mtu_cutback_mode = mtumode_auto;
        mtu_cutback = 1500;
        StatisticStartOfMonth = 1;
        enable_mac_override = yes;
        macdsl_override = 00:00:00:00:00:00;
        ipv6mode = ipv6_off;
        ipv4mode = ipv4_normal;
        serialcfg {
                mode = serialmode_off;
                mbim = mbimmode_off;
                number = "*99#";
                provider = "internet.t-mobile";
                username = "$$$$KHTLHFPACECPSRJRTD511PJBU2NENINAW11DBU6Y5XSZFDATLNGN6N5J2FQJ2FU5NTKZRG4RQ3M1Q4YK";
                passwd = "$$$$A42I3D6IBMPS2WS1GSQXBQKNXIFAARTN5CCFQARUK6VJTTP1GPMIALTUU3LIFWLLC2TDHXAPIXWGA4WM";
                connect_chatscript = "ABORT BUSY ABORT 'NO CARRIER'",
                                     "ABORT VOICE ABORT 'NO DAILTONE'",
                                     "ABORT 'NO ANSWER' ABORT DELAYED",
                                     "ABORT ERROR", "TIMEOUT 20",
                                     "'' 'AT+cgdcont=1,\\"IP\\",\\"${provider}\\"'",
                                     "OK 'ATDT${number}'", "CONNECT",
                                     "WAIT 2";
                stay_always_online = no;
                inactivity_timeout = 1m;
                backup {
                        enabled = no;
                        quickstart = serialquickstart_off;
                        downtime = 3m;
                        reverttime = 30m;
                }
        }
        ethinterfaces {
                name = "eth0";
                dhcp = no;
                ipaddr = 192.168.1.2;
                netmask = 255.255.255.0;
                dstipaddr = 0.0.0.0;
                dhcpenabled = no;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
                is_guest = no;
                is_hotspot = no;
                multicast_snooping = yes;
                is_public = no;
        } {
                name = "eth0:0";
                dhcp = no;
                ipaddr = 169.254.1.1;
                netmask = 255.255.0.0;
                dstipaddr = 0.0.0.0;
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
                is_guest = no;
                is_hotspot = no;
                multicast_snooping = yes;
                is_public = no;
        } {
                name = "wlan";
                dhcp = no;
                ipaddr = 192.168.182.1;
                netmask = 255.255.255.0;
                dstipaddr = 0.0.0.0;
                interfaces = "ath0", "ath1", "wdsup?";
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
                is_guest = no;
                is_hotspot = no;
                multicast_snooping = yes;
                is_public = no;
        }
        brinterfaces {
                name = "lan";
                dhcp = no;
                ipaddr = 192.168.1.2;
                netmask = 255.255.255.0;
                dstipaddr = 0.0.0.0;
                interfaces = "wan", "eth0", "eth1", "eth2", "eth3", "ath?*",
                             "wdsup?*";
                dhcpenabled = no;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
                is_guest = no;
                is_hotspot = no;
                multicast_snooping = yes;
                is_public = no;
        } {
                name = "lan:0";
                dhcp = no;
                ipaddr = 169.254.1.1;
                netmask = 255.255.0.0;
                dstipaddr = 0.0.0.0;
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
                is_guest = no;
                is_hotspot = no;
                multicast_snooping = yes;
                is_public = no;
        }
        dslinterface {
                name = "dsl";
                dhcp = no;
                ipaddr = 0.0.0.0;
                netmask = 255.255.255.255;
                dstipaddr = 0.0.0.0;
                dhcpenabled = yes;
                dhcpstart = 0.0.0.0;
                dhcpend = 0.0.0.0;
                is_guest = no;
                is_hotspot = no;
                multicast_snooping = yes;
                is_public = no;
        }
        dslinterface_metric = 2;
        routes {
                enabled = yes;
                ipaddr = 0.0.0.0;
                mask = 0.0.0.0;
                gateway = 0.0.0.0;
                metric = 1;
                dev = "";
        }
        ipbridge {
                enabled = no;
        }
        pppoefw {
                interfaces = "lan", "eth0", "eth1", "eth2", "eth3", "wlan";
                nofirewall = yes;
                dnsfilter_for_active_directory = yes;
                hostuniq_filter = "";
                dpconfig {
                        security = dpsec_host;
                        filter_teredo = yes;
                        filter_netbios = yes;
                        filter_sip = no;
                        filter_smtp = no;
                        sip_alg = no;
                        lowinput {
                                policy = "reject";
                                accesslist =
                                             "permit ip any any connection outgoing-related",
                                             "permit ip any any connection incoming-related",
                                             "permit icmp any any";
                        }
                        lowoutput {
                                policy = "permit";
                        }
                        highinput {
                                policy = "permit";
                        }
                        highoutput {
                                policy = "permit";
                                accesslist =
                                             "reject ip any 242.0.0.0 255.0.0.0",
                                             "deny ip any host 255.255.255.255",
                                             "reject ip any 169.254.0.0 255.255.0.0";
                        }
                }
                inherit_vlan_from_internet = yes;
        }
        budget {
                Enabled = no;
                Period = 2;
                VolumeLow = 0;
                VolumeHigh = 0;
                ConnectionTime = 0;
                WarnOnly = yes;
        }
        sync_groups {
                name = "sync_dsl";
                enabled = yes;
                media_type = media_type_dsl;
                connect_delay_when_synced = 3s;
                pppoeiface_link_mode = link_mode_unknown;
                pppoeiface = "ptm0";
                speed_in_netto = 1024;
                speed_out_netto = 512;
                manual_speed = no;
        } {
                name = "sync_ata";
                enabled = no;
                media_type = media_type_ata;
                connect_delay_when_synced = 3s;
                pppoeiface_link_mode = link_mode_unknown;
                pppoeiface = "wan";
                speed_in_netto = 1024;
                speed_out_netto = 512;
                manual_speed = no;
        } {
                name = "sync_wlan_ata";
                enabled = no;
                media_type = media_type_wlan_ata;
                connect_delay_when_synced = 3s;
                pppoeiface_link_mode = link_mode_unknown;
                speed_in_netto = 1024;
                speed_out_netto = 512;
                manual_speed = no;
        } {
                name = "sync_serial";
                enabled = no;
                media_type = media_type_serial;
                connect_delay_when_synced = 3s;
                pppoeiface_link_mode = link_mode_unknown;
                speed_in_netto = 1024;
                speed_out_netto = 512;
                manual_speed = no;
        } {
                name = "sync_usb";
                enabled = no;
                media_type = media_type_ata;
                connect_delay_when_synced = 3s;
                pppoeiface_link_mode = link_mode_unknown;
                pppoeiface = "usb0";
                speed_in_netto = 1024;
                speed_out_netto = 512;
                manual_speed = no;
        } {
                name = "sync_ipclient";
                enabled = no;
                media_type = media_type_ipclient;
                connect_delay_when_synced = 3s;
                pppoeiface_link_mode = link_mode_unknown;
                pppoeiface = "lan";
                speed_in_netto = 1024;
                speed_out_netto = 512;
                manual_speed = no;
        }
        vccs {
                VPI = 1;
                VCI = 32;
                traffic_class = atm_traffic_class_UBR;
                pcr = 0;
                scr = 0;
                priority = 0;
                dsl_encap = dslencap_mixed;
                ipbridgeing = no;
                ipbridgeing_igmp = no;
                pppoeforwarding = no;
                connections = "internet", "voip";
        }
        mcupstream = "internet";
        voip_forwardrules = "udp 0.0.0.0:5060 0.0.0.0:5060",
                            "tcp 0.0.0.0:5060 0.0.0.0:5060",
                            "udp 0.0.0.0:7078+20 0.0.0.0:7078";
        voip_ip6_forwardrules = "udp 5060 # SIP", "tcp 5060 # SIP",
                                "udp 7078-7097 # RTP";
        tr069_forwardrules = "tcp 0.0.0.0:8089 0.0.0.0:8089";
        tr069_ip6_forwardrules = "tcp 8089";
        internet_in_nat_rules_enabled = yes;
        internet_out_nat_rules_enabled = yes;
        dslifaces {
                enabled = no;
                name = "internet";
                weight = 50;
                dsl_encap = dslencap_pppoe;
                dslinterfacename = "dsl";
                no_masquerading = no;
                use_fixed_masqaddr_if_no_masquerading = no;
                no_firewall = no;
                stackmode = stackmode_ipv4only;
                pppoevlanauto = no;
                pppoevlanauto_startwithvlan = no;
                vlancfg {
                        vlanencap = vlanencap_fixed_prio;
                        tagtype = vlantagtype_customer;
                        vlanid = 1002;
                        vlanprio = 0;
                        tos = 0;
                }
                ppptarget = "internet";
                rfc4638_enabled = no;
                fixed_masqaddr = 0.0.0.0;
                mtu = 0;
                gre_server_cfg {
                        server_dnsprefer = protoprefer_ipv4;
                        dpd {
                                inactivity = 20s;
                                replywait = 1s;
                                npings = 4;
                                period = 30s;
                        }
                        allow_netbios = no;
                }
                etherencapcfg {
                        use_dhcp = yes;
                        use_dhcp_if_not_encap_ether = no;
                        ipaddr = 0.0.0.0;
                        netmask = 0.0.0.0;
                        gateway = 0.0.0.0;
                        dns1 = 0.0.0.0;
                        dns2 = 0.0.0.0;
                }
                is_mcupstream = yes;
                stay_always_online = yes;
                disable_ondemand = no;
                reconnect_delay_after_conn_abort = 30s;
                only_route_when_connected = no;
                redial_delay_after_auth_failure = 1m;
                redial_limit = 3;
                redial_after_limit_reached = 10m;
                redial_after_limit_reached_variance = 5m;
                redial_after_limit_randomize = no;
                redial_delay_after_low_error = 10s;
                redial_delay_after_ppp_timeout = 10s;
                redial_delay_after_ppp_error = 1m;
                routes_only_for_local = no;
                dproutes_only_for_local = no;
                disable_staticroutes_on_dhcproutes = no;
                ripv2receiver_enabled = no;
                ripv2_update_timer = 30s;
                ripv2authmode = ripv2_auth_none;
                ripv2md5_keyid = 0;
                ripv2passwd = "";
                set_replicate_dhcpoptions_in_parameter_request_list = no;
                unset_ignored_dhcpoptions_in_parameter_request_list = yes;
                dsldpconfig {
                        security = dpsec_firewall;
                        filter_teredo = no;
                        filter_netbios = no;
                        filter_sip = no;
                        filter_smtp = no;
                        sip_alg = no;
                        lowinput {
                                policy = "permit";
                                accesslist =
                                             "deny ip any 242.0.0.0 255.0.0.0",
                                             "deny ip any host 255.255.255.255";
                        }
                        lowoutput {
                                policy = "permit";
                        }
                        highinput {
                                policy = "permit";
                        }
                        highoutput {
                                policy = "permit";
                                accesslist =
                                             "reject ip any 242.0.0.0 255.0.0.0",
                                             "deny ip any host 255.255.255.255",
                                             "reject ip any 169.254.0.0 255.255.0.0";
                        }
                }
                dhcp_auth_mode = auth_none;
                dhcp_requests_with_client_id = yes;
                dhcp_ignore_options_in_renewing = no;
                is_erouter = no;
                fakepacm = no;
                static_nets {
                        enabled = no;
                        prefix = 0.0.0.0;
                        netmask = 255.255.255.252;
                }
                dhcp_tr069_add_device_vendor_options = no;
                use_random_macaddr = no;
                arp_reply_for_any_net_enabled = yes;
        } {
                enabled = yes;
                name = "voip";
                weight = 50;
                dsl_encap = dslencap_ether;
                dslinterfacename = "dsl";
                no_masquerading = no;
                use_fixed_masqaddr_if_no_masquerading = no;
                no_firewall = no;
                stackmode = stackmode_ipv4only;
                pppoevlanauto = no;
                pppoevlanauto_startwithvlan = no;
                vlancfg {
                        vlanencap = vlanencap_fixed_prio;
                        tagtype = vlantagtype_customer;
                        vlanid = 1001;
                        vlanprio = 5;
                        tos = 0;
                }
                ppptarget = "voip";
                rfc4638_enabled = no;
                fixed_masqaddr = 0.0.0.0;
                mtu = 0;
                gre_server_cfg {
                        server_dnsprefer = protoprefer_ipv4;
                        dpd {
                                inactivity = 20s;
                                replywait = 1s;
                                npings = 4;
                                period = 30s;
                        }
                        allow_netbios = no;
                }
                etherencapcfg {
                        use_dhcp = yes;
                        use_dhcp_if_not_encap_ether = no;
                        ipaddr = 0.0.0.0;
                        netmask = 0.0.0.0;
                        gateway = 0.0.0.0;
                        dns1 = 0.0.0.0;
                        dns2 = 0.0.0.0;
                        class_identifier = "WT-AVM-VOIP";
                }
                is_mcupstream = no;
                stay_always_online = yes;
                disable_ondemand = no;
                reconnect_delay_after_conn_abort = 30s;
                only_route_when_connected = no;
                redial_delay_after_auth_failure = 1m;
                redial_limit = 3;
                redial_after_limit_reached = 10m;
                redial_after_limit_reached_variance = 5m;
                redial_after_limit_randomize = no;
                redial_delay_after_low_error = 10s;
                redial_delay_after_ppp_timeout = 10s;
                redial_delay_after_ppp_error = 1m;
                routes_only_for_local = no;
                tcclassroutes = "sipdns", "sip", "rtp", "tr069dns", "tr069",
                                "ntpdns", "ntp";
                dproutes_only_for_local = no;
                ifaceroutes {
                        enabled = yes;
                        ipaddr = 192.168.98.0;
                        mask = 255.255.255.0;
                        gateway = 0.0.0.0;
                }
                disable_staticroutes_on_dhcproutes = no;
                ripv2receiver_enabled = no;
                ripv2_update_timer = 30s;
                ripv2authmode = ripv2_auth_none;
                ripv2md5_keyid = 0;
                ripv2passwd = "";
                set_replicate_dhcpoptions_in_parameter_request_list = no;
                unset_ignored_dhcpoptions_in_parameter_request_list = yes;
                dsldpconfig {
                        security = dpsec_firewall;
                        filter_teredo = yes;
                        filter_netbios = yes;
                        filter_sip = no;
                        filter_smtp = yes;
                        sip_alg = no;
                        lowinput {
                                policy = "permit";
                        }
                        lowoutput {
                                policy = "permit";
                        }
                        highinput {
                                policy = "permit";
                        }
                        highoutput {
                                policy = "permit";
                        }
                }
                dhcp_auth_mode = auth_none;
                dhcp_requests_with_client_id = yes;
                dhcp_ignore_options_in_renewing = no;
                is_erouter = no;
                fakepacm = no;
                dhcp_tr069_add_device_vendor_options = no;
                use_random_macaddr = no;
                arp_reply_for_any_net_enabled = yes;
        }
        targets {
                type = pppcfg_target_internet;
                name = "internet";
                only_crypt_auth = no;
                local {
                        username = "";
                        passwd = "";
                }
                remoteauth = pppcfg_authtype_chap;
                remoteauth_only_on_incoming = yes;
                remote {
                }
                inactivity_timeout = 5m;
                bUseChargeInterval = no;
                nChargeInterval = 1m;
                lcpecho_disconnect_mode = lcpecho_auto;
                logicaldisconnect_with_physical = yes;
                disconnect_timeout = 0w;
                finaldisconnectcall = no;
                ipnetbiosspoofing = no;
                dnsfilter_for_active_directory = no;
                no_outgoing_calls = no;
                coso = pppcfg_coso_caller;
                callback_delay = 1s;
                icbmode = pppcfg_icbmode_none;
                ocbmode = pppcfg_ocbmode_none;
                mscbprefered = no;
                multilink {
                        extra_static_channels = 0;
                        max_channels = 1;
                        automatic = no;
                        automatic_param {
                                window = 20s;
                                add_percent = 85;
                                drop_percent = 70;
                                sportlich = no;
                        }
                }
                header_compression = yes;
                data_compression = pppcfg_datacomp_auto;
                stac_reset_with_history_number = no;
                encryption = pppcfg_crypt_none;
                inactivity_prevention_interval = 0w;
                new_ipaddr_on_connect = no;
                my_ipaddr = 0.0.0.0;
                his_ipaddr = 0.0.0.0;
                overwrite_dns1 = 0.0.0.0;
                overwrite_dns2 = 0.0.0.0;
                bVolumeRoundUp = no;
                VolumeRoundUpBytes = 0;
                bProviderDisconnectPrevention = yes;
                ProviderDisconnectPreventionInterval = 1d;
                ProviderDisconnectPreventionHour = 4;
                bProviderDisconnectPreventionHourSet = yes;
                passiv_on_outgoing = no;
                mode6 = mode6_off;
                mode4 = mode4_normal;
        } {
                type = pppcfg_target_internet;
                name = "voip";
                only_crypt_auth = no;
                local {
                        username = "";
                        passwd = "";
                }
                remoteauth = pppcfg_authtype_chap;
                remoteauth_only_on_incoming = yes;
                remote {
                }
                inactivity_timeout = 0w;
                bUseChargeInterval = no;
                nChargeInterval = 1m;
                lcpecho_disconnect_mode = lcpecho_auto;
                logicaldisconnect_with_physical = yes;
                disconnect_timeout = 0w;
                finaldisconnectcall = no;
                ipnetbiosspoofing = no;
                dnsfilter_for_active_directory = no;
                no_outgoing_calls = no;
                coso = pppcfg_coso_caller;
                callback_delay = 1s;
                icbmode = pppcfg_icbmode_none;
                ocbmode = pppcfg_ocbmode_none;
                mscbprefered = no;
                multilink {
                        extra_static_channels = 0;
                        max_channels = 1;
                        automatic = no;
                        automatic_param {
                                window = 20s;
                                add_percent = 85;
                                drop_percent = 70;
                                sportlich = no;
                        }
                }
                header_compression = yes;
                data_compression = pppcfg_datacomp_auto;
                stac_reset_with_history_number = no;
                encryption = pppcfg_crypt_none;
                inactivity_prevention_interval = 0w;
                new_ipaddr_on_connect = no;
                my_ipaddr = 0.0.0.0;
                his_ipaddr = 0.0.0.0;
                overwrite_dns1 = 0.0.0.0;
                overwrite_dns2 = 0.0.0.0;
                bVolumeRoundUp = no;
                VolumeRoundUpBytes = 0;
                bProviderDisconnectPrevention = yes;
                ProviderDisconnectPreventionInterval = 1d;
                ProviderDisconnectPreventionHour = 4;
                bProviderDisconnectPreventionHourSet = yes;
                passiv_on_outgoing = no;
                mode6 = mode6_off;
                mode4 = mode4_normal;
        }
        dslglobalconfig {
                autodetect = no;
                autodetectparams {
                        nround = 2;
                        timeout = 3s;
                        npacket = 1;
                        autodetect_overwrite_vlancfg {
                                vlanencap = vlanencap_none;
                                tagtype = vlantagtype_customer;
                                vlanid = 0;
                                vlanprio = 0;
                                tos = 0;
                        }

Full ar7cfg part2:

                }
                pppoeiface_link_mode = link_mode_unknown;
                speed_in_netto = 1024;
                speed_out_netto = 512;
                manual_speed = no;
                tr069_speed = no;
                connect_delay_when_synced = 3s;
                sync_lost_delay = 0w;
                default_tcom_vlan = 7;
                use_ppp_provided_speed = yes;
                pppoe_send_last_sids = no;
                templates {
                        VPI = 1;
                        VCI = 32;
                        retries = 7;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_ether;
                } {
                        VPI = 8;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 48;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 48;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 48;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 8;
                        VCI = 67;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 67;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 8;
                        VCI = 64;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 36;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 9;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 1;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 1;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 34;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 34;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 34;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 33;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 38;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 38;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 8;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 35;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 8;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 8;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 8;
                        VCI = 81;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 0;
                        VCI = 100;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 100;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 0;
                        VCI = 100;
                        retries = 0;
                        encap = dslencap_pppoa_llc;
                } {
                        VPI = 1;
                        VCI = 50;
                        retries = 0;
                        encap = dslencap_pppoa;
                } {
                        VPI = 1;
                        VCI = 50;
                        retries = 0;
                        encap = dslencap_pppoe;
                } {
                        VPI = 0;
                        VCI = 100;
                        retries = 0;
                        encap = dslencap_ether;
                } {
                        VPI = 0;
                        VCI = 33;
                        retries = 0;
                        encap = dslencap_ether;
                } {
                        VPI = 0;
                        VCI = 32;
                        retries = 0;
                        encap = dslencap_ether;
                } {
                        VPI = 14;
                        VCI = 24;
                        retries = 0;
                        encap = dslencap_ether;
                }
                MaxDownstreamRate = 0;
                MaxUpstreamRate = 0;
                RFI = 0;
                DownstreamBlackoutBandStart = 0;
                DownstreamBlackoutBandEnd = 0;
                ControlBitfield = 0;
                DownstreamMarginOffset = 0;
                DownstreamPcbOffset = 0;
                UpstreamPcbOffset = 0;
                UsNoiseBits = 0;
                RFI_mode = 0;
                DsINP = 0;
                DiagnosticEnabled = no;
                DSLMode = 0;
                IsDSLModeSet = no;
                VinaxConfigBitField = 3;
                DisablePTMCRCCheck = no;
                sPLZ = "";
                sMailAddr = "";
                sDPVersion = "";
                bAutomaticFeedbackMail = no;
                nDays = 7;
                nG997_1_XTSE_1_2_3_4 = 0;
                nG997_1_XTSE_5_6_7_8 = 0;
                nG997_1_VDSL2_PROFILES_1_2_3_4 = 0;
                DisableUs1WhenDs1LatnIsAboveDb = 0;
                DisableUs2WhenDs1LatnIsAboveDb = 0;
                pwsGPONPLOAMPassword = "";
                pwsGPONSerial = "";
                pwsGPONRegId = "";
        }
        dpm_config {
        }
        accesslist_version = 4;
        ar7cfg_version = 18;
        ifaceconfig_version = 17;
        cfg_tainted = 2;
        forwardrules_version = 5;
        tr069discover_active = yes;
        tr069discover_mode = only_dhcp;
        tr069discover_unrestrictly = no;
        tr069discover_without_dhcpoption = no;
        tr069discover_vlan_takeover = no;
        tr069discover_vlancfg_list {
                vlanencap = vlanencap_none;
                vlanid = 1001;
                vlanprio = 5;
        }
        tr069discover_vlancfg {
                vlanencap = vlanencap_none;
                tagtype = vlantagtype_customer;
                vlanid = 0;
                vlanprio = 0;
                tos = 0;
        }
        tr069discover_class_identifier = "WT-AVM-Voip";
        use_fixed_wlan_guest_ip = no;
        upnp_cors_allow_origins = "http*://scope.avm.de";
        upnp_cors_allow_headers = "SOAPACTION", "Content-Type", "Origin";
        upnp_cors_allow_methods = "GET", "POST", "OPTIONS";
        upnp_cors_max_age = 1d;
        allow_background_comm_with_manufacturer = no;
        allow_cross_domain_comm = no;
        allow_security_report_with_manufacturer = no;
        config_externally_changed = no;
        limit_tcp_ds_rate = yes;
        use_gaming_opt = no;
        gaming_max_ds_rate = 0;
        tack_enabled = no;
        tack_count = 4;
        tack_period = 1;
        iproute_use_first_matching_route = first_matching_auto;
        guests_untrusted = no;
        captive_portal_redirect_enabled = no;
        captive_portal_show_law_text = no;
        max_ssdp_items = -1;
        provider_defaults_merged = no;
        pdn1_mtu = 0;
        pdn2_mtu = 0;
}

Full nqos:

nqos {
        version = 15;
        macaddr_whitelist_enabled = no;
        bridge_with_switch_separation = yes;
        bridge_lp_mode = -1;
        patch1TR114 = no;
        defaultresult {
                tos = -1;
                vlan_prio = -1;
                queueref = "default";
        }
        appls {
                enabled = yes;
                name = "sip-appl";
                protocol = qos_classifier_appl_sip;
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                }
        } {
                enabled = yes;
                name = "sip-appl-wt";
                protocol = qos_classifier_appl_sip;
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                        forwardref = "voipfwd";
                }
        }
        bridges {
                enabled = yes;
                name = "bridge1_wt";
                ident = "vcc:0";
                vlancfg {
                        vlanencap = vlanencap_fixed_prio;
                        tagtype = vlantagtype_customer;
                        vlanid = 1002;
                        vlanprio = 0;
                        tos = 0;
                }
                disable_igmp_fwd = no;
                with_pppoe_bridging = yes;
        } {
                enabled = no;
                name = "bridge2_wt";
                ident = "vcc:0";
                vlancfg {
                        vlanencap = vlanencap_fixed_prio;
                        tagtype = vlantagtype_customer;
                        vlanid = 1002;
                        vlanprio = 0;
                        tos = 0;
                }
                disable_igmp_fwd = no;
                with_pppoe_bridging = yes;
        } {
                enabled = no;
                name = "bridge3_wt";
                ident = "vcc:0";
                vlancfg {
                        vlanencap = vlanencap_fixed_prio;
                        tagtype = vlantagtype_customer;
                        vlanid = 1002;
                        vlanprio = 0;
                        tos = 0;
                }
                disable_igmp_fwd = no;
                with_pppoe_bridging = yes;
        }
        forwards {
                enabled = yes;
                name = "voipfwd";
                ident = "iface:voip+tr069";
        }
        classifiers {
                enabled = yes;
                name = "wt_bridge1";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "ethport 4";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "realtime";
                        bridgeref = "bridge1_wt";
                }
        } {
                enabled = yes;
                name = "wt_bridge2";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "ethport 3";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "realtime";
                        bridgeref = "bridge2_wt";
                }
        } {
                enabled = yes;
                name = "wt_bridge3";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "ethport 2";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "realtime";
                        bridgeref = "bridge3_wt";
                }
        } {
                enabled = yes;
                name = "clfy_voip";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "udp.dport 5060 packetmatch *sip:*@voip*.wtnet.de";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                        applref = "sip-appl-wt";
                        forwardref = "voipfwd";
                }
        } {
                enabled = no;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_local;
                rule = "localmark sip";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                }
        } {
                enabled = no;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_local;
                rule = "localmark rtp";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                }
        } {
                enabled = yes;
                name = "tr069";
                type = qos_cfg_hidden;
                iface = qos_local;
                rule = "localmark sipdns,ntpdns,tr069dns,tr069";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "igmp";
                type = qos_cfg_hidden;
                iface = qos_local;
                rule = "localmark igmp";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "ifacectl";
                }
        } {
                enabled = yes;
                name = "webdav";
                type = qos_cfg_hidden;
                iface = qos_local;
                rule = "localmark webdav";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "low";
                }
        } {
                enabled = yes;
                name = "dns";
                type = qos_cfg_hidden;
                iface = qos_local;
                rule = "localmark dns";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "mstv";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "udp.dport 43962,47806";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "icmp-v6";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "ip.proto IPv6-ICMP";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "icmp";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "ip.proto icmp";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                        applref = "sip-appl";
                }
        } {
                enabled = yes;
                name = "dns";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "udp.dport 53";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = yes;
                name = "dns";
                type = qos_cfg_hidden;
                iface = qos_lan;
                rule = "udp.dport 53";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hprio";
                }
        } {
                enabled = no;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_lan;
                rule = "udp.dport 5060";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                        applref = "sip-appl";
                }
        } {
                enabled = no;
                name = "clfy_www";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.proto == tcp ip.len <= 64";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "none";
                }
        } {
                enabled = no;
                name = "clfy_www";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "tcp.dest 80,3128,8080 ip.len <= 800";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "none";
                }
        } {
                enabled = no;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_local;
                rule = "localmark sip_internet";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                }
        } {
                enabled = no;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_local;
                rule = "localmark rtp_internet";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                }
        } {
                enabled = no;
                name = "clfy_voip";
                type = qos_cfg_internal;
                iface = qos_lan;
                rule = "tcp.dport 5060";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "hrealtime";
                        applref = "sip-appl";
                }
        } {
                enabled = yes;
                name = "lcp";
                type = qos_cfg_hidden;
                iface = qos_local;
                rule = "localmark lcp";
                result {
                        tos = -1;
                        vlan_prio = -1;
                        queueref = "ifacectl";
                }
        }
        queues {
                enabled = yes;
                with_sfq = no;
                type = qos_cfg_system;
                name = "ifacectl";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 0;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = no;
                type = qos_cfg_system;
                name = "hprio";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 10;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = no;
                type = qos_cfg_system;
                name = "hrealtime";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 20;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = yes;
                type = qos_cfg_system;
                name = "realtime";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 30;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = yes;
                type = qos_cfg_system;
                name = "important";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 100;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = yes;
                type = qos_cfg_system;
                name = "default";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 150;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        } {
                enabled = yes;
                with_sfq = yes;
                type = qos_cfg_system;
                name = "low";
                iface = qos_wan;
                queue_type = queue_llq;
                precedence = 200;
                weight = 0;
                shapingrate = 0;
                shapingburst = 0;
                allow_more = yes;
                ceilrate = 0;
        }
        ratelimits {
                enabled = yes;
                name = "dhcpv6";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 udp.dport 547";
                packets = 10;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "rs";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 133";
                packets = 10;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "ns";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 135";
                packets = 10;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "na";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 136";
                packets = 500;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "icmpUnreachable";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 1";
                packets = 10;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "icmpTooBig";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 2";
                packets = 10;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "icmpTimeExceeded";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 3";
                packets = 10;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "icmpEchoRequest";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 128";
                packets = 10;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "icmpEchoReply";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 129";
                packets = 10;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "dhcpv4";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 4 udp.dport 67";
                packets = 20;
                interval = 1s;
                early = 0;
        } {
                enabled = yes;
                name = "ra";
                type = qos_cfg_system;
                iface = qos_lan;
                rule = "ip.version 6 icmp.type 134";
                packets = 10;
                interval = 1s;
                early = 1;
        }
        dyn_queues {
                enabled = yes;
                queueref = "default";
                tack_queueref = "important";
                tget_queueref = "realtime";
        }
        regulation {
                enabled = no;
                type = moderate;
                queues {
                        enabled = yes;
                        queueref = "important";
                        ds_weight_min = 10;
                        ds_weight_max = 0;
                } {
                        enabled = no;
                        queueref = "default";
                        ds_weight_min = 10;
                        ds_weight_max = 0;
                } {
                        enabled = yes;
                        queueref = "low";
                        ds_weight_min = 10;
                        ds_weight_max = 0;
                }
        }
}