-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wg-quick up fails on UXG-PRO : unable to initialize table 'raw' #122
Comments
Hi @sirLeone, Please see the troubleshooting section in the Wiki. Specifically the question: wg-quick up returns error "unable to initialize table 'raw'
If you do not want to use that workaround, you can also load the external module instead of using Ubiquiti's built-in wireguard module by setting One question though, are you using wireguard as a server or client on the UXG? If using as a server, why are you using 0.0.0.0/0 and ::/0 for client peers? Shouldn't you be setting the correct subnets for each peer instead, or how will WireGuard know how to route which subnet to which Peer if all subnets go to both peers? |
Hi @peacey UXG is my home router and i would like to connect to my home lab from the internet. Second peer is for my wife' phone. I would like to have access to my lab and use my home internet connection while i am on vacations. Assuming this scenario am I wrong with provided config using 0.0.0.0/1 ? |
@sirLeone, your configuration is not right for your use case. You should be using the /32 wireguard client IP for each client in the AllowedIPs section for that peer on your router's wireguard config. You have two peers, each of them have their own unique IP assigned in their wireguard config Address section, right? Say Peer 1 has IP 10.0.3.2/32 and Peer 2 has IP 10.0.3.3/32. Your router's wireguard config peer section should be like this [Peer]
PublicKey = PUB_KEY1
AllowedIPs = 10.0.3.2/32
[Peer]
PublicKey = PUB_KEY2
AllowedIPs = 10.0.3.3/32 If you also assigned IPv6 addresses to your peer, you should also add them of course (as /128). |
Package version
1.0.20211208
Firmware version
Device
UniFi UXG-PRO
Issue description
I cannot start wireguard with following command :
wg-quick up /etc/wireguard/wg0.conf
My wg0.conf file is like here :
Configuration and log output
The text was updated successfully, but these errors were encountered: