# No internet access via Brume2

**URL:** <https://forum.gl-inet.com/t/no-internet-access-via-brume2/31305>\
**Category:** VPN, DNS, Leaks\
**Created:** [July 12, 2023, 7:06am UTC](https://forum.gl-inet.com/t/no-internet-access-via-brume2/31305 "2023-07-12T07:06:35Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![hansome](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/h/b5ac83/32.png) [@hansome](https://forum.gl-inet.com/u/hansome)\
**Post date:** [July 26, 2023, 2:27am UTC](https://forum.gl-inet.com/t/no-internet-access-via-brume2/31305/16 "2023-07-26T02:27:22Z")

</div>

It turns out to enable wireguard server to serve on LAN port, providing Internet access to wireguard client,  
you need to enable LAN masquerading and related forwarding rule, use the following command:

```auto
# enable wireguard server to LAN forwarding
uci set firewall.wgserver2lan=forwarding
uci set firewall.wgserver2lan.src='wgserver'
uci set firewall.wgserver2lan.dest='lan'
uci set firewall.wgserver2lan.enabled='1'

# set LAN masquerading
uci set firewall.@zone[0].masq='1'
uci set firewall.@zone[0].masq6='1'
uci commit firewall
/etc/init.d/firewall reload

```

---

_[View the full topic](https://forum.gl-inet.com/t/no-internet-access-via-brume2/31305)._
