Which Wireguard guide to follow?

Started by FyreWall, December 02, 2024, 01:51:01 AM

Previous topic - Next topic
I am trying to set up OPNSense to route all traffic through a vpn via Wireguard.

I created a peer and an instance via this guide https://docs.opnsense.org/manual/how-tos/wireguard-client-proton.html
After enabling Wireguard in step 5 if I look in OPNSense at VPN>Wireguard>Status, I see the instance says up under Status but no handshake while the peer does not say up but shows a handshake.

Not sure what to do next as the guide says to setup Selective routing which Im not sure thats what I need if Im routing all traffic through the vpn.

Thanks for any advice


Maybe more info will help me get a reply.

I want to set up a router on a subnet and route all traffic for devices connected to it, via my Proton Wireguard vpn.
I can set up the instance and peer in Wireguard.
Not sure what to do after that.

Help or a guide would be appreciated.

you need to continue from step 6 as it tells you how to configure the gateway to an external vpn provider.
Up to step 5 all you have is a peer to peer setup. You need next to configure the routing to it. That is from step 6.

Thanks for your reply.

By step 6, do you mean https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html
It seems to repeat setting up the Instance and Peer again from the previous Road Warrior guide?







But has creating an interface and gateway, then more, including routing, no ?

It does but why have a guide that  then links to another guide that repeats setting up the interface and peer?
Its a bit confusing.
I wanted to make sure I was reading it correctly before continuing.

If I want all traffic routed through the vpn, do I have to set up selective routing?

Thanks for your help