Community discussions

MikroTik App
 
TR34DH34D
just joined
Topic Author
Posts: 1
Joined: Fri Dec 28, 2007 7:38 pm

Remote Monitoring Behind Router Using NAT

Fri Dec 28, 2007 7:42 pm

Hello,

We have The Dude set up using ping to query remote devices that have public IPs....works like a charm. 8)

Now comes the next step...whether it is possible to query or receiving status from devices that are behind a router performing NAT(and a private IP scheme). These devices are APs...and some of them have SNMP functions.

My understanding is that I will need these devices to transmit TRAP information to our server(running The Dude).

I have a couple calls into the manufacture tech support for these APs, but was also wanting to touch base here.

Any linkage to articles that can help decifer how to set up SNMP would be greatly appreciated.

/cheers
 
VTWifiGuy
Frequent Visitor
Frequent Visitor
Posts: 53
Joined: Wed May 23, 2007 10:19 pm

Re: Remote Monitoring Behind Router Using NAT

Fri Dec 28, 2007 9:44 pm

I dont actualy understand how snmp trap notifications work but i think the dude cant use them. when the dude uses snmp it asks for the information then gets it the dude is never just waiting for info out of the blue. Unless you are using the beta with integrated syslog server. Then it can receive syslog info whenever a device decides to send it
 
User avatar
saintofinternet
Forum Veteran
Forum Veteran
Posts: 768
Joined: Thu Oct 15, 2009 3:52 am

Re: Remote Monitoring Behind Router Using NAT

Fri Nov 21, 2014 5:01 am

hi,

any update on how to monitor mikrotik devices behind NAT using Dude?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Remote Monitoring Behind Router Using NAT

Fri Nov 21, 2014 8:14 am

What about to run some kind of tunnel? I use sstp between such devices and network where dude runs and it works.
 
User avatar
saintofinternet
Forum Veteran
Forum Veteran
Posts: 768
Joined: Thu Oct 15, 2009 3:52 am

Re: Remote Monitoring Behind Router Using NAT

Sat Nov 22, 2014 3:48 am

can you please share the SSTP settings on any one of your router behind NAT.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Remote Monitoring Behind Router Using NAT

Sat Nov 22, 2014 6:33 pm

server:

ros code

/ppp profile
add name=sstp use-compression=yes use-encryption=yes use-vj-compression=yes

/ppp secret
add local-address=192.168.222.1 name=client1 password=pass1 profile=sstp remote-address=192.168.222.2 routes=192.168.222.0/30 service=sstp

/interface sstp-server
add name=client1-in user=client1

/interface sstp-server server
set authentication=mschap2 default-profile=sstp enabled=yes keepalive-timeout=10 max-mru=1600 max-mtu=1600 mrru=1600 port=444
+manual route that sends traffic to the clients internal ip trhu the client1-in interface
+firewall rule accepting incoming traffic on port 444.

client:

ros code

/interface sstp-client
add add-default-route=no authentication=mschap2 certificate=none connect-to=*public.ip.address.of.server*:444 dial-on-demand=no disabled=no http-proxy=0.0.0.0:444 keepalive-timeout=10 max-mru=1500 max-mtu=1600 mrru=1600 \
    name=sstp-server password=pass1 profile=default-encryption user=client1 verify-server-address-from-certificate=no verify-server-certificate=no
+manual route that sends traffic to the servers internal network range trhu the sstp-server interface.

names and passwords are fake. There are of course more clients connected to the server side. All of the clients are behind nats.

And the important thing: Clients are 6.18, server is 6.21.1
 
User avatar
saintofinternet
Forum Veteran
Forum Veteran
Posts: 768
Joined: Thu Oct 15, 2009 3:52 am

Re: Remote Monitoring Behind Router Using NAT

Sun Nov 23, 2014 4:34 am

thank you for sharing.... will try it out and see.

Who is online

Users browsing this forum: No registered users and 20 guests