Ad Widget

Collapse

Zabbix - host connection rejected, different subnet, two routers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rybanapet
    Junior Member
    • Mar 2020
    • 3

    #1

    Zabbix - host connection rejected, different subnet, two routers

    Good evening,

    I have a problem with Zabbix hosts on different subnet. I have Zabbix server: 192.168.51.22, subnet 51.0/24. Hosts on this subnet working normally, but when I try to add host on different subnet, for example 192.168.1.225/20 (Windows Server) it is not working. ZBX icon is red with "Get value from agent failed: ZBX_TCP_READ() failed: [104] Connection reset by peer.
    Zabbix agent log: failed to accept an incoming connection: connection from "10.10.10.6" rejected, allowed hosts: "192.168.51.222"
    But IP 10.10.10.6 is used to connect Router A and Router B (10.10.10.4/30 network)

    Zbx server 51.222 -> Router A 10.10.10.6 -> Router B 10.10.10.5 -> 192.168.1.225 (Win Server)

    I hope it is understandable.

    Thank you for your help!
    Last edited by rybanapet; 27-03-2020, 23:24.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    "Router A" (or perhaps "Router B") is doing something much more than just routing packets. Are you sure it's not doing NAT or something else, for connections? One of them seems to be rewriting TCP packets.

    Comment

    • rybanapet
      Junior Member
      • Mar 2020
      • 3

      #3
      YES! It was wrong configuration with SRCNAT. Thank you !!

      Comment

      Working...