need iptables script files to reinstall...I think

Discussion in 'PBX in a Flash 3' started by sedgington, Jan 10, 2019.

  1. sedgington

    sedgington New Member

    Joined:
    Jul 1, 2009
    Messages:
    5
    Likes Received:
    1
    Hi,
    I've been running this for quite some time with no issues but the iptables always are down when I run pbxstatus:
    upload_2019-1-10_13-23-0.png

    From a similiar thread from someone running on Centos, it appears I need to reinstall hosed iptables:

    https://pbxinaflash.com/community/threads/iptables-problems.17631/

    Code:
     grep "sed -i" /root/add-ip
    sed -i '/# End of Trusted Provider Section/r '$tmpfile'' /etc/iptables/rules.v4
     sed -i '\:// New entry for '$acct':,\:// End entry for '$acct':d' /etc/iptables/rules.v4
    WARNING: Always run Incredible PBX VM behind a secure hardware-based firewall. 
    
    also I have no iptables in /etc/sysconfig
    although all the iptable commands seem to run--or at least don't throw an error except
    Code:
    ./del-acct
    

    because there is nothing to delete.

    Could someone please send me the links to install these scripts, or diagnose my problem in another way?
    Many thanks in advance