# Firewall Settings for Manually Specified Public Port

**URL:** <https://forums.plex.tv/t/firewall-settings-for-manually-specified-public-port/463624>\
**Category:** Remote Access\
**Tags:** networking\
**Created:** [September 19, 2019, 4:34am UTC](https://forums.plex.tv/t/firewall-settings-for-manually-specified-public-port/463624 "2019-09-19T04:34:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael-Teo](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Michael-Teo](https://forums.plex.tv/u/Michael-Teo)\
**Post date:** [September 19, 2019, 4:34am UTC](https://forums.plex.tv/t/firewall-settings-for-manually-specified-public-port/463624/1 "2019-09-19T04:34:03Z")

</div>

Just a note to the devs or whoever is managing [https://support.plex.tv/articles/200931138-troubleshooting-remote-access/](https://support.plex.tv/articles/200931138-troubleshooting-remote-access/)

When specifying a public port and configuring port forwarding, one still needs to configure the firewall on the device (In my case, Windows 10 VM running on Server 2016) to only allow access through the port (i.e. TCP 32400) to Plex and Plex Services.

It might be cumbersome to set it up in Windows Defender Firewall with Advanced Security.

Could the devs somehow code it into Plex Server to update the firewall when the Manually Specify Public Port is checked?

Got my server breached last night through port 32400 and they made off with some information.

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [September 19, 2019, 5:33am UTC](https://forums.plex.tv/t/firewall-settings-for-manually-specified-public-port/463624/2 "2019-09-19T05:33:35Z")

</div>

The port 32400 is automatically opened during installation of Plex server.

And it won’t change if you define a different public port manually, because the public port is on the gateway/router and not on the server machine.

---

<div class="post-metadata">

**Author:** ![nibbles](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nibbles/32/150497_2.png) [@nibbles](https://forums.plex.tv/u/nibbles)\
**Post date:** [September 19, 2019, 4:31pm UTC](https://forums.plex.tv/t/firewall-settings-for-manually-specified-public-port/463624/3 "2019-09-19T16:31:22Z")

</div>

> [@Michael-Teo](#):
>
> Got my server breached last night through port 32400 and they made off with some information.

I’m sorry to hear that sir. I would not like that to happen to me.

Otto knows a lot about sockets. Is there any way to tell if Plex is using TCP plus `SO_REUSEADDR` so that another application could listen on 32400? Do I even know what that means? 🚸

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 18, 2019, 4:34am UTC](https://forums.plex.tv/t/firewall-settings-for-manually-specified-public-port/463624/4 "2019-12-18T04:34:06Z")

</div>

This topic was automatically closed after 90 days. New replies are no longer allowed.
