Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Windows Live question.

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion

Redirect Website...
Reply
 
Thread Tools
Old 07-07-2010, 20:52   #1
LSainsbury
Guest
 
Location: Near Hungerford, West Berkshire
Services: TV: Sky HD, Landline: BT, Mobile: Orange, Internet: Quite Slow!
Posts: n/a
Question Redirect Website...

Hi,

I've got a domain name without any webhosting.

I have a NAS device capable of being a webserver.

What's the best was to make this available?

Do I - point my NS record to the static public IP of the device - or do I keep the 192.168.x.x address and then point the NS record to the firewall and have that redirect to the internal IP?

My firewall has a second WAN port where I can setup a DMZ I think.

So which way is best for security?
  Reply With Quote
Advertisement
Old 07-07-2010, 21:04   #2
Kymmy
Inactive
 
Join Date: Dec 2007
Posts: 18,385
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: Redirect Website...

When you say NS record are you talking about the nameserver IP or the A record??

Either way is this going to be a public website or a private site? If private consider using a non-standard port.

The NAS won't have a public IP unless you have multiple IP's via your ISP. If this is the case then you can use the public IP no problem unless you use the NAS internally then best to use the LAN IP with a port forward..
Kymmy is offline   Reply With Quote
Old 07-07-2010, 21:07   #3
LSainsbury
Guest
 
Location: Near Hungerford, West Berkshire
Services: TV: Sky HD, Landline: BT, Mobile: Orange, Internet: Quite Slow!
Posts: n/a
Re: Redirect Website...

A Record.

It's (hopefully) public site....

I have multiple IPs from my ISP. I want to use the NAS drive internaly as well as having a public site on it.

What do I port forward? UDP / 25? TCP 25?
  Reply With Quote
Old 07-07-2010, 21:10   #4
Kymmy
Inactive
 
Join Date: Dec 2007
Posts: 18,385
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: Redirect Website...

You forward whichever port the NAS is set up for (remember the external port can be different from the internal port and also why are you wanting to forward the SMTP port???)
Kymmy is offline   Reply With Quote
Old 07-07-2010, 21:11   #5
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: IDNet FTTP (1000M), Sky Q TV, Sky Mobile, Flextel SIP
Posts: 30,321
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: Redirect Website...

Port 25 is SMTP, what is it you want to forward ?
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old 07-07-2010, 21:17   #6
LSainsbury
Guest
 
Location: Near Hungerford, West Berkshire
Services: TV: Sky HD, Landline: BT, Mobile: Orange, Internet: Quite Slow!
Posts: n/a
Re: Redirect Website...

Sorry - I meant port 80 - web - not SMTP - 25! Durrr!
  Reply With Quote
Old 08-07-2010, 07:30   #7
LSainsbury
Guest
 
Location: Near Hungerford, West Berkshire
Services: TV: Sky HD, Landline: BT, Mobile: Orange, Internet: Quite Slow!
Posts: n/a
Re: Redirect Website...

OK - so I've got my DNS pointing to my firewall IP and a firewall rule that forwards 80 to the interal 192.168.x.x address but I can't connect using either the www.whatever.com or the public IP.

Any ideas??
  Reply With Quote
Old 08-07-2010, 11:20   #8
Kymmy
Inactive
 
Join Date: Dec 2007
Posts: 18,385
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: Redirect Website...

When did you change the DNS? just that it can take 12+ hours (upto 72 hours) to change..

Also remember that if you're internal to the network then you have to use the internal IP as the external IP will not work for you.

PM me the details if you wish and I can check from here
Kymmy is offline   Reply With Quote
Old 08-07-2010, 12:06   #9
LSainsbury
Guest
 
Location: Near Hungerford, West Berkshire
Services: TV: Sky HD, Landline: BT, Mobile: Orange, Internet: Quite Slow!
Posts: n/a
Re: Redirect Website...

Changed last night - a good 12 hours have passed.

OK - I think I've discovered the problem - I added a firewall rule not a NAT port forwarding rule. Thing is - NAT is disabled on the router so whatever I do there I don't think it'll make any difference.

So what do I do from here?
  Reply With Quote
Old 08-07-2010, 12:17   #10
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 61
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: Redirect Website...

Reading the above it seems there is a lot of confusion as to whether you are using LAN (local 192.168.x.x type) allocated perhaps by DHCP on the router) based IPs or WAN (internet) based IPs.

