Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Configuration changes for ERL when going from CenturyLink Fiber + PrismTV to just internet

$
0
0

Thanks to the community I was able to get my ERL setup successfully with my Centurylink gigabit fiber service a few months ago. We decided that we weren't watching TV much so we dropped the PrismTV service to save a few dollars a month.

 

On the effective date of change our internet stopped working and a call into tech support said that I had to add my user credentials for PPPoE. I have those written down but not sure what else needs to change in my configuration file to get things to work. Tech support said I shouldn't have to change anything with the VLAN tagging.

 

Below is my configuration from earlier that was working with internet and TV. 

 

firewall {
    all-ping enable
    broadcast-ping disable
    ipv6-receive-redirects disable
    ipv6-src-route disable
    ip-src-route disable
    log-martians enable
    name WAN_IN {
        default-action drop
        description "packets from Internet to LAN"
        enable-default-log
        rule 1 {
            action accept
            description "allow established sessions"
            log disable
            protocol all
            state {
                established enable
                invalid disable
                new disable
                related enable
            }
        }
        rule 3 {
            action accept
            description "allow multicast UDP in"
            log disable
            protocol udp
            source {
                address 224.0.0.0/4
            }
        }
        rule 4 {
            action accept
            description "allow CenturyLink Prism multicast UDP in"
            log disable
            protocol udp
            source {
                address 67.12.0.0/15
            }
        }
        rule 5 {
            action accept
            description "allow CenturyLink Prism multicast UDP in"
            log disable
            protocol udp
            source {
                address 151.118.0.0/16
            }
        }
        rule 6 {
            action drop
            description "drop invalid state"
            log disable
            protocol all
            state {
                established disable
                invalid enable
                new disable
                related disable
            }
        }
    }
    name WAN_LOCAL {
        default-action drop
        description "packets from Internet to the router"
        enable-default-log
        rule 1 {
            action accept
            description "allow established session to the router"
            log disable
            protocol all
            state {
                established enable
                invalid disable
                new disable
                related enable
            }
        }
        rule 2 {
            action accept
            description "allow IGMP in"
            log disable
            protocol igmp
        }
        rule 3 {
            action drop
            description "drop invalid state"
            log enable
            protocol all
            state {
                established disable
                invalid enable
                new disable
                related disable
            }
        }
    }
    options {
        mss-clamp {
            interface-type all
            mss 1452
        }
    }
    receive-redirects disable
    send-redirects enable
    source-validation disable
    syn-cookies enable
}
interfaces {
    ethernet eth0 {
        duplex auto
        speed auto
        vif 201 {
            address dhcp
            description "CenturyLink VLAN"
            firewall {
                in {
                    name WAN_IN
                }
                local {
                    name WAN_LOCAL
                }
            }
        }
    }
    ethernet eth1 {
        address 192.168.1.1/24
        duplex auto
        speed auto
    }
    ethernet eth2 {
        disable
        duplex auto
        speed auto
    }
    loopback lo {
    }
}
port-forward {
    auto-firewall enable
    hairpin-nat enable
    lan-interface eth1
    rule 1 {
        description "RDP for Tai7-New"
        forward-to {
            address 192.168.1.103
            port 3391
        }
        original-port 3391
        protocol tcp_udp
    }
    rule 2 {
        description "RDP for M900"
        forward-to {
            address 192.168.1.134
            port 3390
        }
        original-port 3390
        protocol tcp_udp
    }
    rule 3 {
        description "Plex for M900"
        forward-to {
            address 192.168.1.134
            port 32400
        }
        original-port 32400
        protocol tcp_udp
    }
    wan-interface eth0.201
}
protocols {
    igmp-proxy {
        interface eth0.201 {
            alt-subnet 0.0.0.0/0
            role upstream
            threshold 1
        }
        interface eth1 {
            alt-subnet 0.0.0.0/0
            role downstream
            threshold 1
        }
    }
}
service {
    dhcp-server {
        disabled false
        hostfile-update disable
        shared-network-name eth1 {
            authoritative disable
            subnet 192.168.1.0/24 {
                default-router 192.168.1.1
                dns-server 192.168.1.1
                lease 86400
                start 192.168.1.100 {
                    stop 192.168.1.199
                }
                static-mapping LivingRoomM900 {
                    ip-address 192.168.1.134
                }
                static-mapping Tai-7-New {
                    ip-address 192.168.1.103
                }
                static-mapping UniFi-CloudKey {
                    ip-address 192.168.1.105
                }
                unifi-controller 192.168.1.105
            }
        }
        use-dnsmasq disable
    }
    dns {
        forwarding {
            cache-size 150
            listen-on eth1
        }
    }
    gui {
        http-port 80
        https-port 443
        older-ciphers enable
    }
    nat {
        rule 5000 {
            description NAT
            log disable
            outbound-interface eth0.201
            protocol all
            type masquerade
        }
    }
    ssh {
        port 22
        protocol-version v2
    }
    upnp2 {
        listen-on eth1
        nat-pmp enable
        secure-mode enable
        wan eth0.201
    }
}
system {
    config-management {
        commit-revisions 20
    }
    conntrack {
        expect-table-size 4096
        hash-size 4096
        table-size 32768
        tcp {
            half-open-connections 512
            loose enable
            max-retrans 3
        }
    }
    host-name ubnt
    login {
        user ubnt {
            authentication {
                encrypted-password 
                plaintext-password ""
            }
            full-name ""
            level admin
        }
    }
    name-server 8.8.8.8
    name-server 8.8.4.4
    ntp {
        server 0.ubnt.pool.ntp.org {
        }
        server 1.ubnt.pool.ntp.org {
        }
        server 2.ubnt.pool.ntp.org {
        }
        server 3.ubnt.pool.ntp.org {
        }
    }
    offload {
        hwnat disable
        ipsec enable
        ipv4 {
            forwarding enable
            vlan enable
        }
        ipv6 {
            forwarding enable
            vlan enable
        }
    }
    syslog {
        global {
            facility all {
                level notice
            }
            facility protocols {
                level debug
            }
        }
    }
    time-zone America/Denver
    traffic-analysis {
        dpi enable
        export enable
    }
}


/* 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:system@4:ubnt-pptp@1:ubnt-util@1:vrrp@1:webgui@1:webproxy@1:zone-policy@1" === */
/* Release version: v1.9.0.4901118.160804.1131 */

Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>