On 02/11/2012 04:27 AM, Lists wrote:
> OS: Debian Lenny (kernel 2.6.26-2-686
> Shorewall: 4.0.15 (installed from Debian repository)
> 
> I have an FTP server behind Debian system I am using for a firewall and
> I am wanting to use Shorewall on it (the Debian firewall).  Following
> the instructions for configuring FTP (at
> <http://www.shorewall.net/FTP.html>), I have the following rule in my
> /etc/shorewall/rules file:
> 
> FTP(DNAT)     net     loc:192.168.9.10
> 
> However when I run "shorewall check", it fails with the following error:
> 
> ERROR: Invalid Action in rule "FTP(DNAT) net loc:192.168.9.10       "
> 
> I can't see what I am doing wrong?  Thanks! :-)

You are trying to use Shorewall 4.4 documentation to configure Shorewall
4.0. In Shorewall 4.0, the syntax is:

FTP/DNAT        net     loc:192.168.9.10

Hint -- the Shorewall 4.0-4.2 documentation may be found at
http://www.shorewall.net/4.2/Documentation_Index.html

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to