Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I build a home server with Xampp. When route my local ip addres with NAT there is virtual server and DNZ. If I only full fiel virtual server my http port not opens.if I enable DNZ then I can reach my server from internet.But should I open all of this? are they will cause any security problem?and how can I solve this problem?

share|improve this question

closed as off-topic by Falcon Momot, MDMarra, Ward, Bryan, Scott Pack Jul 6 '13 at 12:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about hardware or software used in a home setting are off-topic because they require answers that may not be practical for the business and support professionals here. You should try asking on Super User instead." – Falcon Momot, MDMarra, Ward, Bryan, Scott Pack
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Opening a small server to a DMZ connection is not recommended at all. Yes, that would open it up to security vulnerabilities.

The best way of doing this is to discover the specific ports and protocols that your server needs to use, and create port-forward or virtual server rules to just allow those ports to go out.

share|improve this answer
    
I made it with virtual server and opened only 80 port.but it not`s openin. if I allow DNZ it allows –  Ercan Sep 2 '10 at 16:17
    
It sounds like your virtual server settings are not properly configured then. I would first try to open all ports via the virtual server settings. This, in theory, should mimick a DMZ setup. Once that is working, then try closing off the unused ports. –  Phanto Sep 2 '10 at 16:25
    
I opened all ports in Virtual server and closed firewall on router but it is not allows. Also I can send ping from other computer to my computer which server setuped but I can`t see my web page like htpp://192.168.1.10/mysite/index.html it does not work. –  Ercan Sep 3 '10 at 17:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.