The DNS for your website, visible from the internet can only point to an internet visible public IP, i.e. one that has been allocated to you by your ISP.

You should be able to set your router's external IP to that fixed ISP addy and then use port forwarding and NAT to point the internet based requests for your website to the internal (LAN 192.168.x.x type) IP of your NAS.

If you are unable to use NAT then you will need to allocate fixed ISP based IPs to all kit on your network, including the route, computers and NAS. You'll still be able to use the firewall in your router for some protection, but would have to open up ports between router and NAS IPs to allow the website access. When you connect to the NAS, and point any web DNS records to is, you would use the ISP based IP that you have allocated direct to the NAS. Your router's DHCP function would probably be off as you've allocated the fixed WAN side IPs to everything.

In both cases your NAS will need to see the router as it's gateway to the internet.
MovedGoalPosts is offline   Reply With Quote
Old 08-07-2010, 12:28   #11
LSainsbury
Guest
 
Location: Near Hungerford, West Berkshire
Services: TV: Sky HD, Landline: BT, Mobile: Orange, Internet: Quite Slow!
Posts: n/a
Re: Redirect Website...

OK - so here's my setup for confirmation:

ZyXel Router External Public IP: DCHP Allocated by ISP
Router LAN Trusted: static network address supplied by ISP
NAT Disabled
Firewall Disabled

WatchGuard Firewall External: One of the 5 static IP's from my allocation:
Firewall Trusted: 192.168.x.x.

You can read a bit more about this as I posted on the subject a while back.

So as NAT is disabled, should I then use one of my block of 5 IPs for the LAN interface on the NAS making it an external device? Obviously I'd need to change the A record to point to the new IP.

Would I still be able to access the device internaly without going out then back in?
  Reply With Quote
Old 08-07-2010, 12:46   #12
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 61
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: Redirect Website...

If NAT is disabled you have to allocate an external (internet visible) ISP based IP to the NAS. Yes that means it will no longer be on your LAN and accessible only by your ISP allocated IP. You may have to check where your watchguard firewall thing is placed. If it's between the NAS and router that could create problems especially if that firewall is tryinig to use local not ISP addys.
MovedGoalPosts is offline   Reply With Quote
Old 08-07-2010, 12:53   #13
Kymmy
Inactive
 
Join Date: Dec 2007
Posts: 18,385
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: Redirect Website...

If NAT is disabled then the router is simply being used as a modem/hub.. for internal IP's you should then have a 2nd cable style router (ethernet router) on one of the external IP's to provide you with a secure internal IP location.

Without the 2nd router you'll instead need to put the NAS directly on an external IP but as it's still behind the firewall it should be safe if you only open up the ports you need and do a default DENY to the IP for all other ports
Kymmy is offline   Reply With Quote
Old 08-07-2010, 13:00   #14
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 61
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: Redirect Website...

I think you are trying to achieve something similar to my office's network. This is setup as follows:

Router WAN port - ISP allocated IP
<wired to>
Firewall / Spam Filter - ISP allocated IP (runs in transparent bridge mode)
<wired to>
Server - external facing network port - ISP allocated IP

Server - internal facing network port - Internal allocated IP from server's DHCP
<wired to>
switches
<wired to>
Workstations - internal allocated IPs from server

Note that the server therefore has an internet facing ISP provided IP address allocated in the same range as the firewall / spam filter and router. This allows the server to operate things like exchange and an external website for things like outlook's web access to which I can point the DNS records for website addresses. Certain ports had to be opened in the router's firewalls to allow traffic through to the webserver.
Our's office's server also acts as a firewall to the internal network, providing protection to that network from intruders and stuff. Thus only the website stuff can be seen externally. I suspect you could use another router instead of the server to fulfil a similar function, using this second router's WAN port with an ISP allocated IP addy, and then the router's DHCP to do the internal stuff.
MovedGoalPosts is offline   Reply With Quote
Old 08-07-2010, 14:30   #15
LSainsbury
Guest
 
Location: Near Hungerford, West Berkshire
Services: TV: Sky HD, Landline: BT, Mobile: Orange, Internet: Quite Slow!
Posts: n/a
Re: Redirect Website...

So if I enable NAT on the router - SUA Full Feature mode - do I need to change anything on the firewall?

I want to try and keep it internal and have www 80 redirect to the host if possible...
  Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT +1. The time now is 13:56.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum