OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: lebidochon on July 20, 2023, 11:31:53 AM

Title: Target/logging to WAN
Post by: lebidochon on July 20, 2023, 11:31:53 AM
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.
Title: Re: Target/logging to WAN
Post by: lebidochon on July 20, 2023, 05:01:03 PM
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.