Welcome to Sky User - The unofficial support forum for everything Sky! - Now helping over 42,000 members.

See less ads - Join SkyUser today

How to set up port forwarding to an internal web server

This is a discussion on How to set up port forwarding to an internal web server within the Sky Broadband Tutorial section forums, part of the Sky Broadband help and support category; Version 1.0 There have been many users stating incorrectly that port forwarding doesn't work on the Sky router, so I ...

Reply
  LinkBack (4) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1  
Old 05-04-07, 08:31 PM
mossywell's Avatar
Sky User Member
Exchange: LSMEPK
Broadband ISP: Max
Router:
Sky TV:
 
Join Date: Sep 2006
Location: London, UK
Posts: 789
Thanks: 0
Thanked 14 Times in 9 Posts
How to set up port forwarding to an internal web server

Version 1.0

There have been many users stating incorrectly that port forwarding doesn't work on the Sky router, so I decided to write a click-by-click guide on how to set up port forwarding to allow a web server that is running on the internal network to be accessible from the Internet. This guide does not explain how to set up the web server - it assumes that you already know how to do this. The whole lot takes about 30 seconds (well, testing adds a few minutes more). I'd like to thank isu for trying out these instructions to prove that, yes, it really does work after all.


Beware: when publishing an internal web server to the Internet, the bandwidth that users will experience will be limited to the upload, not download, speed. Also, you might want to ensure that you don't fall foul of the fair usage policy by running a high-usage web site!


