Setup Cloudflare for Teams (Zero Trust) WireGuard Config with Pfsense – IPv6 and v4 with full speed
Pfsense setup with Cloudflare WARP+/Teams (Zero trust)
Steps before we start config Pfsense:
- Install wireguard package
- Setup Cloudflare configuration in WireGuard VPN – Pfsense
- Create LAN/Opt x with static IPv4 and IPv6 with both Gateways
- Setup DCHP and DCHPv6 with router advertisement
- Setup LAN Rules for IPv6 and IPv4 with Cloudflare gateway
- Setup NAT for IPv6 and IPv4
- Check connection and speed test
Package Manager – Pfsense
First thing is to install WireGuard add-on from the package manager
In pfsense > go to System > package manager > available packages
Install WireGuard by searching for it.
Ones installed head to VPN > wireguard
Create cloudflare tunnel with the information you fetch from the virtual device for cloudflare
Add private key then click on generate button for the public key and save
Next go to the peer tab and and add new peer with the tunnel you just created for cloudflare
- enable the peer
- assign the tunnel you created it
- description as you please
- add endpoint and port
- Keep live: 25
- add public key from the information you fetched.
- Allow IPs
It should be like this:
Click Save and then go to the status to check if cloudflare Teams is connected (handshake).
Congratulations: you have done 20% of the configuration 🙂
Leave a Reply
Want to join the discussion?Feel free to contribute!