How to import a single rule chain?

Anonymous
2011-11-04
2013-03-05
  • Anonymous - 2011-11-04

    I typically create/edit my rules in FWB itslef.

    Occassionally, I import an existing/complete firewall

    Is it possible to import a set of rules to create a chain in an existing firewall?

    E.g., on the web, I'm given the following snippet:


    iptables -t mangle -N tosfix
    iptables -t mangle -A tosfix -p tcp -m length -length 0:512 -j RETURN
    iptables -t mangle -A tosfix -m limit -limit 2/s -limit-burst 10 -j RETURN
    iptables -t mangle -A tosfix -j TOS -set-tos Maximize-Throughput
    iptables -t mangle -A tosfix -j RETURN


    I'd like to import it for use in FWB.

    Can I , and how?

     
  • Mike Horn

    Mike Horn - 2011-11-05

    We do not currently support importing rules into an existing firewall.  If the rules are in iptables-save format you can import them, but this will create a new firewall that contains the rules you imported.  You could then copy-and-paste these imported rules to another firewall.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks