View Single Post
Hei!

Etter en ny oppdatering i nettett til Altibox, har jeg nå kun NRK-kanalene, programarkiv og opptak.

Jeg tenkte derfor å prøve den nye metoden, som ser ut til å være en bedre løsning. Da fikk jeg bare NRK kanalene. Legger ved litt info. Er det noen som ser hva jeg må gjøre for å få dette til?


Fulgte guiden til trrunde på github. Da fikk jeg dette når jeg committet konfigurasjonen gjennom putty:

Kode

ubnt@EdgeRouter-Pro-8-Port# commit
[ interfaces ethernet eth7 vif 102 dhcp-options ]
Restarting DHCP on eth7.102 ...

[ interfaces ethernet eth7 vif 101 dhcp-options ]
Restarting DHCP on eth7.101 ...

[ protocols igmp-proxy ]
Job for igmpproxy.service failed because the control process exited with error code.
See "systemctl status igmpproxy.service" and "journalctl -xe" for details.

[ port-forward ]
"lan-interface" is required when hairpin NAT is enabled

[ service dhcp-server ]
Conflicting subnet ranges: 192.168.1.0/24 overlaps 192.168.1.0/24
Conflicting subnet ranges: 192.168.1.0/24 overlaps 192.168.1.0/24
DHCP server configuration commit aborted due to error(s).

[ service lldp ]
Starting lldpd...

[ interfaces ethernet eth7 vif 102 dhcpv6-pd ]
Starting new daemon...

Commit failed

Her er config-fila mi pr. nå:

Kode

firewall {
    all-ping enable
    broadcast-ping disable
    ipv6-name WANv6_IN {
        default-action drop
        description "WAN inbound traffic forwarded to LAN"
        rule 10 {
            action accept
            description "Allow established/related sessions"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
    }
    ipv6-name WANv6_LOCAL {
        default-action drop
        description "WAN inbound traffic to the router"
        enable-default-log
        rule 10 {
            action accept
            description "Allow established/related sessions"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
        rule 30 {
            action accept
            description "Allow IPv6 icmp"
            protocol ipv6-icmp
        }
        rule 40 {
            action accept
            description "allow dhcpv6"
            destination {
                port 546
            }
            protocol udp
            source {
                port 547
            }
        }
    }
    ipv6-receive-redirects disable
    ipv6-src-route disable
    ip-src-route disable
    log-martians enable
    name WAN_IN {
        default-action drop
        description "WAN to internal"
        rule 10 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
    }
    name WAN_LOCAL {
        default-action drop
        description "WAN to router"
        rule 10 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
    }
    receive-redirects disable
    send-redirects enable
    source-validation disable
    syn-cookies enable
}
interfaces {
    ethernet eth0 {
        duplex auto
        speed auto
    }
    ethernet eth1 {
        duplex auto
        speed auto
    }
    ethernet eth2 {
        address 192.168.2.1/24
        description "Local 2"
        duplex auto
        speed auto
    }
    ethernet eth3 {
        duplex auto
        speed auto
    }
    ethernet eth4 {
        duplex auto
        speed auto
    }
    ethernet eth5 {
        duplex auto
        speed auto
    }
    ethernet eth6 {
        address 192.168.1.1/24
        description Local
        duplex auto
        speed auto
    }
    ethernet eth7 {
        description Uplink
        duplex auto
        mac /*gamle sentralens mac*/
        speed auto
        vif 101 {
            address dhcp
            description IPTV
            dhcp-options {
                client-option "request subnet-mask, routers, rfc3442-classless-static-routes;"
                client-option "send vendor-class-identifier "VMG8825-B50B";"
                default-route no-update
                default-route-distance 255
                name-server no-update
            }
        }
        vif 102 {
            address dhcp
            description Internet
            dhcp-options {
                default-route update
                default-route-distance 210
                name-server update
            }
            dhcpv6-pd {
                pd 1 {
                    interface eth6 {
                        host-address ::1
                        prefix-id :1
                        service slaac
                    }
                    prefix-length 56
                }
                rapid-commit enable
            }
            firewall {
                in {
                    ipv6-name WANv6_IN
                    name WAN_IN
                }
                local {
                    ipv6-name WANv6_LOCAL
                    name WAN_LOCAL
                }
            }
            mac /*gamle sentralens mac*/
        }
    }
    loopback lo {
    }
}
protocols {
    igmp-proxy {
        interface eth6 {
            role downstream
            threshold 1
        }
        interface eth7.101 {
            alt-subnet 0.0.0.0/0
            role upstream
            threshold 1
        }
    }
}
service {
    dhcp-server {
        disabled false
        hostfile-update disable
        shared-network-name LAN1 {
            authoritative enable
            subnet 192.168.1.0/24 {
                default-router 192.168.1.1
                dns-server 92.220.228.70
                dns-server 109.247.114.4
                lease 86400
                start 192.168.1.5 {
                    stop 192.168.1.243
                }

        }
        shared-network-name LAN2 {
            authoritative enable
            subnet 192.168.2.0/24 {
                default-router 192.168.2.1
                dns-server 92.220.228.70
                dns-server 109.247.114.4
                lease 86400
                start 192.168.2.5 {
                    stop 192.168.2.243
                }

            }
        }
        static-arp disable
        use-dnsmasq disable
    }
    dns {
        forwarding {
            cache-size 150
            listen-on eth7
            listen-on eth6
            listen-on eth2
        }
    }
    gui {
        http-port 80
        https-port 443
        older-ciphers disable
    }
    lldp {
        interface eth6 {
        }
    }
    nat {
        rule 5010 {
            description "Internet - Vlan102"
            log disable
            outbound-interface eth7.102
            protocol all
            type masquerade
        }
        rule 5011 {
            description "TV - Vlan 101"
            log disable
            outbound-interface eth7.101
            protocol all
            type masquerade
        }
    }
    ssh {
        port 22
        protocol-version v2
    }

}
system {
    host-name EdgeRouter-Pro-8-Port
    login {
        user ubnt{
            authentication {
                encrypted-password 
            }
            level admin
        }
    }
    ntp {
        server 0.ntp.altibox.no {
        }
        server 0.ubnt.pool.ntp.org {
        }
        server 1.ntp.altibox.no {
        }
        server 1.ubnt.pool.ntp.org {
        }
        server 2.ntp.altibox.no {
        }
        server 2.ubnt.pool.ntp.org {
        }
        server 3.ntp.altibox.no {
        }
        server 3.ubnt.pool.ntp.org {
        }
    }
    offload {
        hwnat disable
        ipsec enable
    }
    syslog {
        global {
            facility all {
                level notice
            }
            facility protocols {
                level debug
            }
        }
    }
    time-zone Europe/Oslo
    traffic-analysis {
        dpi disable
        export disable
    }
}


/* Warning: Do not remove the following line. */
/* === vyatta-config-version: "config-management@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@5:nat@3:qos@1:quagga@2:suspend@1:system@4:ubnt-pptp@1:ubnt-udapi-server@1:ubnt-unms@1:ubnt-util@1:vrrp@1:vyatta-netflow@1:webgui@1:webproxy@1:zone-policy@1" === */
/* Release version: v2.0.8-hotfix.1.5278088.200305.1641 */