[Shorewall-users] Redirecting ports

Aaron Axelsen axelseaa@amadmax.com
Fri, 19 Apr 2002 18:38:32 -0500


Try this:
ACCEPT	net	$FW:25	tcp	26 - all

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa@amadmax.com
URL: www.amadmax.com
 
"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: shorewall-users-admin@shorewall.net
[mailto:shorewall-users-admin@shorewall.net] On Behalf Of Jonathan B.
Bayer
Sent: Friday, April 19, 2002 6:31 PM
To: Shorewall-users@shorewall.net
Subject: [Shorewall-users] Redirecting ports


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Shorewall-users,

I need to create a port on one of my systems which would get redirected
to the same system, but a different port.  This is a stand alone system,
NATing is turned off.

I tried the following in the rules file:


ACCEPT         net:26  $FW::smtp       tcp     25
ACCEPT         $FW     $FW             tcp     smtp
ACCEPT         loc     $FW             tcp     smtp


but it didn't work (I also had a 26 instead of 25 at the end of the
first line, no go).

What am I missing?


Thanks in advance.


JBB
 Jonathan B. Bayer
mailto:jbayer@bayerfamily.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzAqKAACgkQLWek1tt+K52SUwCcCwHU2UpxJ16n9D6GettnSQGk
QXoAnjb6BBK2Gjz7bTpwk1HnoUwNyLk7
=BKvL
-----END PGP SIGNATURE-----