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.


sarahfoxnz

148 posts

Master Geek
+1 received by user: 6


#223121 13-Sep-2017 20:31
Send private message

https://www.spark.co.nz/help/internet-data/equipment/huawei/hg630b-gateway/port-forwarding-on-the-huawei-hg630b/

 

 

 

Hello. Can someone clarify if port Forwarding is the thing i am actually interested in utilising. I am looking at the above help file on the SPARK website, but im totally confused.

 

Their help files use gobbly-gook terminology, & has no examples. 

 

 

 

Basically, ive got some information i want to share with someone - to allow them to help with a website project. but i do not want to upload it to a www / public website.

 

I'll want to advise them my IP address & when they're online, they'll get access to my localhost / Home PC website. (i'll put a password on it also)..  they can then view my file, & advise any changes.. 

 

When i'm finished - I'll put my website info on a www / public host..  

 

i'm good at designing websites etc, but the modem help files assume the person already knows technical things in advance.

 

 

 

Can someone give a practical example on how to use port forwarding. Or is there another page i should look at ?

 

 

 

 

 

Thank you.

 

 

 

 


Create new topic
Spyware
3818 posts

Uber Geek
+1 received by user: 1366

Lifetime subscriber

  #1864753 13-Sep-2017 20:42
Send private message

The only two things you need to know are the IP address and port number on which your web server listens (and only you could know this). No more or less complicated and couldn't be easier.





Spark Max Fibre using Mikrotik CCR1009-8G-1S-1S+, CRS125-24G-1S, Unifi UAP, U6-Pro, UAP-AC-M-Pro, Apple TV 4K (2022), Apple TV 4K (2017), iPad Air 1st gen, iPad Air 4th gen, iPhone 13, SkyNZ3151 (the white box). If it doesn't move then it's data cabled.




sarahfoxnz

148 posts

Master Geek
+1 received by user: 6


  #1864770 13-Sep-2017 21:08
Send private message

Spyware:

 

The only two things you need to know are the IP address and port number on which your web server listens (and only you could know this). No more or less complicated and couldn't be easier.

 

 


Ive been to https://www.whatismyip.com/  and i have confirmed that my site listens on port 80. http://localhost:80  - works fine.

 

 

 

however, if i put my IP address in   IPNUMBER:80  - i get the admin (login) screen of my modem. 


Jase2985
13730 posts

Uber Geek
+1 received by user: 6202

ID Verified
Lifetime subscriber

  #1864772 13-Sep-2017 21:12
Send private message

do you have a CG-NAT IP address?




sarahfoxnz

148 posts

Master Geek
+1 received by user: 6


  #1864774 13-Sep-2017 21:15
Send private message

Jase2985:

 

do you have a CG-NAT IP address?

 

 

 

 

Dont think so (dont know so apparently not) . Spark Fibre.

 

  

 

but i dont need it to be a long-term / permanent IP - it can change daily / whenever i log in. 


RunningMan
9184 posts

Uber Geek
+1 received by user: 4834


  #1864775 13-Sep-2017 21:16
Send private message

You need to put in the internal IP of your server, not the external IP. You tell the other party the external IP.


sarahfoxnz

148 posts

Master Geek
+1 received by user: 6


  #1864798 13-Sep-2017 22:05
Send private message

RunningMan:

 

You need to put in the internal IP of your server, not the external IP. You tell the other party the external IP.

 

 

 

 

If i put my internal Ip - i can see my IP fine,  But the other person will see THEIR computer (or an error if they dont have a server on their Pc.)

 

 

 

The other person is not in the same country as i am. Not my home network.

 

 

 

http://www.whatismypublicip.com/ - if i put in my external IP - i see the admin screen of my wifi modem (not my PC)..

 

 

 

 


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
lxsw20
3689 posts

Uber Geek
+1 received by user: 2174

Subscriber

  #1864801 13-Sep-2017 22:16
Send private message

Why not just save yourself the trouble and use something like teamviewer?


sarahfoxnz

148 posts

Master Geek
+1 received by user: 6


  #1864802 13-Sep-2017 22:18
Send private message

I d/loaded & installed a service from ddns.net (creates a static IP & apparently a user can use a static ip & get my PC).

 


However, I still get the admin screen for my router. Not my PC.  

 


(frustrating...)    


sarahfoxnz

148 posts

Master Geek
+1 received by user: 6


  #1864805 13-Sep-2017 22:21
Send private message

lxsw20:

 

Why not just save yourself the trouble and use something like teamviewer?

 

 


i may try that, but  I want to do other things  while they're logged off / logging in.  I dont want to manually be online while they log in.

 

 

 

(I see from other threads that spark modems are mediocre & not as useful as they appear)....

 

 


lxsw20
3689 posts

Uber Geek
+1 received by user: 2174

Subscriber

  #1864807 13-Sep-2017 22:27
Send private message

You can't test from inside your own network, that's not how routing works. If you want to test it then disconnect from your home network and use your phone as a hotspot to test. You should just have to type in your external IP. I had a feeling the Spark routers couldn't forward port 80, so maybe try put it on a different port (which you would then have to specify in the browser) .


Spyware
3818 posts

Uber Geek
+1 received by user: 1366

Lifetime subscriber

  #1864885 14-Sep-2017 07:10
Send private message

I think Huawei does warn if it can't forward a port, try mapping say 8080 external to 80 internal. Firewall on computer may block inbound connections so may need to add a rule. Also if web service is bound to localhost, 127.0.0.1, only then would not be accessible on any other machine on network.





Spark Max Fibre using Mikrotik CCR1009-8G-1S-1S+, CRS125-24G-1S, Unifi UAP, U6-Pro, UAP-AC-M-Pro, Apple TV 4K (2022), Apple TV 4K (2017), iPad Air 1st gen, iPad Air 4th gen, iPhone 13, SkyNZ3151 (the white box). If it doesn't move then it's data cabled.


 
 
 
 

Shop now for Dell laptops and other devices (affiliate link).
1101
3141 posts

Uber Geek
+1 received by user: 1143


  #1864987 14-Sep-2017 09:30
Send private message

sarahfoxnz:

 

I d/loaded & installed a service from ddns.net (creates a static IP & apparently a user can use a static ip & get my PC). 

 

 

just dont, please :-)

 

1) get a static (internet side) IP , from the ISP .
2) give the PC a static (local) IP
open required ports in that PC's firewall .
Then port forward , google how to for that router

 

some ISP supplied routers do have weird issues with port forwarding
you may also have a port conflict , ie the router is using the port you want

 

 

 

 


sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1864993 14-Sep-2017 09:39
Send private message

You can't access your webserver using your external IP because the router won't support hairpin NAT.

 

I'd also strongly recommend against running any form of webserver on a machine at home. Your machine will very quickly be the target of bots and will be subjected to lots of traffic from these.

 

 


robfish
693 posts

Ultimate Geek
+1 received by user: 156

Lifetime subscriber

  #1865102 14-Sep-2017 10:55
Send private message

I think the OP needs to back up a bit and gain a better understanding of what he want to achieve.

 

Google is usually your best friend to find out more about IT stuff.

 

I found this which may help

 

http://www.steves-internet-guide.com/understanding-port-forwarding/

 

 





Rob

Create new topic








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.