Hey guys.

Having a bit of a headache trying to get wireguard working properly through my pfsense router.

Configuration overview: VPS wireguard server set to forward all traffic from peers (it’s operating as a self-hosted VPN). I have a port on my router we’ll call OPT1 that I want to traffic all connections through wireguard to the VPN.

So far I have the VPS and pfsense connected successful through wireguard. They are making active handshakes and I can ping between them perfectly fine.

I followed the documentation, but my windows PC connected directly to OPT1 can’t access the internet. From the PC I can ping the DHCP server of OPT1 as well as the wireguard tunnel, but I can’t ping anything outside of that. I’m passing all traffic from OPT1 subnet to the wireguard interface in both OPT1 firewall rules and the wireguard interface rules.

I’m sure many of you have dealt with this configuration before. Does this issue sound familiar?

  • @just_another_person
    link
    English
    1
    edit-2
    9 months ago

    On the “server” side, you need to allow packets to get forwarded from the wg interface to the “lab” side. Positive there are guides on this. If you enable firewall logs, you’ll see that packets are being discarded until you allow them to be forwarded between interfaces/networks.

    Maybe search for a “hub and spoke” guide, which essentially what you are doing.