Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

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
Old October 31st, 2004   #1
wallijonn
Quad Shot of Ubuntu
 
wallijonn's Avatar
 
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
wallijonn is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 -4. The time now is 04:20 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry