Sky WiFi passerà a MAP-T entro il 2021
- Modificato
- Modificato
Tadaaa!!
ifstatus su OpenWRT:
Premi per mostrare Premi per nascondere
root@OpenWrt:/# ifstatus wan6_4
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": true,
"uptime": 4064,
"l3_device": "map-wan6_4",
"proto": "map",
"updated": [
"routes",
"data"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "2001:ba0:faaa::7840:64fa:aa",
"mask": 128,
"nexthop": "::",
"source": "::/0"
},
{
"target": "0.0.0.0",
"mask": 0,
"nexthop": "0.0.0.0",
"source": "0.0.0.0/0"
}
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"firewall": [
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "1704-1707"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "1704-1707"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "1704-1707"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "2728-2731"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "2728-2731"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "2728-2731"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "3752-3755"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "3752-3755"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "3752-3755"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "4776-4779"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "4776-4779"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "4776-4779"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "5800-5803"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "5800-5803"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "5800-5803"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "6824-6827"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "6824-6827"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "6824-6827"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "7848-7851"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "7848-7851"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "7848-7851"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "8872-8875"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "8872-8875"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "8872-8875"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "9896-9899"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "9896-9899"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "9896-9899"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "10920-10923"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "10920-10923"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "10920-10923"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "11944-11947"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "11944-11947"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "11944-11947"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "12968-12971"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "12968-12971"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "12968-12971"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "13992-13995"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "13992-13995"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "13992-13995"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "15016-15019"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "15016-15019"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "15016-15019"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "16040-16043"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "16040-16043"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "16040-16043"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "17064-17067"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "17064-17067"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "17064-17067"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "18088-18091"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "18088-18091"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "18088-18091"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "19112-19115"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "19112-19115"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "19112-19115"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "20136-20139"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "20136-20139"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "20136-20139"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "21160-21163"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "21160-21163"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "21160-21163"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "22184-22187"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "22184-22187"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "22184-22187"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "23208-23211"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "23208-23211"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "23208-23211"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "24232-24235"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "24232-24235"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "24232-24235"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "25256-25259"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "25256-25259"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "25256-25259"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "26280-26283"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "26280-26283"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "26280-26283"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "27304-27307"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "27304-27307"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "27304-27307"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "28328-28331"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "28328-28331"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "28328-28331"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "29352-29355"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "29352-29355"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "29352-29355"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "30376-30379"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "30376-30379"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "30376-30379"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "31400-31403"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "31400-31403"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "31400-31403"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "32424-32427"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "32424-32427"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "32424-32427"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "33448-33451"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "33448-33451"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "33448-33451"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "34472-34475"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "34472-34475"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "34472-34475"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "35496-35499"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "35496-35499"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "35496-35499"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "36520-36523"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "36520-36523"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "36520-36523"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "37544-37547"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "37544-37547"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "37544-37547"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "38568-38571"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "38568-38571"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "38568-38571"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "39592-39595"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "39592-39595"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "39592-39595"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "40616-40619"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "40616-40619"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "40616-40619"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "41640-41643"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "41640-41643"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "41640-41643"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "42664-42667"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "42664-42667"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "42664-42667"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "43688-43691"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "43688-43691"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "43688-43691"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "44712-44715"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "44712-44715"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "44712-44715"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "45736-45739"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "45736-45739"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "45736-45739"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "46760-46763"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "46760-46763"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "46760-46763"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "47784-47787"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "47784-47787"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "47784-47787"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "48808-48811"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "48808-48811"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "48808-48811"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "49832-49835"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "49832-49835"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "49832-49835"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "50856-50859"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "50856-50859"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "50856-50859"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "51880-51883"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "51880-51883"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "51880-51883"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "52904-52907"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "52904-52907"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "52904-52907"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "53928-53931"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "53928-53931"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "53928-53931"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "54952-54955"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "54952-54955"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "54952-54955"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "55976-55979"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "55976-55979"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "55976-55979"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "57000-57003"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "57000-57003"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "57000-57003"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "58024-58027"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "58024-58027"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "58024-58027"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "59048-59051"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "59048-59051"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "59048-59051"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "60072-60075"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "60072-60075"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "60072-60075"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "61096-61099"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "61096-61099"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "61096-61099"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "62120-62123"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "62120-62123"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "62120-62123"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "63144-63147"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "63144-63147"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "63144-63147"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "64168-64171"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "64168-64171"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "64168-64171"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "65192-65195"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "65192-65195"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "65192-65195"
},
{
"type": "rule",
"family": "inet6",
"proto": "all",
"direction": "in",
"dest": "wan",
"src": "wan",
"src_ip": "2001:ba0:faaa::7840:64fa:aa",
"target": "ACCEPT"
},
{
"type": "rule",
"family": "inet6",
"proto": "all",
"direction": "out",
"dest": "wan",
"src": "wan",
"dest_ip": "2001:ba0:faaa::7840:64fa:aa",
"target": "ACCEPT"
}
],
"zone": "wan"
}
}
.
Ho usato OpenWRT per quanto riguarda la CE, Cisco IOS XE sul BR (TNSR non sono riuscito a farlo andare su GNS3, purtroppo) isc-dhcp-server6 come server DHCPv6-PD e Ubuntu come client.
Note a margine:
- MAP-T e Dual Stack possono funzionare insieme contemporanemente, servirebbe qualcuno che sniffi il pacchetto DHCPv6-PD per vedere se MAP-T è già attivo oppure che provi con OpenWRT.
- Non c'è bisogno di nessuna configurazione lato CE, OpenWRT fa tutto da solo quando riceve il DHCPv6 creando una interfaccia virtuale che fa il MAP IPv4-IPv6
- Tutti gli indirizzi IPv4 vengono mappati in una /64 IPv6 che deve essere ruotata al BR dalla rete metro dell'ISP.
- Configurare i link P2P in IPv6 è una bestemmia (in generale)
- Non c'è un modo semplice di vedere quali porte sono state assegnate, purtroppo. OpenWRT (19.07) non segna assolutamente nulla sulla GUI per quanto riguarda MAPT. Inoltre non mi tornano tutte quelle porte che segna ifstatus, dovrebbero essere solo 252 ma sembrano di più e molto frammentate
- Il traceroute con MAP-T sembrano avere poco senso.
Purtroppo a causa dell'immagine di Cisco XE che ho preso da qualche lato oscuro della rete (dai però è uso education... non sto guadagnando sul lavoro d'altri) non posso passarvi il progetto.
Se volete ricrearlo però posso darvi la configurazione della BR e dei router Mikrotik
Gli altri router (Metronet e IPv4) sono dei Mikrotik CHR perchè sapevo già un po' configurarli.
Se avete qualcosa che posso provare ditemi!
- Modificato
edofullo Non c'è bisogno di nessuna configurazione lato CE, OpenWRT fa tutto da solo quando riceve il DHCPv6 creando una interfaccia virtuale che fa il MAP IPv4-IPv6
Questo lo sapevo, mi sono letto tutto il codice
Tra l'altro dovrebbe crearsi proprio l'interaccia da solo. Ma non so bene come si configura il firewall.
Si mette da solo nella zona WAN?
edofullo MAP-T e Dual Stack possono funzionare insieme contemporanemente, servirebbe qualcuno che sniffi il pacchetto DHCPv6-PD per vedere se MAP-T è già attivo oppure che provi con OpenWRT.
Questo potrei provarlo stasera
edofullo Non c'è un modo semplice di vedere quali porte sono state assegnate, purtroppo. OpenWRT (19.07) non segna assolutamente nulla sulla GUI per quanto riguarda MAPT. Inoltre non mi tornano tutte quelle porte che segna ifstatus, dovrebbero essere solo 252 ma sembrano di più e molto frammentate
Volendo puoi alterare gli script sh di MAP e farti stampare da qualche parte la configurazione.
map.sh
HAi provato a vedere se via ubus si vede la conf?
La prossima settimana sono in ferie ma appena rientro ti rompo sicuramente per avere un mabiente di test simile attivo...
Spero di riuscire a fare funzionare il TNSR senza troppi problemi. Ma la vedo dura.
- Modificato
hitech95 Tra l'altro dovrebbe crearsi proprio l'interaccia da solo
Lo fa.
Volendo puoi anche crearla tu ma non ha molto senso.
hitech95 Ma non so bene come si configura il firewall.
Trovi tutto nello spoiler che ho messo sopra.
hitech95 Si mette da solo nella zona WAN?
Si, a patto che la WAN6 su cui si basa sia nella WAN
hitech95 Spero di riuscire a fare funzionare il TNSR senza troppi problemi. Ma la vedo dura.
Il problema che avevo avuto con TNSR era che non mi rilevava le interfacce virtuali. Non so se è un problema mio oppure no ma mi sembra strano.
Su qemu/KVM diretto funziona. GNS3 no.
- Modificato
edofullo Il problema che avevo avuto con TNSR era che non mi rilevava le interfacce virtuali. Non so se è un problema mio oppure no ma mi sembra strano.
TNSR non usa i driver linux ma bypassa il kernel sulle interfacce che gli assegni... Domani provo a fare il setup sul server dell. Almeno fare il boot di TNSR mi sembra un buon risultato.
- Modificato
No, però qualcosa si vede all'avvio:
Però all'utente finale interesserebbe sapere queli porte ha i disposizione per hostare i propri servizi senza stare a impazzire con la CLI.
Altro vantaggio rispetto al CGNAT+DualStack: hai un po' di porte raggiungibili dall'esterno.
- Modificato
edofullo Se avete qualcosa che posso provare ditemi!
Che prestazioni sono raggiungibili, 1Gbps lo regge? (intendo la CPE, quindi il mikrotik)
- Modificato
handymenny Purtroppo è un dato troppo aleatorio.
In primo luogo sto utilizzando le immagini RouterOS CHR che in versione free sono limitate a 1 Mbps.
Anche togliessi i mikrotik (si potrebbe fare) le prestazioni dipenderebbero da quanta CPU e quanta RAM dedichi a BR e CE, dagli switch virtualizzati e dal modello stesso della CPU.
Servirebbe hardware su cui poter fare confronti, dubito che virtualizzando si possa fare.
Nella teoria comunque dovrebbe essere molto leggero essendo completamente stateless.
- Modificato
edofullo Ah capito. Più che altro ero curioso di capire una eventuale implementazione non accelerata, come immagino sia quella stock openwrt, fin dove potesse spingersi lato prestazionale.
Perché, per dire, se il MAP-T di sky ti dovesse limitare a 300Mbps su router diversi dallo sky hub, sarebbe un bel problema
[cancellato]
- Modificato
edofullo non mi tornano tutte quelle porte che segna ifstatus, dovrebbero essere solo 252 ma sembrano di più e molto frammentate
Sono comunque Nuplicate, ha le regole di SNAT per ICMP, TCP e UDP.
Sono frammentate per la configurazione del Cisco, vedo un contiguous-port-bits 2
che potrebbe essere il motivo per cui ti trovi port set da 4 . Prova a metterlo a
8
e dovresti trovarti blocchi di 256 porte al colpo, con 256 client potresti avere un blocco solo assegnato ad ognuno.
[cancellato] In questa versione non c'è il contiguous-port-bits
(non so perchè...) però avevi ragione, ho messo port-parameters share-ratio 256
(ovviamente anche nel parametro dhcp6.map-option
del DHCPv6) e ora è molto meglio.
root@OpenWrt:/# ifstatus wan6_4
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": true,
"uptime": 330,
"l3_device": "map-wan6_4",
"proto": "map",
"updated": [
"routes",
"data"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "2001:ba0:faaa::7840:64fa:aa",
"mask": 128,
"nexthop": "::",
"source": "::/0"
},
{
"target": "0.0.0.0",
"mask": 0,
"nexthop": "0.0.0.0",
"source": "0.0.0.0/0"
}
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"firewall": [
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "icmp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "43520-43775"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "tcp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "43520-43775"
},
{
"type": "nat",
"target": "SNAT",
"family": "inet",
"proto": "udp",
"connlimit_ports": true,
"snat_ip": "120.64.100.250",
"snat_port": "43520-43775"
},
{
"type": "rule",
"family": "inet6",
"proto": "all",
"direction": "in",
"dest": "wan",
"src": "wan",
"src_ip": "2001:ba0:faaa::7840:64fa:aa",
"target": "ACCEPT"
},
{
"type": "rule",
"family": "inet6",
"proto": "all",
"direction": "out",
"dest": "wan",
"src": "wan",
"dest_ip": "2001:ba0:faaa::7840:64fa:aa",
"target": "ACCEPT"
}
],
"zone": "wan"
}
}
Comunque il range di porte è un dato che secondo me dovrebbero mettere anche nella GUI.
itreb Ma aspetta Free usa map-t? è possibile che pure iliad fisso userà map-t?
- Modificato
simonebortolin Ma aspetta Free usa map-t?
4RD, che concettualmente è simile ma è diverso
simonebortolin è possibile che pure iliad fisso userà map-t?
A iliad piace tanto copiare pari pari l'architettura francese, quindi è molto probabile che usi 4RD o qualcosa di simile
- Modificato
edofullo il routing lo gestisci con delle statiche o hai usato altro ?
P.S: Bel lavoro
gandalf2016 il routing lo gestisci con delle statiche o hai usato altro ?
Staticissime, non volevo aggiungere ulteriore complessità.
gandalf2016 P.S: Bel lavoro
Grazie