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 \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to