Skip to content

Instantly share code, notes, and snippets.

@jamescarlos
Created April 9, 2018 20:18
Show Gist options
  • Save jamescarlos/fffa59a49c7de92c1fc3f3bc4c506e29 to your computer and use it in GitHub Desktop.
Save jamescarlos/fffa59a49c7de92c1fc3f3bc4c506e29 to your computer and use it in GitHub Desktop.
AT&T Bypass Unifi Security Gateway
{
"interfaces": {
"ethernet": {
"eth0": {
"address": [
"dhcp"
],
"description": "WAN",
"dhcp-options": {
"client-option": [
"retry 60;"
],
"default-route": "update",
"default-route-distance": "1",
"name-server": "no-update"
},
"duplex": "auto",
"firewall": {
"in": {
"ipv6-name": "WANv6_IN",
"name": "WAN_IN"
},
"local": {
"ipv6-name": "WANv6_LOCAL",
"name": "WAN_LOCAL"
},
"out": {
"ipv6-name": "WANv6_OUT",
"name": "WAN_OUT"
}
},
"speed": "auto",
"vif": {
"0": {
"address": [
"dhcp"
],
"description": "WAN VLAN 0",
"dhcp-options": {
"default-route": "update",
"default-route-distance": "210",
"name-server": "update"
},
"firewall": {
"in": {
},
"local": {
}
},
"mac": "00:aa:bb:cc:dd:ee"
}
}
},
"eth2": {
"address": [
"192.168.254.1/24"
],
"description": "AT&T router",
"duplex": "auto",
"firewall": {
"in": {
"ipv6-name": "LANv6_IN",
"name": "LAN_IN"
},
"local": {
"ipv6-name": "LANv6_LOCAL",
"name": "LAN_LOCAL"
},
"out": {
"ipv6-name": "LANv6_OUT",
"name": "LAN_OUT"
}
},
"speed": "auto"
}
}
},
"port-forward": {
"wan-interface": "eth0.0"
},
"service": {
"nat": {
"rule": {
"5010": {
"description": "masquerade for WAN",
"outbound-interface": "eth0.0",
"protocol": "all",
"type": "masquerade"
}
}
},
"upnp2": {
"listen-on": [
"eth1"
],
"nat-pmp": "enable",
"secure-mode": "enable",
"wan": "eth0.0"
}
},
"system": {
"static-host-mapping": {
"host-name": {
"internal": {
"inet": [
"192.168.10.130"
]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment