Telegraf Plugin | Communication via Wireguard VPN tunnel fails

Started by neuling10, February 04, 2025, 08:46:25 PM

Previous topic - Next topic
Hello everyone,

I have a Wireguard VPN site to site tunnel between 2 Opnsense firewalls. In the network on Site A is a host with an InfluxDB.

The Opnsense on Site A sends data into the InfluxDB using the Telegraf plugin. Unfortunately, the Opnsense on Site B cannot reach the InfluxDB, although the FW rule between Opnsense on Site B and InfluxDB on Site A is set to Allow any. As a layman, I have no idea why this is failing or what I could try to establish communication. Perhaps something needs to be set in the routing tables? Or in the Wireguard peer settings?

I am grateful for any tips :-)

Regards
neuling10

Hi,

I have found the solution. I had to add the following FW-rule:
TCP/UDP from source Wireguard transfernet on site B to target InfluxDB host on site A