Target/logging to WAN

Started by lebidochon, July 20, 2023, 11:31:53 AM

Previous topic - Next topic
July 20, 2023, 11:31:53 AM Last Edit: July 20, 2023, 11:45:45 AM by lebidochon
Hello,

OPNsense 23.1.11-amd64

Target/logging :
I want send log (opnsense) to server syslog.
If the server syslog is in LAN of Opnsense (TCP4/TCP4TLS) is OK.
If the server syslog is out of Opnsense (TCP4/TCP4TLS) is NOT OK.

My ip internet is IPV4.

Opnsense don't send log to WAN ? only LAN ?
Sorry for my english ...
Thank.

My question wasn't clear, I'll rephrase it.

Remote Target/logging

PC syslogX (192.168.x.x)-> LAN1 ->Opnsense ->WAN....internet
Opnsense perfectly sends the logs (TCP4 and TCP4TLS) to the syslogX PC.

... -> LAN1 ->Opnsense ->WAN....internet -> PC syslogX (84.5.x.x)
Opnsense does not send logs (TCP4 and TCP4TLS) to the syslogX PC

Test outside Opnsense :
PC Y (192.168.200.x)->... internet ... -> PC syslogX (84.5.x.x)
PC Y perfectly sends the logs (TCP4 and TCP4TLS) to PC syslogX.


Question :
Remote Target/Logging does not send logs to an internet ip ?
Remote Target/Logging sends logs to an ip only from an Opnsense LAN?

The opnsense documentation says nothing about this.

Thanks.