Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

Re: Edgerouter Lite - Getting rid of Bell Canada's Homehub2000 ( Internet AND IPTV ) FTTH

$
0
0

Here is the configuration. (Removed the username password stuff, but all in all, pretty basic)

 

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 WAN_in
enable-default-log
rule 1 {
action accept
state {
established enable
related enable
}
}
}
name wan_local {
default-action drop
description "Internet to Firewall"
enable-default-log
rule 1 {
action accept
state {
established enable
related enable
}
}
rule 2 {
action drop
log enable
state {
invalid enable
}
}
rule 5 {
action accept
description "ICMP 50/m"
limit {
burst 1
rate 50/minute
}
log enable
protocol icmp
}
}
options {
mss-clamp {
mss 1412
}
}
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable
}
interfaces {
ethernet eth0 {
address dhcp
description "Bell ONT"
duplex auto
pppoe 0 {
default-route force
firewall {
in {
name wan_in
}
local {
name wan_local
}
}
mtu 1492
name-server auto
}
speed auto
vif 35 {
address dhcp
description "VLAN 35 Internet"
pppoe 0 {
default-route auto
mtu 1492
name-server auto
password password
user-id b1somethingsomething
}
}
vif 36 {
address dhcp
description IPTV
mtu 1500
}
}
ethernet eth1 {
address 192.168.1.1/24
description "Local LAN"
duplex auto
speed auto
}
ethernet eth2 {
address 192.168.2.1/24
description "Local ALT"
duplex auto
speed auto
}
loopback lo {
}
}
port-forward {
auto-firewall enable
hairpin-nat disable
lan-interface eth1
wan-interface pppoe0
}
protocols {
igmp-proxy {
interface eth1.36 {
alt-subnet 0.0.0.0/0
role upstream
threshold 1
}
interface eth2 {
alt-subnet 0.0.0.0/0
role downstream
threshold 1
}
}
static {
}
}
service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name LAN1 {
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.38 {
stop 192.168.1.243
}
}
}
shared-network-name LAN2 {
authoritative disable
subnet 192.168.2.0/24 {
default-router 192.168.2.1
dns-server 192.168.2.1
lease 86400
start 192.168.2.38 {
stop 192.168.2.243
}
}
}
use-dnsmasq disable
}
dns {
forwarding {
cache-size 350
listen-on eth1
listen-on eth2
}
}
gui {
http-port 80
https-port 443
older-ciphers enable
}
nat {
rule 5010 {
description "masquerade for WAN"
log disable
outbound-interface pppoe0
protocol all
type masquerade
}
}
ssh {
port 22
protocol-version v2
}
}
system {
domain-name domain.com
host-name edge
login {
banner {
pre-login "You are not welcomed. GTFO"
}
}
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
ipv4 {
forwarding enable
gre enable
pppoe enable
vlan enable
}
}
package {
repository wheezy {
components "main contrib non-free"
distribution wheezy
password ""
url http://http.us.debian.org/debian
username ""
}
repository wheezy-security {
components main
distribution wheezy/updates
password ""
url http://security.debian.org
username ""
}
}
syslog {
global {
archive {
files 20
size 1534
}
facility all {
level notice
}
facility protocols {
level debug
}
}
}
time-zone America/Montreal
}


/* 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 60861

Trending Articles