disable firewall on COREOS

Discussion in 'Tech Discussion' started by hajiko, May 7, 2018.

  1. hajiko

    hajiko m(_._)m

    Joined:
    Mar 21, 2016
    Messages:
    398
    Likes Received:
    105
    Reading List:
    Link
    Just like written in the Title does anyone knows how to disable the firewall on COREOS
     
  2. ubergeek1812

    ubergeek1812 Active Member

    Joined:
    Dec 7, 2016
    Messages:
    6
    Likes Received:
    3
    Reading List:
    Link
    iptables or selinux?
    iptables: "chkconfig ipchains off" and "chkconfig iptables off"
    for selinux "setenforce 0"
    first check "sestatus | grep -i mode" if Current mode: enforcing

    works for RHEL dunno for coreOS
     
    Last edited: May 7, 2018
    AkeShiro and prongsjiisan like this.
  3. hajiko

    hajiko m(_._)m

    Joined:
    Mar 21, 2016
    Messages:
    398
    Likes Received:
    105
    Reading List:
    Link
    iptables
    already tried
    service stop iptables
    service disable iptables
    and
    systemctl stop iptables
    systemctl disable iptables

    which lead to
    Failed to stop iptables.service: Unit iptables.service not loaded.
    and no output which led to that it was still enabled after an reboot
     
  4. ubergeek1812

    ubergeek1812 Active Member

    Joined:
    Dec 7, 2016
    Messages:
    6
    Likes Received:
    3
    Reading List:
    Link
    Sorry mate, i am not a jedi. Just walking around.

    Anyway its better to not turn off any Firewall...
     
  5. ogdyolnafets

    ogdyolnafets Well-Known Member

    Joined:
    Jan 17, 2016
    Messages:
    102
    Likes Received:
    54
    Reading List:
    Link
    Ask youtube
     
  6. hajiko

    hajiko m(_._)m

    Joined:
    Mar 21, 2016
    Messages:
    398
    Likes Received:
    105
    Reading List:
    Link
    dont mind in a normal network it would be so to be better to not turn off a firewall but it always depends on the network you are working on
     
  7. prongsjiisan

    prongsjiisan Apostle of Violence

    Joined:
    Dec 8, 2015
    Messages:
    3,071
    Likes Received:
    4,366
    Reading List:
    Link
    Firewal was there for reason. Try other distros if you want firewall free

    And never try Core OS. Ubuntu and x86 Android Noob here
     
    AkeShiro likes this.
  8. Jeebus

    Jeebus Well-Known Member

    Joined:
    Jun 20, 2017
    Messages:
    904
    Likes Received:
    780
    Reading List:
    Link
    Are you sure you have a firewall enabled in the first place?

    CoreOS is made to be used as a container, thus it is lacking a lot of tools that often come bundled with consumer versions of Linux. I know that past versions of CoreOS came with no firewall rules. I haven't played around with it for the last year or so, so that may have changed.

    This may be of use to you: https://www.jimmycuadra.com/posts/securing-coreos-with-iptables/

    It explains how to use cloud-config with iptables.
     
    Last edited: May 7, 2018
  9. Hahhaa

    Hahhaa hereby irrevocably & perpetually waives all moral

    Joined:
    Oct 20, 2015
    Messages:
    563
    Likes Received:
    551
    Reading List:
    Link
    I'm not using coreos, but to see if iptables service actually running or not, try
    systemctl status iptables.service

    to stop;
    systemctl stop iptables.service
    but this is not permanent and will restart after reboot

    systemctl disable iptables.service
    should work, but not tested. good luck googling.
     
    ubergeek1812 likes this.