Hi

I'm just getting started doing my own firewall and using Shorewall.

When I look at examples in "raw" iptables code I can see how to do
inbound-only and outbound-only rules.

I'd use

    iptables -i eth0 ...

or

    iptables -o eth0 ...

How do you do the same thing in Shorewall?

I'm not sure just looking at the columns in the "rules" file

    #ACTION SOURCE DEST PROTO DEST SOURCE  ORIGINAL RATE  USER/ MARK
    CONNLIMIT TIME HEADERS SWITCH HELPER
    #                         PORT PORT(S) DEST     LIMIT GROUP

So for example if I want to block ONLY outbound traffic with DEST PORT =
10, and SOURCE PORT = 20 crossing eth0 but allow inbound
what's the format for the rule?

Sorry if I'm missing something obvious. :-/

Aaron

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to