# Samba and NetBIOS

**URL:** <https://forum.gl-inet.com/t/samba-and-netbios/68736>\
**Category:** Feedback\
**Created:** [May 15, 2026, 8:53am UTC](https://forum.gl-inet.com/t/samba-and-netbios/68736 "2026-05-15T08:53:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thoughtcrimes](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/t/839c29/32.png) [@thoughtcrimes](https://forum.gl-inet.com/u/thoughtcrimes)\
**Post date:** [May 15, 2026, 8:53am UTC](https://forum.gl-inet.com/t/samba-and-netbios/68736/1 "2026-05-15T08:53:21Z")

</div>

Turns out that Samba and activating the possibility to connect to it from the WAN in the router opens port UDP 137. I got an email form my ISP telling me my connection could be put in quarantine if I didn’t resolve the issue. I also found this topic on the forum [Stop nmbd (i.e. ports 137/138)](https://forum.gl-inet.com/t/stop-nmbd-i-e-ports-137-138/65693)

Shouldn’t it be wiser to comment out the `netbios` daemon in the start script of `samba4?`

This in order to prevent such issues happening to new users in the future who don’t have a deep understanding of networking but do like to tinker

---

<div class="post-metadata">

**Author:** ![will.qiu](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/w/b38774/32.png) [@will.qiu](https://forum.gl-inet.com/u/will.qiu)\
**Post date:** [May 21, 2026, 3:54am UTC](https://forum.gl-inet.com/t/samba-and-netbios/68736/2 "2026-05-21T03:54:16Z")

</div>

Hi,

Sorry for the delayed reply.

We strongly recommend using “Allow Access Samba from WAN” only within a trusted, private WAN environment — for example, when our device is placed behind another router within a home network as a secondary router.

If you need remote access to Samba, we strongly recommend using a VPN rather than exposing Samba directly to the internet.  
You can follow our guide on [Setting up a WireGuard Home Server](https://docs.gl-inet.com/router/en/4/tutorials/build_your_own_wireguard_home_server_with_two_glinet_routers/) to bridge safely into your local network.

That said, we will discuss this with the product team and see how this can be improved — for example, whether there could be a more convenient way to disable NetBIOS.
