Jump to content

I have built a NAS running as an FTP server ssh server and a couple other things. I had the server running just how I wanted it to for a while. We have Uverse and our modem/router  was not working so they replaced it with the model 5268ac. I have attempted port forwarding FTP ssh and a HTTP port. I also tried a port on my desktop to see if there was an internal firewall on the server. I have tested and all the ports are open but when i try to connect it responds with connection refused. I would very much so appreciate some help. 

Link to comment
https://linustechtips.com/topic/634449-port-forwarding/
Share on other sites

Link to post
Share on other sites

does your router open the port on all machines or just a specific one? i know that my netgear requires that you set a static local ip first for a machine, then open the port on that specific ip

Altair - Firestrike: http://www.3dmark.com/3dm/13945459

CPU:  i7-4790 @ 3.6 GHz Motherboard: Gigabyte B85M-DS3H-A RAM: 16GB @ 1600MHz CL11 GPU: XFX RX 470 RS Storage: ADATA SP550 240GB | WD Blue 1TB | Toshiba 2TB PSU: EVGA B2 750W Case: Phanteks Enthoo Pro Fans: Phanteks PH-F200SP (Front) | Phanteks PH-F140SP (Rear) | Noctua NF-A15 (Top)

Mouse: Logitech G502 | Keyboard: Corsair K70 MX Brown | Audio: Sennheiser HD 558

Link to comment
https://linustechtips.com/topic/634449-port-forwarding/#findComment-8192538
Share on other sites

Link to post
Share on other sites

11 hours ago, tragiccone56813 said:

I have built a NAS running as an FTP server ssh server and a couple other things. I had the server running just how I wanted it to for a while. We have Uverse and our modem/router  was not working so they replaced it with the model 5268ac. I have attempted port forwarding FTP ssh and a HTTP port. I also tried a port on my desktop to see if there was an internal firewall on the server. I have tested and all the ports are open but when i try to connect it responds with connection refused. I would very much so appreciate some help. 

FTP is an absoulute pain in the bum for port forwarding! There is two different types of FTP there is your bog standard port 21  / 20 (active) and then you have passive FTP which will use port 21 and then a RANDOM port on the server - it may be worth seeing if the router that you have has an inbuilt port forwrding section for commonly used ports and then using that rather than defining your own.

 

Computer Programming Nerd Guy + Computer Support @ Red Tree IT

Link to comment
https://linustechtips.com/topic/634449-port-forwarding/#findComment-8194777
Share on other sites

Link to post
Share on other sites

  • 8 months later...

Hi.  I know this is an old thread but it covers a problem ive been battling.  Port forwarding on the 5268ac gateway.

 

I just moved to Dallas Texas this week and signed up with at&t gigabit fiber.  They use the 5268ac gateway in all of their home installations.  I was having horrible time trying to diagnose and figure out why port forwarding (or what the 5268ac refers to as "pinholes") would only work if I'm outside my lan.  If i were inside the lan and reference my external wan ip (or dns url which directs to external ip) then the port forwarding did not work.  The ports are open though. In other words the 5268ac does not support NAT hairpin/loopback from inside lan.

 

Solution for me is to direct all inbound traffic through the 5268ac to the n66u via dmz+.  The n66u does support NAT loopback (it's also is far more intuitive to configure).   I kept dhcp server on both 5268ac and n66u.  All the reserved dhcp local ip assignments and port forwarding are being done on the n66u.

Locally i can refer to my wan url and depending which port i specify the n66u directs me to the correct internal ip and port.  Problem solved!

 

Locally I can also connect to either the n66u or the 5268ac via their respective wifi or connect to either via Ethernet and access devices/computers on either one.

 

This 5268ac not supporting NAT hairpin is a real booger and it really had me on a wild goose chase thinking i setup my servers wrong or somthing i had configured incorrectly.   I just always took NAT hairpin/loopback feature for granted and never knew a router could be be void of that feature.   Anyway, all is good now.

 

Thanks. 

 

I'm loving my 700+Mbps download and upload speeds now :)

Link to comment
https://linustechtips.com/topic/634449-port-forwarding/#findComment-9722683
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×