sulla riga nat che mi lascia "passare" i dati per l'nvr i contatori vanno avanti ma non mi risponde l'nvr.
""add action=dst-nat chain=dstnat dst-port=82 protocol=tcp to-addresses=192.168.2.252 to-ports=80""
questa la regola nat che ho inserito che in altri apparati funziona
sul modem telecom la porta 82 è nattata verso l'ip della ccr1009
grazie a chiunque mi aiuterà a capire l'errore o cosa mi manca
ho cercato nelle wiki e nei post di altri ma invano
- Codice: Seleziona tutto
/interface bridge
add name=bridge1
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.2.2-192.168.2.200
add name=vpn ranges=192.168.89.2-192.168.89.255
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
/ppp profile
set *FFFFFFFE local-address=192.168.89.1 remote-address=vpn
/interface bridge port
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether6
add bridge=bridge1 interface=ether7
add bridge=bridge1 interface=ether8
add bridge=bridge1 interface=sfp1
add bridge=bridge1 disabled=yes interface=ether2
/interface l2tp-server server
set enabled=yes ipsec-secret=xxxxxxx use-ipsec=yes
/interface list member
add interface=ether1 list=WAN
add interface=bridge1 list=LAN
/interface pptp-server server
set enabled=yes
/interface sstp-server server
set default-profile=default-encryption enabled=yes
/ip address
add address=192.168.0.253/24 interface=ether1 network=192.168.0.0
add address=192.168.2.253/24 interface=bridge1 network=192.168.2.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add dhcp-options=hostname,clientid interface=ether1
/ip dhcp-server network
add address=192.168.2.0/24 gateway=192.168.2.253 netmask=24
/ip dns
set servers=8.8.8.8,192.168.0.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN
add action=masquerade chain=srcnat dst-address=192.168.2.0/24 src-address=192.168.2.0/24
add action=netmap chain=dstnat dst-address=80.22.92.209 to-addresses=192.168.2.252
add action=masquerade chain=srcnat comment="masq. vpn traffic" src-address=192.168.89.0/24
add action=dst-nat chain=dstnat dst-port=82 protocol=tcp to-addresses=192.168.2.252 to-ports=80
add action=netmap chain=dstnat dst-port=8000 protocol=tcp to-addresses=192.168.2.252 to-ports=8000
/ip route
add distance=2 gateway=192.168.0.1