Good Cloud and Wireguard Server

When using GoodCloud can I use Wireguard to access the LAN of one of the routers to access devices using the site to site that is setup with GoodCloud? It seems like when GoodCloud is enabled, Wireguard does not work.

Thank you for your help!

wireguard and goodcloud can work together.
Are you using cloud platform S2S service? Or did you build it by hand?

@radishman Thank you for your reply!

I am using the GoodCould.xyz to create the S2S and I have the working. If I am on the LAN of one of the routers I can access devices on the S2S. Where I am running into the issue is if I use wirguard server and connect using my phone or PC to a GLinet Router using that method, I cant see any devices on the S2S.

1 Like


So, I understand that in the topology below, PC can be accessed through S2S, but now you can't access PC from phone? If there are any errors, you can also provide the topology diagram


Here you are. This may help.

Thank you for taking the time.

1 Like

It seems that some additional firewall Settings are required. Try to add below firewall rule.

iptables -I FORWARD -i wgserver -o wg1 -j ACCEPT

Also, I would like to know your router model and firmware version.

I tried that line and it didn’t work for me. I have a flint router. I added it to custom rules and restarted

Hi,
Is your device ax1800 flint or mt6000 flint 2? Can you provide the specific name and firmware version of your device?
This will help us locate the problem.

It’s the ax1800 running version 4.6.4
Thank you

@1765
Theoretically, radishman's method can achieve communication between s2s and wireguardserver.

Please describe the problem you encountered and your network environment topology in detail. I will build a special environment for you to reproduce this problem.

My topology is exactly as pascone10 described.
Clients connected to the WireGuard vpn are unable to ping/connect to clients on a good cloud S2S network

Should the line given only be added to custom firewall rules? Is that the correct location ?

@1765

This should work fine. However, you can also try executing this command in the terminal to see if it works.

Maybe it is caused by some specific settings on your router. If you need our help to troubleshoot, you can share your device to gl_support so that we can analyze it.

Hi,

Here is the guide to share the router with us via GoodCloud. Please PM teleney the router MAC address and the login WebUI password when you shared.