Outbound traffic filtering with: cgroups + tc + iptables.

Discussion in 'all things UNIX' started by MarkKx, Feb 13, 2016.

  1. MarkKx

    MarkKx Registered Member

    Joined:
    Feb 13, 2016
    Posts:
    13
    I spent a lot of time trying to implement outbound traffic filtering with: cgroups + tc + iptables on Debian Jessie. Unfortunately there is still something wrong.
    The biggest issue is:
    - cgroups install + config
    - net_cls subsystem implementation
    - packets marking with net_cls
    - appropriate (tc) traffic control konfiguration.
    - iptables OUTBOUND rules is already done.
    Briefly, network access only for marked (with net_cls) packets, next assigned to (created by tc) class and at least iptables roule like:
    -A OUTPUT -m cgroup --cgroup 3 -j ACCEPT

    I would appreciate any proffesional support.
    Mark.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.