OPNsense Forum

English Forums => Virtual private networks => Topic started by: raecer on April 14, 2025, 01:09:16 PM

Title: opnsense wireguard as client issue. site to site config
Post by: raecer on April 14, 2025, 01:09:16 PM
Hi there.

I have had no luck in configuring opnsense wireguard as a client in a site to site config.

I already have a wireguard server at home and i want to set up opnsense wireguard as a client on a separate network.
I get it working as a container on proxmox on the lan side of opnsense easily, but also curious how to get it working
on the opnsense server instead so i could tunnel all vm traffic through it if i want to.

Has anyone tried this and got it working?
Thank you
Title: Re: opnsense wireguard as client issue. site to site config
Post by: patient0 on April 14, 2025, 03:25:50 PM
We would need a bit more information, like a drawing (ASCII or graphic) of how your network layout is.

Proxmox is on OPNsense LAN, where is your Wireguard server?
Title: Re: opnsense wireguard as client issue. site to site config
Post by: raecer on April 14, 2025, 03:47:07 PM
My home network is just a raspberry pi behind a router with a port forward to the pi. The other network is proxmox behind opnsense firewall on the lan side.
Currently i have a working setup where a container on proxmox connects as wireguard client site to site to the pi at home (which acts as the wireguard server). But i can't get it working on opnsense using wireguard for some reason.
Title: Re: opnsense wireguard as client issue. site to site config
Post by: Patrick M. Hausen on April 14, 2025, 03:59:14 PM
We need all details of the configuration you did on OPNsense ...
Title: Re: opnsense wireguard as client issue. site to site config
Post by: patient0 on April 14, 2025, 04:52:40 PM
Quote from: raecer on April 14, 2025, 03:47:07 PMMy home network is just a raspberry pi behind a router with a port forward to the pi. The other network is proxmox behind opnsense firewall on the lan side.
And I would add to what Patrick wrote: how are home network and the OPNsense connected. Really, somed kind of diagram helps.
Title: Re: opnsense wireguard as client issue. site to site config
Post by: raecer on April 15, 2025, 11:07:47 AM
I explained it to chatgpt and got it working via the steps suggested. thank you anyway