# S2s and WireGuard Server

**URL:** <https://forum.gl-inet.com/t/s2s-and-wireguard-server/21960>\
**Category:** Cloud Services\
**Created:** [May 26, 2022, 8:26pm UTC](https://forum.gl-inet.com/t/s2s-and-wireguard-server/21960 "2022-05-26T20:26:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![butterfry](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/butterfry/32/6764_2.png) [@butterfry](https://forum.gl-inet.com/u/butterfry)\
**Post date:** [May 26, 2022, 8:26pm UTC](https://forum.gl-inet.com/t/s2s-and-wireguard-server/21960/1 "2022-05-26T20:26:23Z")

</div>

I’d like to allow access to clients on the WireGuard server interface (wg0) to the glS2S networks. I see we have /var/etc/gls2s.include which has the firewall includes. Is there a known config to add the wg0 (wg server) interface to allow wg0 \> wg1 (s2s) traffic? will that overwrite if the s2s ever gets reconfigured? Is there a better way to add another include that won’t get overwritten?

---

<div class="post-metadata">

**Author:** ![alzhao](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@alzhao](https://forum.gl-inet.com/u/alzhao)\
**Post date:** [May 27, 2022, 4:35am UTC](https://forum.gl-inet.com/t/s2s-and-wireguard-server/21960/2 "2022-05-27T04:35:46Z")

</div>

You can add customer firewall rules. Do that in luci-\>network-\>firewall

---

<div class="post-metadata">

**Author:** ![butterfry](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/butterfry/32/6764_2.png) [@butterfry](https://forum.gl-inet.com/u/butterfry)\
**Post date:** [May 27, 2022, 6:12am UTC](https://forum.gl-inet.com/t/s2s-and-wireguard-server/21960/3 "2022-05-27T06:12:37Z")

</div>

As I’m sure you are aware s2s doesn’t show up as a selection in luci’s ui. Hence me digging around in the shell.

UPDATE: Found it. Leaving this here for posterity.  
**To route from Wireguard or any VPN’d client to the Goodcloud routed networks**

Open _Luci navigate to Network \> Firewall \> General \> LAN \> Edit \> Advanced Settings \> Covered devices \> Choose your correct s2s device_

 ![image](https://forum-static.gl-inet.com/original/2X/0/014ef8f211b1d634f10f8fda572c5e5b93271f45.png)

I’m not sure if ‘wg1’ is always the s2s interface, but it is on all my routers. Probably depends on the order you set things up in(?).

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 11:34am UTC](https://forum.gl-inet.com/t/s2s-and-wireguard-server/21960/4 "2025-10-29T11:34:42Z")

</div>


