TRY THIS How to stop Iptables Raspberry Pi 3B ?

Discussion in 'Open Discussion' started by grillovillegas, Jun 26, 2017.

  1. grillovillegas

    Joined:
    Feb 13, 2011
    Messages:
    302
    Likes Received:
    6
    Hi

    Just installed Raspbian Jessie with Incredible PBX 13-12.17 for Raspberry Pi 3B

    How can I stop iptables and fail2ban just for a few minutes to test a problematic extension ?

    Trying :

    [email protected]:~ $ service iptables stop
    Failed to stop iptables.service: Unit iptables.service not loaded.

    Also what is the command for the status window ?

    Thanks
     
    #1 grillovillegas, Jun 26, 2017
    Last edited by a moderator: Jun 26, 2017
  2. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,612
    Likes Received:
    2,489
    Code:
    /etc/init.d/netfilter-persistent stop
    service fail2ban stop
    
    To restart: iptables-restart
    
    Status window: pbxstatus
     
    grillovillegas likes this.
  3. grillovillegas

    Joined:
    Feb 13, 2011
    Messages:
    302
    Likes Received:
    6

    Thanks for the reply @wardmundy , that stoped fail2ban but not iptables

    And pbxstatus works perfect, thanks !!!!
     
  4. miguel

    miguel Member

    Joined:
    May 22, 2013
    Messages:
    276
    Likes Received:
    8
    How would I turn off iptables for good on raspi? could you please help me out? lets say the raspi reboots I would like for ip tables to be off always since I have a physical firewall only for sip.

    best regards,

    MN