Results 1 to 9 of 9

Thread: How to set up Shorewall in Ubuntu Server 9.10

  1. #1
    Join Date
    Mar 2008
    Location
    Detroit
    Beans
    69
    Distro
    Ubuntu 8.04 Hardy Heron

    How to set up Shorewall in Ubuntu Server 9.10

    Hello all:

    I'm about at about an intermediate level with Ubuntu, but completely new to servers. I followed this tutorial to set up Ubuntu Server 9.10 on my Lenovo R61i. All went well up until the installation of the firewall.

    I can't seem to install Shorewall. I typed

    Code:
    sudo aptitude install shorewall
    and it seems to have installed fine, but when I try to backup the configuration file:

    Code:
    sudo cp /usr/share/doc/shorewall-common/examples/one-interface/* /etc/shorewall/
    I get
    Code:
    cp: cannot stat `/usr/share/doc/shorewall-common/examples/one-interface/*': No such file or directory
    I can't find any evidence that Shorewall is even installed. What am I missing?? I googled the problem, and haven't seen anyone else with this issue.

    Please help! Let me know if any more info is required.

    Thanks!
    Thomas

  2. #2
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to set up Shorewall in Ubuntu Server 9.10

    Quote Originally Posted by TomDaBomb2u View Post
    ...

    I can't seem to install Shorewall. I typed

    Code:
    sudo aptitude install shorewall
    and it seems to have installed fine, but when I try to backup the configuration file:

    Code:
    sudo cp /usr/share/doc/shorewall-common/examples/one-interface/* /etc/shorewall/
    I get
    Code:
    cp: cannot stat `/usr/share/doc/shorewall-common/examples/one-interface/*': No such file or directory
    I can't find any evidence that Shorewall is even installed. What am I missing?? I googled the problem, and haven't seen anyone else with this issue.

    Please help! Let me know if any more info is required.

    Thanks!
    Thomas
    So what have you done to try and locate the shorewall files? Have you tried
    Code:
    sudo locate shorewall
    -BAB1

  3. #3
    Join Date
    Mar 2008
    Location
    Detroit
    Beans
    69
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to set up Shorewall in Ubuntu Server 9.10

    Quote Originally Posted by bab1 View Post
    So what have you done to try and locate the shorewall files? Have you tried
    Code:
    sudo locate shorewall
    Thanks for the quick reply. Yes, I tried that, but got nothing.

    Thomas

  4. #4
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to set up Shorewall in Ubuntu Server 9.10

    Quote Originally Posted by TomDaBomb2u View Post
    Thanks for the quick reply. Yes, I tried that, but got nothing.

    Thomas
    Did you update the locate database since you just did the install?

    Did you check Shorwall's site for updated information?

    Did you check
    Code:
    man shorewall
    Last edited by bab1; May 5th, 2010 at 01:24 AM.
    -BAB1

  5. #5
    Join Date
    Mar 2008
    Location
    Detroit
    Beans
    69
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to set up Shorewall in Ubuntu Server 9.10

    Neither. Will do when I get back home. I'll post results. Thanks!

  6. #6
    Join Date
    Mar 2008
    Location
    Detroit
    Beans
    69
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to set up Shorewall in Ubuntu Server 9.10

    Well, that was kinda embarrassing lol. . . I looked on the website (but not very well at first) and completely missed the package repo. I added it and installed.
    Code:
    sudo locate shorewall
    still doesn't do anything but I'm looking at the manual now.

    Thanks! I still may have questions though lol.

  7. #7
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to set up Shorewall in Ubuntu Server 9.10

    Quote Originally Posted by TomDaBomb2u View Post
    Well, that was kinda embarrassing lol. . . I looked on the website (but not very well at first) and completely missed the package repo. I added it and installed.
    Code:
    sudo locate shorewall
    still doesn't do anything but I'm looking at the manual now.

    Thanks! I still may have questions though lol.
    You have to populate the database.

    Try this
    Code:
    sudo updatedb
    See here.

    Edit: For a complete config of locate see section 8 of this manual.
    Last edited by redmk2; May 5th, 2010 at 03:37 AM.

  8. #8
    Join Date
    Oct 2012
    Beans
    1

    Re: How to set up Shorewall in Ubuntu Server 9.10

    Hey, this might be completely off, but if your installation came up successful try looking in /usr/share/doc/shorewall/... (instead of shoreall-common). That's were I found my examples. -Frank

  9. #9
    Join Date
    Feb 2007
    Beans
    23,060
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to set up Shorewall in Ubuntu Server 9.10


    From the Ubuntu Forums Code of Conduct.
    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Thread closed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •