problem with proxy pass

Reinis Rozitis r at roze.lv
Wed Mar 4 11:16:33 UTC 2020


> Hi.
> Here the result from tcpdump:
> from inside my network
> 192.168.1.10.60221 > 192.168.1.3.fujitsu-dtcns: UDP, length 107
> 192.168.1.3.fujitsu-dtcns > 192.168.1.10.60221: UDP, length 85
> 
> From all agenst fro outside my network:
> any.public.ip.address.56916 > 151.1.210.45.fujitsu-dtcns: UDP, length 298
>
>
> There the info form client inside my network:
> 2020/03/04 09:12:52 ossec-agentd: WARNING: (4101): Waiting for server reply (not started). Tried: '192.168.1.3.
> 2020/03/04 09:13:03 ossec-agentd: INFO: Trying to connect to server (192.168.1.3:1514/udp).

Is there a third interface on the centos box with 151.1.210.45 ip?
Is it being NATed to the 192.168.x address?

>From the provided tcpdump it's a bit unclear which case does work and which doesn't? 
As with the 192.168.x the server seems to send the response while the "outside" doesn't or you just left it out?


Anyways this doesn't seem to be nginx related and you might want to look up on the product support/docs:

https://www.ossec.net/docs/faq/unexpected.html#agent-won-t-connect-to-the-manager-or-the-agent-always-shows-never-connected

Or maybe this helps: https://unix.stackexchange.com/a/154928

rr



More information about the nginx mailing list