Tom, I followed your advise and installed shorewall with the standalone instructions you gave me. It initially installed and appeared to be working (see $ sudo shorewall start) on the attached file. When I rebooted the computer and typed sudo shorewall start in the terminal window this is what I saw: Compiling... Compiling /etc/shorewall/zones... ERROR: No network interfaces defined What did I do wrong? My shorewall settings are on the attached file. Horace ----- Original Message ----- From: Tom Eastep <teastep@shorewall.net> To: horacef@usnetizen.com Cc: shorewall-users@lists.sourceforge.net Subject: Re: [Shorewall-users] Cannot connect to the internet Date: 03/16/2011 04:51:05 PM On 3/15/11 3:48 PM, Horace Franklin Jr wrote:> Tom, > > Please accept my apology, I sent the wrong attachment. I havemodified> the attachment to show my systems current configuration.Horace, I''m going to give you the same advice that I did the last time. Disregard the HOWTO you are using and use http://www.shorewall.net/standalone.htm The HOWTO that you are trying to follow is for creating a two-interface router; you have a standalone computer. Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ Signature exists, but need public key ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
On 3/30/11 1:34 PM, Horace Franklin Jr wrote:> Tom, > > I followed your advise and installed shorewall with the standalone > instructions you gave me. > > It initially installed and appeared to be working (see $ sudo shorewall > start) on the attached file. > > When I rebooted the computer and typed sudo shorewall start in the > terminal window this is what I saw: > > Compiling... > Compiling /etc/shorewall/zones... > ERROR: No network interfaces defined > > What did I do wrong? My shorewall settings are on the attached file.Please do me a favor. a) Uninstall Shorewall (however your distribution allows you to do that) b) rm -rf /etc/shorewall c) rm -rf /etc/default/shorewall d) Install the shorewall package -- DO NOTHING ELSE other than what I tell you below. e) cd /etc/shorewall f) if you are running Debian or Ubuntu and installed the .deb: cp /usr/share/doc/shorewall/examples/one-interface/* . otherwise cp /usr/share/shorewall/Samples/one-interface/* . g) Edit /etc/shorewall/shorewall.conf and be sure that STARTUP_ENABLED=Yes; if not change it. h) If you are running Debian or Ubuntu, edit /etc/default/shorewall and set startup=1. i) At a root console, type ''shorewall start''. This configuration will allow you unfettered access from your computer to the internet. Now a) cd /etc b) cp -a shorewall shorewall.good c) Now make changes to /etc/shorewall to try to allow the incoming traffic that you want. If you suddenly find that is has all gone to hell, then d) cd /etc f) rm -rf /etc/shorewall g) cp -a /etc/shorewall.save /etc/shorewall h) shorewall restart -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf