🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #249644

Utility to make UFW firewall more flexible

#249644
From: apasreader
Date: Wed, 22 Jun 2011 13:59
29 lines
2200 bytes
If you are running linux, you may be using the UFW firewall, which
is a pretty good one from what I hear.

If you want simply to set it once and forget it, then you don't
need anything else; but some people are suspicious enough of the
internet, or just plain paranoid, and they like to keep their open
ports to a minimum.

For peope like that, opening ports to, say, do a torrent download
is fine, but they prefer to have them closed at other times.

UFW is klunky in that regard because of its klunky syntax. The gui
interace for it, gufw, is not much help because you still have to
klunkily type in the commands using the UFW syntax.

A small script called UFWCHANGE is at apasreader.yolasite.com,
which allows you to open and close a slew of ports with one
command.

For example, if you want to do a torrent download, you can issue a
command that opens 6881-6889/tcp, and 6881-6889/udp for input, and
opens, say, 58000-59000/tcp for output.  Then you do the download.
Then you issue a second command that closes them.

See the comments in the config.py file to get started.

-- 
http://apasreader.yolasite.com
http://heraus.batcave.net
Technical Details
Message-ID: <gzmMp.28274$SG4.17429@newsfe03.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe03.iad.POSTED!00000000!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <gzmMp.28274$SG4.17429@newsfe03.iad>
Subject: Utility to make UFW firewall more flexible
Date: Wed, 22 Jun 2011 13:59:40 GMT
From: apasreader <apasreader@nymph.paranoici.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.20140712.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe03.iad.POSTED!00000000!not-for-mail
Newsgroups: alt.privacy,alt.privacy.anon-server
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 29
X-Complaints-To: abuse@UsenetServer.com
NNTP-Posting-Date: Wed, 22 Jun 2011 13:59:40 UTC
X-Original-Bytes: 1847