OPNsense Forum

English Forums => Virtual private networks => Topic started by: neuling10 on February 04, 2025, 08:46:25 PM

Title: Telegraf Plugin | Communication via Wireguard VPN tunnel fails
Post by: neuling10 on February 04, 2025, 08:46:25 PM
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
Title: Re: Telegraf Plugin | Communication via Wireguard VPN tunnel fails
Post by: neuling10 on February 06, 2025, 05:01:50 PM
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