A few assumptions to start with.
  1. The only Internet connection you have is via the Sky router. If you have, for example, multiple Internet connections, or some clever internal routing between routers, then your port forwarding may not (probably won't) work.
  2. The router is fresh out of the box or has been reset back to factory defaults. In addition, it is running the Sky firmware.
  3. The internal IP address of the web server is 192.168.0.2 and your router is 192.168.0.1.
  4. The web server is not using host headers (that is, it can be accessed via its IP address). If this assumption is meaningless to you, worry not: we'll test this in the first stage anyway!
  5. The web server is using the default HTTP port: TCP port 80.
  6. There are no local firewalls (including Windows firewall) running on the web server. If there is: stop it! It can be switched back on later, but for now, let's just get it working without the server's firewall.
Note: The instructions work with or without uPNP. Also, it is for web servers only. (OK, it can be adapted for any TCP or UDP port, but I'm strictly sticking to a web server in this guide lest it becomes over-complicated.)

Here goes...
  1. Check that the web server is accessible internally by pointing a browser at it's internal (NOT external) address: http://192.168.0.2. If that doesn't work, fix the web server before continuing.
  2. Log into the web interface of the firewall (the "admin", "sky" one).
  3. On the main page, under the "ADSL Port" section, make a note of the "IP Address". You'll need this later for testing.
  4. Click "Firewall Rules" on the left.
  5. Under "Inbound Services" click the "Add" button.
  6. Change the Service to "HTTP(TCP:80)".
  7. Leave the action as "ALLOW always".
  8. In "Send to LAN Server" enter the IP address of the web server: 192.168.0.2, using the tab key (not the full stop) to move between each part of the IP address.
  9. Leave all the other fields as they are.
  10. Click the "Apply" button.
  11. On the next screen, click the "Apply" button (the one next to the "Cancel" button).

Testing that it works...
  1. On a PC that is on the Internet (i.e. NOT one on the same network as the web server) such as at an Internet cafe, fire up a web browser and point it to the public IP address of your Internet connection. This is the IP address that you made a note of in stage 3 above. For example, if the address you made a note of is 199.1.2.3, from the Internet cafe, you'd enter http://199.1.2.3 into the web browser.
  2. If you've followed the instruction to the letter, the web page should appear and you have port forwarding working.

All that remains is:
  1. Switch the firewall on the server back on (assuming there was one in the first place and you still want to run it). Test again. If it breaks, fix the web server's firewall.
  2. Get the router's WAN IP address into a dynamic DNS service such as Dynamic Network Services, Inc. -- DynDNS -- Welcome. The "how to" do this is outside the scope of this guide.
__________________
IQ album "Dark Matter" artwork reproduced with permission. See www.gep.co.uk/iq for more information.

Last edited by mossywell; 30-05-07 at 09:33 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #2  
Old 05-04-07, 11:04 PM
topct4's Avatar
Sky User Member
Exchange: intake
Broadband ISP: Max
Router:
Sky TV:
 
Join Date: Mar 2007
Location: sheffield
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How to set up port forwarding to an internal web server

this guide is great i followed it excatly and it does work for me

ty
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #3  
Old 06-04-07, 09:52 AM
Keiran2K8's Avatar
Skyuser Serial Spammer
Exchange: Redditch
Broadband ISP: Max & VM VIP-85 & Be* Pro
Router: Sagem F@ST 2504
Sky TV:
 
Join Date: Oct 2006
Location: Redditch, WestMidlands, England, UK
Posts: 3,763
Blog Entries: 3
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Keiran2K8 Send a message via Skype™ to Keiran2K8
Re: How to set up port forwarding to an internal web server

Nice guide mate, Explains the confusion over External & Internal IP use of WebServers perfectly!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #4  
Old 07-04-07, 10:26 PM
mossywell's Avatar
Sky User Member
Exchange: LSMEPK
Broadband ISP: Max
Router:
Sky TV:
 
Join Date: Sep 2006
Location: London, UK
Posts: 789
Thanks: 0
Thanked 14 Times in 9 Posts
Re: How to set up port forwarding to an internal web server

Non-web server post moved to new thread here: Port forwarding to counterstrike server
__________________
IQ album "Dark Matter" artwork reproduced with permission. See www.gep.co.uk/iq for more information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #5  
Old 07-05-07, 11:28 AM
Andromedan's Avatar
Sky User Member
Exchange: Stockport Central
Broadband ISP: Max
Router:
Sky TV:
 
Join Date: May 2007
Location: Stockport, Manchester
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Andromedan Send a message via MSN to Andromedan
Exclamation Re: How to set up port forwarding to an internal web server

Hey dudes, i did this, & it will not work.... The Connection is just timing out every time, no matter what i do, it only works from internal network computers on an internal IP address.

FTP is blocked as well, even though i have defined the rules in the router's firewall.....

Can anyone help with this?

Cheers.

EDIT: I got it sorted, was a DNS problem!

Last edited by Andromedan; 08-05-07 at 12:56 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #6  
Old 12-05-07, 01:31 PM
mossywell's Avatar
Sky User Member
Exchange: LSMEPK
Broadband ISP: Max
Router:
Sky TV:
 
Join Date: Sep 2006
Location: London, UK
Posts: 789
Thanks: 0
Thanked 14 Times in 9 Posts
Re: How to set up port forwarding to an internal web server

That's why it is best to get everything working on the IP address first, before trying the name. DNS can cloud the issues.
__________________
IQ album "Dark Matter" artwork reproduced with permission. See www.gep.co.uk/iq for more information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #7  
Old 13-05-07, 08:41 PM
mossywell's Avatar
Sky User Member
Exchange: LSMEPK
Broadband ISP: Max
Router:
Sky TV:
 
Join Date: Sep 2006
Location: London, UK
Posts: 789
Thanks: 0
Thanked 14 Times in 9 Posts
Re: How to set up port forwarding to an internal web server

Question about mailbox in Poland and OE moved here: Outlook Express Settings
__________________
IQ album "Dark Matter" artwork reproduced with permission. See www.gep.co.uk/iq for more information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #8  
Old 25-07-07, 09:59 PM
duncanwatts01's Avatar
Sky User Member
Exchange: 02086789243
Broadband ISP: Mid
Router:
Sky TV:
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How to set up port forwarding to an internal web server

dsafds

Last edited by duncanwatts01; 26-07-07 at 09:36 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #9  
Old 29-07-07, 05:27 PM
david-stone's Avatar
Sky User Member
Exchange:
Broadband ISP: Connect
Router:
Sky TV:
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Re: How to set up port forwarding to an internal web server

hi - i'm really struggling to get this working!

i have followed the above instructions and configured my router firewall to allow inbound services on http(80) and to forward them on to my pc (webserver) (in this case 192.168.0.2)

i am running IIS on XP and have a test website set up. i have also disabled the windows firewall for the time being.

testing my website internally:

locally on my pc (webserver) i can type 'http://192.168.0.2/websetup1/test.htm' into a browser and sure enough i get my test page.

however if i type in 'http://90.202.102.171/websetup1/test/htm' (90.202.102.171 in this case is my router's current ip) then i get a 404 page not found. (this test was done from my webserver NOT in an external internet cafe as suggested - this only thing i haven't followed from the instruction is the external testing but i did not think this would matter??)

any help here would be greatly appreciated.

many thanks in advance.

dave.


(n.b i have the standard sky netgear dg834gt)


Just reading through the instructions again the line....

"Check that the web server is accessible internally by pointing a browser at it's internal (NOT external) address: http://192.168.0.2. If that doesn't work, fix the web server before continuing."

doing this i get the familiar logon box asking for a user name and password (the same as you would get for the router "admin"/"sky" password box. Does this suggest i may have iis configured correctly? Although, http://192.168.0.2/websetup1.test.htm DOES work. Not sure if this is relevant - just trying to give as much info as possible in the hope someone can help me out here - cheers!

Last edited by david-stone; 29-07-07 at 05:33 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
  #10  
Old 29-07-07, 06:12 PM
david-stone's Avatar
Sky User Member
Exchange:
Broadband ISP: Connect
Router:
Sky TV:
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Re: How to set up port forwarding to an internal web server

ahah!!

scratch the above - i've sussed it.

for anyone reading and who may fall into the same trap i hope the following helps......

read my line "......(this test was done from my webserver NOT in an external internet cafe as suggested - this only thing i haven't followed from the instruction is the external testing but i did not think this would matter??)

well it turns out that it does matter!! i cant think why - some dns wizardry which i would love to understand. The point is though, internallly and externally

'http://90.202.102.171/websetup1/test.htm'

will behave differently. i found this out when i used my dial-up and everything worked.

i hope this will save someone else some time.

cheers,

dave.

Last edited by david-stone; 30-07-07 at 08:55 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!
Reply With Quote
The Following User Says Thank You to david-stone For This Useful Post:
WRH2005 (12-09-09)
Reply

Tags
forwarding, internal, port, server, set, web

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.skyuser.co.uk/forum/sky-broadband-tutorial-section/10975-how-set-up-port-forwarding-internal-web-server.html
Posted By For Type Date
sagem sky router - Page 4 | BoardReader This thread Refback 08-07-08 07:44 PM
sagem 2504 - Page 2 | BoardReader This thread Refback 28-06-08 12:29 AM
tivoweb and sky broadband - TiVo Community & Store This thread Refback 16-10-07 03:57 AM
tivoweb and sky broadband - TiVo Community & Store This thread Refback 10-08-07 01:09 PM


All times are GMT. The time now is 08:40 PM.