shorewall-users January 2012 archive
Main Archive Page > Month Archives  > shorewall-users archives
shorewall-users: Re: [Shorewall-users] How do Shorewall , Line I

Re: [Shorewall-users] How do Shorewall , Line Iptables.

From: Tom Eastep <teastep_at_nospam>
Date: Thu Jan 19 2012 - 17:52:01 GMT

On 01/19/2012 08:03 AM, I.S.C. William wrote:
> Please help my in this line Iptables interpret in Shorewall ..
> How do Shorewall ? this 2 line Iptables in shorewall ..
> *LAN=eth0*
> */sbin/iptables -t nat -A POSTROUTING -o $LAN -d
> -j LOG --log-prefix " *
> *--out --"*

This exact rule cannot be created in Shorewall. You need this in

LOG all lan:

where 'lan' is the zone associated with eth0.
> *
> *
> */sbin/iptables -t nat -A POSTROUTING -s
> -o $LAN -d192.160.0.0/16 -j *

In /etc/shorewall/masq:


-- 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 \________________________________________________

Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!

Shorewall-users mailing list