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

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
1422 posts

Uber Geek
+1 received by user: 168


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

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

1028 posts

Uber Geek
+1 received by user: 216


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

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).

 
 
 
 


300 posts

Ultimate Geek
+1 received by user: 121

Subscriber

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

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

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

 

 


216 posts

Master Geek
+1 received by user: 41

Trusted
Emergency Management

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

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. 


1028 posts

Uber Geek
+1 received by user: 216


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

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 »

Intel reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26


OPPO announces R11s with claims to be the picture perfect smartphone
Posted 2-Feb-2018 13:28


Vocus Communications wins a place on the TaaS panel
Posted 26-Jan-2018 15:16


SwipedOn raises $1 million capital
Posted 26-Jan-2018 15:15


Slingshot offers unlimited gigabit fibre for under a ton
Posted 25-Jan-2018 13:51


Spark doubles down on wireless broadband
Posted 24-Jan-2018 15:44


New Zealand's IT industry in 2018 and beyond
Posted 22-Jan-2018 12:50


Introducing your new workplace headache: Gen Z
Posted 22-Jan-2018 12:45


Jucy set to introduce electric campervan fleet
Posted 22-Jan-2018 12:41



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.