Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




2 posts

Wannabe Geek


Topic # 222922 4-Sep-2017 10:02
Send private message quote this post

Hi

 

I am trying to open a port to a box on the intranet. I have got a static ip and I have set port forwarding on the Huawei HG659 router. Nmap only shows the router ports open. When try to access the test webserver it just times out. Is there anything else I need to consider?

 

 

 

 

 

 


Create new topic
1394 posts

Uber Geek
+1 received by user: 159


  Reply # 1857942 4-Sep-2017 10:17
One person supports this post
Send private message quote this post

Machine firewall? Ie check the firewall on your web server.

935 posts

Ultimate Geek
+1 received by user: 179


  Reply # 1858061 4-Sep-2017 12:20
Send private message quote this post

You need to be testing from outside the NAT, if you are trying to access the server using your external IP from inside the NAT it will not work as HG659 does not loopback NAT (which your previous router may have).

 
 
 
 


246 posts

Master Geek
+1 received by user: 103

Subscriber

  Reply # 1858101 4-Sep-2017 13:33
Send private message quote this post

Port forwarding allows an outside machine to talk to an inside machine on the port you have opened.

 

It doesn't affect whether an inside machine can talk to an outside machine on that port. 

 

We may need a little bit more information on what you are trying to do.

 

If after opening the port, the outside machine still can't talk to the inside machine, check if the inside machine is running a firewall, which it should be, and does it allow traffic on the port number through.

 

Edit: Remove already answered question.




2 posts

Wannabe Geek


  Reply # 1858131 4-Sep-2017 13:59
Send private message quote this post

Thanks for all the quick replies. I will try to access from outside the network. Here is some more info:

 

nmap ivo.olu.nz

 

Starting Nmap 6.47 ( http://nmap.org ) at 2017-09-04 13:43 NZST
Nmap scan report for ivo.olu.nz (219.88.233.163)
Host is up (0.0022s latency).
Not shown: 996 filtered ports
PORT STATE SERVICE
53/tcp open domain
80/tcp open http
443/tcp open https
5060/tcp open sip

 

Nmap done: 1 IP address (1 host up) scanned in 5.39 seconds

 

Nmap correctly routes to the external ip address, the open ports belong only to the router. I am looking at port 8001.

 

There is a firewall, but it should be open in the right places, see INPUT rule with -->:

 

Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
fail2ban-ssh2 tcp -- anywhere anywhere multiport dports 2223
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
fail2ban-ssh2 tcp -- anywhere anywhere multiport dports 2223
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
--> ACCEPT tcp -- anywhere anywhere multiport dports ssh,http,2223,8000:http-alt
ACCEPT all -- 192.168.1.0/24 anywhere

 

Chain FORWARD (policy DROP)
target prot opt source destination
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED

 

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

 

 


208 posts

Master Geek
+1 received by user: 39

Trusted
Emergency Management

  Reply # 1858217 4-Sep-2017 15:25
One person supports this post
Send private message quote this post

Have you told the box to accept requests with the FDQN not just the IP?

 

Also whats the platform of the web-server? The more details about the environment the easier it is for us to help. 


935 posts

Ultimate Geek
+1 received by user: 179


  Reply # 1858261 4-Sep-2017 16:14
2 people support this post
Send private message quote this post

As above you are attempting to connect to your outside NAT address 219.88.x.x (your static IP) from your LAN this will not work for port forwarded/virtual servers unless you have set specific traffic forwarding and NAT rules which is not available on the HG659. This may have worked on your previous router if NAT loopback rules were enabled.

 

 

A workaround might be to point the (FQDN) hostname to the 192.168.x.x LAN IP of the server.

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand Ministry of Education chooses Unisys for cloud-based education resourcing management system
Posted 22-Nov-2017 22:00


Business analytics software powers profits for NZ wine producers
Posted 22-Nov-2017 21:52


Pyrios strikes up alliance with Microsoft integrator UC Logiq
Posted 22-Nov-2017 21:51


The New Zealand IT services ecosystem - it's all digital down here
Posted 22-Nov-2017 21:49


Volvo to supply tens of thousands of autonomous drive compatible cars to Uber
Posted 22-Nov-2017 21:46


From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35


WordPress and Indieweb: Take control of your online presence — 6:30 GridAKL Nov 30
Posted 11-Nov-2017 13:43


Chorus reveals technology upgrade for schools, students
Posted 10-Nov-2017 10:28



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.