Menu

rule mess

Help
Bineo
2007-12-23
2012-12-07
  • Bineo

    Bineo - 2007-12-23

    hi,

    How can i configure that everything from LAN to Internet is possible except some services.
    Like bittorrent and stuff.

    I thought i could make a rule that masquerades everything to the internet an then another one
    that drops service bittorrent. But that doesn't work :(

    I don't look through :(

     
    • Bineo

      Bineo - 2007-12-24

      What about the order of the rules ?
      How are they porcessed ? top-down ?

      I just don't want to enable any damn service. I want to allow everything
      except some services. Is this possible ?

       
      • Victor Julien

        Victor Julien - 2008-01-02

        Bineo, please stay polite on this forum.

        Rules are processed from top to bottom. If you have a drop rule before an accept rule, the drop rule will match.

         
    • Victor Julien

      Victor Julien - 2008-01-02

      To accept all except some services, do:

      drop service bittorrent from local.lan to world.inet
      accept service any from local.lan to world.inet
      snat service any from local.lan to world.inet

      Hope this helps,
      Victor

       

Log in to post a comment.