A firewall is a security system that acts as a protective boundary between a network and the outside world. Windows XP includes Internet Connection Firewall (ICF) software you can use to restrict what information is communicated between the Internet and your home or small office network. ICF also protects a single computer connected to the Internet with a cable modem, a DSL modem, or a dial–up modem.
If your network uses Internet Connection Sharing (ICS) to provide Internet access to multiple computers, you should use ICF on the shared Internet connection. However, ICS and ICF can be enabled separately. You should not enable the firewall on any connection that does not directly connect to the Internet, and ICF is not needed if your network already has a firewall or proxy server.
You must be logged on to your computer with an owner account in order to complete this procedure. You should not enable Internet Connection Firewall on virtual private networking (VPN) connections or on client computers because ICF will interfere with file and printer sharing. ICF cannot be enabled on the private connections of the Internet Connection Sharing host computer.
To enable or disable Internet Connection Firewall
Open Network Connections (Click Start, click Control Panel, and then double–click Network Connections.)
Click the Dial–up, LAN or High–Speed Internet connection that you want to protect, and then, under Network Tasks, click Change settings of this connection.
On the Advanced tab, under Internet Connection Firewall, select one of the following:
To enable Internet Connection Firewall (ICF), select the Protect my computer and network by limiting or preventing access to this computer from the Internet check box.
To disable Internet Connection Firewall, clear the Protect my computer and network by limiting or preventing access to this computer from the Internet check box. This disables the firewall, your computer and network are then vulnerable to intrusions
Tuesday, November 11, 2008
Use the Internet Connection Firewall to Secure Your Small Network
XP Network Protocols
There are three main Protocols : TCP/IP, IPX/SPX and NETBEUI
TCP/IP :
Is automatically installed, can't be un-installed, and is used by default for all networking functions.Windows XP provides one other supported protocol -- IPX/SPX -- and one unsupported protocol, NetBEUI.
By default, XP configures TCP/IP to obtain an IP address automatically. If there's a DHCP server on the network, it will assign the IP address and other TCP/IP settings to the connection. Otherwise, Windows XP will use Automatic Private IP Addressing to assign an IP address to the connection.
Im not going to explain everything about Protocols that is way out of scope of this guide.
By default, XP configures TCP/IP to obtain an IP address automatically. If there's a DHCP server on the network, it will assign the IP address and other TCP/IP settings to the connection. Otherwise, Windows XP will use Automatic Private IP Addressing to assign an IP address to the connection.
This default configuration should work, unchanged, to connect a Windows XP computer to a network that uses TCP/IP for File and Printer Sharing in these common configurations:
Using an Internet sharing program or a hardware router protects the local area network from access by other Internet users, so it's safe to use TCP/IP for File and Printer Sharing on the LAN. The computers have private IP addresses that aren't accessible from the Internet. No other protocol is needed.
If your network uses static IP addresses, click Use the following IP address -- 192.168.0.3 and enter the configuration information. For example, here are settings for a network that uses a proxy server at IP address 192.168.0.1 for Internet access.
If the existing network uses IPX/SPX for File and Printer Sharing, you can add that protocol to the Windows XP computer. IPX/SPX is fully supported in XP. In the connection's Properties, click the Install button to add a network component. XP will ask what type of network component to install.
Click Protocol and Add.
Click NWLink IPX/SPX/NetBIOS Compatible Transport Protocol and click OK. Two NWLink items are added to the connection's Properties
Have your winXP CD handy.
NetBEUI
NetBEUI was the default protocol in Windows 95, but Microsoft has been moving away from NetBEUI ever since. Starting with Windows 98, TCP/IP has been the default protocol, and NetBEUI has been available for installation as a supported protocol.
#
Starting with Windows XP, NetBEUI is unsupported. This doesn't mean that NetBEUI won't work! It means that:
#
Microsoft recommends against using it.
#
It doesn't appear in the list of protocols that can be installed.
#
Microsoft's technical support staff won't answer questions about NetBEUI or help solve problems with it.
Because it's been around for so long, some people think that NetBEUI is required, and they install it on all Windows networks. Actually, nothing in Windows networking has ever required NetBEUI. You can even un-install NetBEUI in Windows 95 and use a different protocol.
#
If your existing network uses NetBEUI for File and Printer Sharing, consider changing to a different protocol. Most networks can safely use TCP/IP. The main exceptions to this rule are when:
#
All of the networked computers are connected directly to a cable or DSL modem and receive public IP addresses from an Internet service provider.
#
You've separated your LAN from the Internet, but you've opened ports or have placed a computer outside the firewall to use certain applications or services.
#
If, after considering all the options, you decide to install NetBEUI on Windows XP, you can do it using files on the Windows XP CD-ROM. Follow the instructions in the article HOW TO: Install NetBEUI on Windows XP in the Microsoft Knowledge Base. These tips will help with the installation process:
#
If the Welcome to Microsoft Windows XP screen appears when you insert the CD-ROM, click Perform additional tasks followed by Browse this CD.
#
Where the article refers to %SYSTEMROOT%, substitute the name of the Windows XP installation folder, which is typically C:Windows.
#
To see the hidden INF directory, go to My Computer | Tools | Folder Options | View. Scroll down the list of Advanced settings, and un-check Hide protected operating system files.
If you have a new computer that didn't come with a Windows XP CD-ROM, see if the computer manufacturer will send you the CD-ROM or the necessary NetBEUI files. If that isn't possible, you'll have to use a different protocol on your network.
Set Permissions for Shared Files and Folders
Sharing of files and folders can be managed in two ways. If you chose simplified file sharing, your folders can be shared with everyone on your network or workgroup, or you can make your folders private. (This is how folders are shared in Windows 2000.) However, in Windows XP Professional, you can also set folder permissions for specific users or groups. To do this, you must first change the default setting, which is simple file sharing. To change this setting, follow these steps:
•Open Control Panel, click Tools, and then click Folder Options.
•Click the View tab, and scroll to the bottom of the Advanced Settings list.
•Clear the Use simple file sharing (Recommended) check box.
•To manage folder permissions, browse to the folder in Windows Explorer, right–click the folder, and then click Properties. Click the Security tab, and assign permissions, such as Full Control, Modify, Read, and/or Write, to specific users.
You can set file and folder permissions only on drives formatted to use NTFS, and you must be the owner or have been granted permission to do so by the owner.
Set up and Use Internet Connection Sharing
With Internet Connection Sharing (ICS) in Windows XP, you can connect one computer to the Internet, then share the Internet service with several computers on your home or small office network. The Network Setup Wizard in Windows XP Professional will automatically provide all of the network settings you need to share one Internet connection with all the computers in your network. Each computer can use programs such as Internet Explorer and Outlook Express as if they were directly connected to the Internet.
You should not use this feature in an existing network with Windows 2000 Server domain controllers, DNS servers, gateways, DHCP servers, or systems configured for static IP addresses.
Enabling ICS
The ICS host computer needs two network connections. The local area network connection, automatically created by installing a network adapter, connects to the computers on your home or small office network. The other connection, using a 56k modem, ISDN, DSL, or cable modem, connects the home or small office network to the Internet. You need to ensure that ICS is enabled on the connection that has the Internet connection. By doing this, the shared connection can connect your home or small office network to the Internet, and users outside your network are not at risk of receiving inappropriate addresses from your network.
When you enable ICS, the local area network connection to the home or small office network is given a new static IP address and configuration. Consequently, TCP/IP connections established between any home or small office computer and the ICS host computer at the time of enabling ICS are lost and need to be reestablished. For example, if Internet Explorer is connecting to a Web site when Internet Connection Sharing is enabled, refresh the browser to reestablish the connection. You must configure client machines on your home or small office network so TCP/IP on the local area connection obtains an IP address automatically. Home or small office network users must also configure Internet options for Internet Connection Sharing. To enable Internet Connection Sharing (ICS) Discovery and Control on Windows 98, Windows 98 Second Edition, and Windows Millennium Edition computers, run the Network Setup Wizard from the CD or floppy disk on these computers. For ICS Discovery and Control to work on Windows 98, Windows 98 Second Edition, and Windows Millennium Edition computers, Internet Explorer version 5.0 or later must be installed.
To enable Internet Connection Sharing on a network connection
You must be logged on to your computer with an owner account in order to complete this procedure.
Open Network Connections. (Click Start, click Control Panel, and then double–click Network Connections.)
Click the dial–up, local area network, PPPoE, or VPN connection you want to share, and then, under Network Tasks, click Change settings of this connection.
On the Advanced tab, select the Allow other network users to connect through this computer's Internet connection check box.
If you want this connection to dial automatically when another computer on your home or small office network attempts to access external resources, select the Establish a dial–up connection whenever a computer on my network attempts to access the Internet check box.
If you want other network users to enable or disable the shared Internet connection, select the Allow other network users to control or disable the shared Internet connection check box.
Under Internet Connection Sharing, in Home networking connection, select any adapter that connects the computer sharing its Internet connection to the other computers on your network. The Home networking connection is only present when two or more network adapters are installed on the computer.
To configure Internet options on your client computers for Internet Connection Sharing
Open Internet Explorer. Click Start, point to All Programs, and then click Internet Explorer.)
On the Tools menu, click Internet Options.
On the Connections tab, click Never dial a connection, and then click LAN Settings.
In Automatic configuration, clear the Automatically detect settings and Use automatic configuration script check boxes.
In Proxy Server, clear the Use a proxy server check box.