Community discussions

MikroTik App
 
ke6hpz
newbie
Topic Author
Posts: 38
Joined: Tue May 13, 2008 8:16 pm

port mapping SNMP inside address for Dude

Sat Jul 26, 2014 8:18 pm

I have Dude on an public address, and I have created a SNMP rule in dude profile of Paradise SU SNMP community: Public123 version 1 port 5163. So on my mikrotik GW hotspot, I have created a port map to an UBNT Rocket M5 on the inside of the network:

/Ip firewall nat
add action=dst-nat chain=dstnat comment="Paradise SU SNMP port map" dst-address=xx.xx.39.46 dst-port=5163 protocol=udp to-addresses=10.200.1.4 to-ports=161

and

add action=dst-nat chain=dstnat comment="Paradice SU" dst-address=xx.xx.39.46 dst-port=4003 protocol=tcp src-address-list="access list" to-addresses=10.200.1.4 to-ports=2048

So I can login to the radio thru the port map and that works fine, but when I do an SNMP walk, it is pulling SNMP info from the mikrotik gateway hotspot, instead of the radio that is inside.

Anyone have a clue how to fix this, to direct the snmp query to the radio and not to the mikrotik gw on xx.xx.39.46

Thanks
 
User avatar
leoservices
Trainer
Trainer
Posts: 169
Joined: Fri Jan 13, 2012 2:20 am
Location: Belo Horizonte - MG - Brazil
Contact:

Re: port mapping SNMP inside address for Dude

Thu Aug 07, 2014 4:34 am

Hello,

the ideal is a routed network where the dude reaches each radio IP without NAT. Do not know if this way you will get success did

Who is online

Users browsing this forum: No registered users and 17 guests