Страница 1 из 1

NTU-RG-5421G-Wac - проброс портов и DNS

Добавлено: 17 сен 2019 16:34
maxfs2
Добрый день.

Возможно ли через acs задать на ОНУ NTU-RG-5421G-Wac чтобы клиенты за NAT получали DNS провайдера, а не адрес роутера (192.168.1.1).
И как через acs задавать проброс портов.

ОЛТ: LTP-4X:rev.C software version 3.36.0 build 821
ONU: NTU-RG-5421G-Wac 1.1.0.10443

Re: NTU-RG-5421G-Wac - проброс портов и DNS

Добавлено: 18 сен 2019 19:28
maxfs2
Отвечу сам себе по пробросу портов на примере ftp:

set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.ExternalPort" "21" nocheck
set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.InternalClient" "192.168.1.11" nocheck
set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.InternalPort" "21" nocheck
set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingDescription" "tftp" nocheck
set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingEnabled" "1" nocheck
set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingProtocol" "TCP" nocheck
set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.RemoteHost" "0.0.0.0" nocheck
set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.X_ELTEX_RU_ExternalPortEnd" "21" nocheck
set property "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.X_ELTEX_RU_InternalPortEnd" "21" nocheck

Re: NTU-RG-5421G-Wac - проброс портов и DNS

Добавлено: 18 сен 2019 20:18
maxfs2
Для того чтобы клиентs за NAT'ом ONU получали DNS провайдера в profile надо добавить:
set property "InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.DNSServers" "8.8.8.8,8.8.4.4" nocheck