[Shorewall-users] Redirecting ports

Aaron Axelsen axelseaa@amadmax.com
Fri, 19 Apr 2002 19:15:20 -0500


Why the "::"??

Is that only needed to redirect locally?

I have rules like
ACCEPT	net	loc:192.168.1.1:5880	tcp	5880 - all

And those work.

---
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: Tom Eastep [mailto:teastep@shorewall.net] 
Sent: Friday, April 19, 2002 7:12 PM
To: Aaron Axelsen
Cc: 'Jonathan B. Bayer'; Shorewall-users@shorewall.net
Subject: RE: [Shorewall-users] Redirecting ports


On Fri, 19 Apr 2002, Aaron Axelsen wrote:

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

You need:

ACCEPT	net	$FW::25	tcp	26	-	all

That redirects port 26->port 25.

-Tom
--
Tom Eastep    \ Shorewall - iptables made easy
AIM: tmeastep  \ http://www.shorewall.net
ICQ: #60745924  \ teastep@shorewall.net