Are firewall rules effective for all users?

Discussion in 'all things UNIX' started by lurningcerv, Oct 20, 2014.

  1. lurningcerv

    lurningcerv Registered Member

    Joined:
    Dec 27, 2011
    Posts:
    87
    I put in some basic iptables and ip6tables rules as administrative user (Ubuntu, from command line). Will those rules be in effect for other users? If not, how do I make them effective for all users?
     
  2. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    6,031
    They apply to all users.

    But how did you apply them? With just "iptables ..." they don't persist after reboot. In Debian family, the easiest way uses the package iptables-persistent.
     
Loading...