[lxc-users] per user iptables set failed on unprivileged LXC container

tom zs68j2ee at gmail.com
Sun Mar 22 12:17:14 UTC 2015


when create unprivileged LXC container as non root user, execute iptables
below failed.


iptables -A OUTPUT -o ethX -m owner --uid-owner ubuntu -j REJECT


It seems iptables with "-m owner --uid-owner {USERNAME} " only can be
executed on privileged LXC container create by root on host.


Not sure if it's related to LXC container, or iptables self.


Best regards

  Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150322/5091f5ef/attachment.html>


More information about the lxc-users mailing list