Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : securing server traffic (IPSEC maybe?)
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)

 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-08-2009, 06:04 PM
daninmanchester daninmanchester is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2006
Posts: 59
securing server traffic (IPSEC maybe?)

I need to secure a windows server 2003 traffic.

I have one server with a small number of clients <10. The clients have dynamic IPs.

The server hosts a number of public facing websites, email, FTP and remote desktop.

What I want to do is make port 80 respond to all web requests but lock all other services down so that they only respond to my 10 clients. I was thinking some certificate or VPN solution but I've ruled VPN out as I don't have a firewall or VPN so would I be able to do this with IPSEC?

Is there quick utility that would do this or can you point me to a good example article?

Thanks

Reply With Quote
Sponsored Links
  #2  
Old 07-09-2009, 12:00 AM
plumsauce plumsauce is offline
View Beta Profile
Web Hosting Master
 
Join Date: Feb 2004
Posts: 2,637
Look into RRAS+IPSEC together.

This gives you packet filtering, pptp vpn, ipsec vpn. You can go as far as to require certificate authentication. Give a cert to each client.

__________________
3 sites, 3 services
server uptime/blacklist monitor and sms alert service - exactstate.com
managed DNS global failover and load balance (GSLB) - edgedirector.com
5 second online server check - newsreports.org

Reply With Quote
  #3  
Old 07-09-2009, 03:49 AM
daninmanchester daninmanchester is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2006
Posts: 59
Thanks

Can I use IPSEC on its own or do I need RAS because of the dynamic IPs?

Will this wih the windows firewall and only port 80 open to the public offer me a secure solution over the internet?

I don't have a physical firewall other than the data centre perimeter one which Iknow very little about.

Reply With Quote
Sponsored Links
  #4  
Old 07-09-2009, 05:43 AM
plumsauce plumsauce is offline
View Beta Profile
Web Hosting Master
 
Join Date: Feb 2004
Posts: 2,637
The RRAS is for the packet filters. It will disable the firewall. It also is what allows you to setup a VPN server, it is part of RRAS. Then you pick between PPTP or IPSEC for the VPN tunnels. PPTP is judged to be less secure, but easier to setup when the customer is behind a NAT'ed router. The tradeoff is often worth it. IPSEC can be a real pain behind a NAT. You might spend *days* supporting clients behind a NAT. In addition, they will have new problems everytime they try it from a hotspot.

You can use IPSEC on its own, but RRAS is a nice supplement.

__________________
3 sites, 3 services
server uptime/blacklist monitor and sms alert service - exactstate.com
managed DNS global failover and load balance (GSLB) - edgedirector.com
5 second online server check - newsreports.org

Reply With Quote
  #5  
Old 07-09-2009, 12:21 PM
daninmanchester daninmanchester is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2006
Posts: 59
so RRAS would be much more superior and secure to the firewall?

I can look at using IPSEC for core services but may choose to leave it given your comments. Even with PPTP It will be more secure than what we have now ( direct FPT, POP, etc access).

IPSEC could be for site to site services if we can narrow these down and lock them out. It maybe that my clients router will act as a VPN endpoint but if this is a dynamic IP will IPSEC work?

Reply With Quote
  #6  
Old 07-10-2009, 02:51 AM
HoundOfTheSmith HoundOfTheSmith is offline
View Beta Profile
Junior Guru
 
Join Date: Jun 2007
Location: UK
Posts: 217
Also, look at OpenVPN (and SSL based VPN). You'd install the server software on your server and the client software on the client's PCs.

__________________
I think the server saw what was required of it and just committed suicide instead.

Reply With Quote
  #7  
Old 07-10-2009, 03:26 AM
plumsauce plumsauce is offline
View Beta Profile
Web Hosting Master
 
Join Date: Feb 2004
Posts: 2,637
Quote:
Originally Posted by daninmanchester View Post
so RRAS would be much more superior and secure to the firewall?

I can look at using IPSEC for core services but may choose to leave it given your comments. Even with PPTP It will be more secure than what we have now ( direct FPT, POP, etc access).

IPSEC could be for site to site services if we can narrow these down and lock them out. It maybe that my clients router will act as a VPN endpoint but if this is a dynamic IP will IPSEC work?
So, your final plan would be RRAS + PPTP VPN + packet filters. IPSEC is nice, but only if you control the endpoints. Your customers will be forever whining about some *minor* change to suit their whims.

Forget OpenVPN unless you have no other choice. It is pointless to graft on a separate package when MS has a pre-engineered solution.

Final word of advice, if you are configuring using terminal services, the very first rules that you put in are rules to allow terminal services to be accessible.

__________________
3 sites, 3 services
server uptime/blacklist monitor and sms alert service - exactstate.com
managed DNS global failover and load balance (GSLB) - edgedirector.com
5 second online server check - newsreports.org

Reply With Quote
  #8  
Old 07-10-2009, 07:19 AM
daninmanchester daninmanchester is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2006
Posts: 59
I was reading about L2TP and this does seem the stronger solution which I would prefer.
My clients aren't that fussy as long as they have FTP, POP, SMTP.

The rest of the world just needs port 80 so I would need to make sure I locked this part of the system down but the VPN would protect the other 3rd party services (which is where I think previous incidents have come from)

I have remote KVM over IP but do sometimes use remote desktop as it's a bit smoother to use over a good connection.

One other key question.... is there a way I can issue a physical certificate which the user installs and they have an "always on" connnection (i.e. no dialing into the VPN) but retain access to their local services?

I would want to renew these certificates regularly and enforce a password policy.
Does that make sense?

Reply With Quote
  #9  
Old 07-15-2009, 06:32 AM
daninmanchester daninmanchester is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2006
Posts: 59
Do you know of an article that can talk me through setting up a win2K3 single NIC box for remote desktop access?

Reply With Quote
  #10  
Old 07-16-2009, 06:35 AM
daninmanchester daninmanchester is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2006
Posts: 59
Right I've got it up and runnig and been having a play.
There is a caveat tho.....it disables windows firewall and the NAT firewall doesn't seem to allow to specifiy an IP scope. is there a way round this?

I wanted to import around 1000 IP rules which I think can be done in windows firewall throguh the .inf file.

I'm starting to think maybe there is a better firewall VPN solution for windows?

Reply With Quote
  #11  
Old 07-19-2009, 11:21 AM
daninmanchester daninmanchester is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2006
Posts: 59
I managed to script this using IPSECCMD but the problem is that If I script more than about 100 filters per IPSECCMD I get command line is too long and I don't seem to be able to append filters to a rule using this command.

Given then I want to allow somewhere in th order of 3000 subnets for the UK and block probably more for the likes of China is there a beter way to do this?

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPSec policy for SQL 2000 server prashant1979 Hosting Security and Technology 0 09-09-2008 08:23 AM
Range Banning with IPSec on Windows Server WebSavvyGuy Hosting Security and Technology 4 10-09-2006 01:21 PM
Emergency: Accidentally banned myself from my server using IPsec WebSavvyGuy Hosting Security and Technology 4 08-27-2006 01:25 PM
Windows 2003 Server IIS FTP and IPSEC mamin Dedicated Server 3 02-13-2005 09:37 AM
Hardening my w2k server with IpSec -> TROUBLES! RedShift Hosting Security and Technology 8 03-30-2004 07:44 AM