# Firewall not letting some NAT ports 23 through

**URL:** <https://forums.digi.com/t/firewall-not-letting-some-nat-ports-23-through/16651>\
**Category:** Digi TransPort WR (Series)\
**Tags:** transport, firewall\
**Created:** [April 25, 2016, 3:01pm UTC](https://forums.digi.com/t/firewall-not-letting-some-nat-ports-23-through/16651 "2016-04-25T15:01:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Desmogger](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@Desmogger](https://forums.digi.com/u/Desmogger)\
**Post date:** [April 25, 2016, 3:01pm UTC](https://forums.digi.com/t/firewall-not-letting-some-nat-ports-23-through/16651/1 "2016-04-25T15:01:45Z")

</div>

#Allow outbound FTP traffic  
pass out break end proto ftp from any to any port=ftpcnt flags S!A inspect-state  
#Allow any other outbound traffic and the replies back in  
pass out break end inspect-state  
#Allow incoming IPSEC  
pass break end proto 50  
pass in break end proto udp from any to any port=ike  
pass in break end proto udp from any to any port=4500  
#Allow any traffic within an IPSEC tunnel in both directions  
pass break end oneroute any  
#Allow incoming SSH and SFTP  
pass in break end proto tcp from any to any port=22 flags S!A inspect-state  
#Allow incoming HTTPS  
pass in break end proto tcp from any to any port=443 flags S!A inspect-state  
#Block and log everything else including incoming telnet, http and FTP  
block log break end

---

<div class="post-metadata">

**Author:** ![James.Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James.Wilson](https://forums.digi.com/u/James.Wilson)\
**Post date:** [April 26, 2016, 5:00am UTC](https://forums.digi.com/t/firewall-not-letting-some-nat-ports-23-through/16651/2 "2016-04-26T05:00:18Z")

</div>

Hi

Not sure what you are trying to do as the basic firewall ruleset does not allow Telnet inbound.

it should allow all traffic outbound if this is applied to PPP interface / Wan interface.

if the firewall is enabled on local lan interface nothing would work

regards

James

---

<div class="post-metadata">

**Author:** ![Desmogger](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@Desmogger](https://forums.digi.com/u/Desmogger)\
**Post date:** [April 26, 2016, 9:20am UTC](https://forums.digi.com/t/firewall-not-letting-some-nat-ports-23-through/16651/3 "2016-04-26T09:20:14Z")

</div>

James,

Very Simple connecting to a BAMS 1022 PM2.5 sampler via ethernet port Usually NAT Port 4000 to internal  
192.168.1.113:23

Ports 9881 & 9887 redirect to internal 192.168.1.45 (an 8832 ESC Data Logger which requires port 9881 & 9887 they seem to work.

---

<div class="post-metadata">

**Author:** ![James.Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James.Wilson](https://forums.digi.com/u/James.Wilson)\
**Post date:** [April 27, 2016, 2:35am UTC](https://forums.digi.com/t/firewall-not-letting-some-nat-ports-23-through/16651/4 "2016-04-27T02:35:33Z")

</div>

Hi

With out the full configuration if you are using port forwarding you need to make sure you have NAT enabled with option 2 “IP and Pot Numbers” this is needed to do port number changes.

if you have other port mapping that use the same port number in and out the default nat rul is usally just set to 1 (ip only)

for further help i would need to see a full Debug to see what is happening

regards

James

---

<div class="post-metadata">

**Author:** ![Desmogger](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@Desmogger](https://forums.digi.com/u/Desmogger)\
**Post date:** [November 21, 2018, 8:15am UTC](https://forums.digi.com/t/firewall-not-letting-some-nat-ports-23-through/16651/5 "2018-11-21T08:15:14Z")

</div>

James,  
Thanks how do I send you the debug file? Man I am getting all sorts of GP socket connection from all over the flicking world and it closed down my dang WR41 this morning requiring a reboot again Did it also last weekend. I need firewall help.  
is the file called debug.log?  
Robert

---

<div class="post-metadata">

**Author:** ![James.Wilson](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James.Wilson](https://forums.digi.com/u/James.Wilson)\
**Post date:** [November 21, 2018, 9:48am UTC](https://forums.digi.com/t/firewall-not-letting-some-nat-ports-23-through/16651/6 "2018-11-21T09:48:45Z")

</div>

the devices you are connecting over the internet has this got a fixed IP on the internet?

You should enable the firewall and only allow access to the ports you want

like

pass in break end on ppp 1 from x.x.x.x to addr-ppp1 port 8800 \>\< 8900 \> to 192.168.1.45

if you need further assistance you should contact [tech.support@digi.com](mailto:tech.support@digi.com)
