![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Quad Shot of Ubuntu
![]() Join Date: Oct 2004
Location: Phoenix
Beans: 436
|
HOWTO: Shorewall Firewall
Standalone (1 NIC in your PC) Firewall:
Go to SPM, list alphabetically, "S", download / install Shorewall 2.0.2-4ubuntu2 http://www.shorewall.net/shorewall_setup_guide.htm http://www1.shorewall.net/pub/shorew...-interface.tgz From www.shorewall.net : "The configuration files for Shorewall are contained in the directory /etc/shorewall -- for simple setups. After you have installed Shorewall, download the one-interface sample, un-tar it (tar -zxvf one-interface.tgz) and and copy the files to /etc/shorewall" start a root terminal sudo cp /usr/share/doc/shorewall/default-config/shorewall.conf.gz /etc/shorewall sudo cp /usr/share/doc/shorewall/default-config/modules /etc/shorewall sudo cp one-interface.tgz /etc/shorewall cd /etc/shorewall gunzip shorewall.conf.gz tar -zxvf one-interface.tgz cd one-interface sudo cp * /etc/shorewall cd .. sudo gedit /etc/default/shorewall change STARTUP_ENABLED=Yes. exit the editor. cd /home exit reboot your PC. check the boot up screen file and /var/log/messages and /var/log/shorewall-init.log [EDIT] While you're at it why not edit your HOSTS file to include: http://www.mvps.org/winhelp2002/hosts.htm (just add the entries to the last line at /etc/hosts; add the lines after #start of lines added by WinHelp2002) ALWAYS make backup copies of config files to /home/<username>. that way you can sudo cp /home/<username> hosts /etc/hosts or sudo cp /home/<username> XF86Config-4 /etc/X11 (incase XWindows blows up). . Last edited by wallijonn; January 3rd, 2005 at 04:56 AM.. Reason: title change |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|