Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-security] Re: ipmasqadm port forwarding ipportfw (HOWTO)


  • From: David Elson <David.Elson@xxxxxxxxxx>
  • Subject: [linux-security] Re: ipmasqadm port forwarding ipportfw (HOWTO)
  • Date: Sun, 21 May 2000 11:23:02 +1200

> 4 - download the ipmasqadm tool from the link @ 
> www.monmouth.demon.o.uk
> <http://www.monmouth.demon.o.uk>
> -	current version as of may 2000 = ipmasqadm-0.4.2-3.i386.rpm
> and install using the syntax: "rpm -ivh ipmasqadm-0.4.2-3.i386.rpm"

Note that this RPM is also available on ftp.redhat.com under
contrib/libc6/i386

> /usr/sbin/ipmasqadm portfw -f
> /usr/sbin/ipmasqadm portfw -a -P tcp -L $ext_ip 23 -R $int_ip 23

There is a PHP Firewall Generator, here:

http://phpfwgen.sourceforge.net/

... also available in source or RPM format.  This allows you to set up
your port forwarding (and other firewall rules) in a simple web
interface, using a ruleset not unlike other firewall ruleset generators
(eg: Firewall-1), and it will generate the ipchains/ipmasqadm script
for you.

It's much easier for beginners to do this as the script always puts the
ipchains/ipmasqadm rules around the right way.

Del