Привет! Мы пытаемся настроить USG Pro 4 с несколькими публичными IP-адресами, используя DNAT для нескольких внутренних серверов. Нам удалось заставить USG принять наш блок IP-адресов. Однако нам пока не удалось настроить DNAT так, чтобы пакеты успешно перенаправлялись на внутренние IP. Надеемся, кто-то сможет подсказать или дать совет. Вот пример нашей конфигурации.
{
"interfaces": {
"ethernet": {
"eth2": {
"address": [
"50.201.x.x/29",
"50.201.x.x/29",
"50.201.x.x/29"
],
"firewall": {
"in": {
"name": "WAN_IN"
},
"local": {
"name": "WAN_LOCAL"
}
}
}
}
},
"service": {
"nat": {
"rule": {
"3001": {
"description": "ARM forward 50.201.x.x to 192.168.x.x",
"destination": {
"address": "50.201.x.x",
"port": "443"
},
"inbound-interface": "eth2",
"inside-address": {
"address": "192.168.x.x"
},
"log": "enable",
"protocol": "tcp",
"type": "destination"
},
"5001": {
"description": "ARM forward 192.168.x.x to 50.201.x.x",
"log": "disable",
"outbound-interface": "eth2",
"outside-address": {
"address": "50.201.x.x",
"port": "443"
},
"protocol": "tcp",
"source": {
"address": "192.168.x.x",
"port": "443"
},
"type": "source"
}
}
}
},
"firewall": {
"name": {
"WAN_IN": {
"rule": {
"3010": {
"action": "accept",
"description": "PortForward [50.201.x.x to 192.168.x.x] on tcp 80,443",
"destination": {
"address": "192.168.x.x",
"port": "443"
},
"log": "enable",
"protocol": "tcp"
}
}
}
}
}
}
{
"interfaces": {
"ethernet": {
"eth2": {
"address": [
"50.201.x.x/29",
"50.201.x.x/29",
"50.201.x.x/29"
],
"firewall": {
"in": {
"name": "WAN_IN"
},
"local": {
"name": "WAN_LOCAL"
}
}
}
}
},
"service": {
"nat": {
"rule": {
"3001": {
"description": "ARM forward 50.201.x.x to 192.168.x.x",
"destination": {
"address": "50.201.x.x",
"port": "443"
},
"inbound-interface": "eth2",
"inside-address": {
"address": "192.168.x.x"
},
"log": "enable",
"protocol": "tcp",
"type": "destination"
},
"5001": {
"description": "ARM forward 192.168.x.x to 50.201.x.x",
"log": "disable",
"outbound-interface": "eth2",
"outside-address": {
"address": "50.201.x.x",
"port": "443"
},
"protocol": "tcp",
"source": {
"address": "192.168.x.x",
"port": "443"
},
"type": "source"
}
}
}
},
"firewall": {
"name": {
"WAN_IN": {
"rule": {
"3010": {
"action": "accept",
"description": "PortForward [50.201.x.x to 192.168.x.x] on tcp 80,443",
"destination": {
"address": "192.168.x.x",
"port": "443"
},
"log": "enable",
"protocol": "tcp"
}
}
}
}
}
}
