1.1.0 • Published 10 months ago

@gibme/iptables v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Simple IPTables helper/wrapper

Documentation

https://gibme-npm.github.io/iptables/

Sample Code

import IPTables from '@gibme/iptables';

(async() => {
    const firewall = new IPTables({
        chain: 'INPUT' // dangerous during flush
    });
    
    await firewall.add('8.8.8.8', 'DROP');
    
    await firewall.addInterface('eth2', 'DROP');
    
    await firewall.delete('8.8.8.8');
    
    await firewall.deleteInterface('eth2');
})();
1.1.0

10 months ago

1.0.10

11 months ago

1.0.6

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago