Can cacti connect to devices behind NAT?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
jam1987
Posts: 4
Joined: Mon Aug 10, 2015 3:00 pm

Can cacti connect to devices behind NAT?

Post by jam1987 »

I have a few units I want to monitor and they are behind different NAT routers so all are on a separate networks compared to that of the Cacti server. I know Cacti needs a Hostname but what if the hostname isn't accessible on the same network as the Cacti server, is there a way to configure Cacti to get around that?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Can cacti connect to devices behind NAT?

Post by BSOD2600 »

This isnt a Cacti specific issue, but routing. As long as the cacti server can reach a device via IP, you'll be good. Sounds like you need to look into setting up a port forward or ssh tunnel to the device(s) behind the NAT.
jam1987
Posts: 4
Joined: Mon Aug 10, 2015 3:00 pm

Re: Can cacti connect to devices behind NAT?

Post by jam1987 »

Bugga I was hoping it wouldn't come to that. The devices are out on their own with no public IP's or the ability to use a noip address. Basically they are dumb clients with access to the interent. I was hoping they could contact our public IP where Cacti is running and send data that way not Cacti needing to pull the information from them.

Thanks for the info.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Can cacti connect to devices behind NAT?

Post by BSOD2600 »

Ok, what about the other way around. Have the clients connect via VPN or similar into your Cacti VLAN -- then the cacti server would be able to poll them.
jam1987
Posts: 4
Joined: Mon Aug 10, 2015 3:00 pm

Re: Can cacti connect to devices behind NAT?

Post by jam1987 »

BSOD2600 wrote:Ok, what about the other way around. Have the clients connect via VPN or similar into your Cacti VLAN -- then the cacti server would be able to poll them.
Oh wow I can’t believe I didn't think of that before, thanks for the idea I will give it a go!
Post Reply

Who is online

Users browsing this forum: manel and 1 guest