Questions tagged [iptables]

IPTables is an application that allows administrators to configure the packet processing tables provided by the Linux kernel firewall. Use this tag only for questions on programming with IPTables.

Filter by
Sorted by
Tagged with
2
votes
0answers
49 views

SSH rate limiting using Puppet firewall module

I used to do simple SSH rate limiting using an UFW Puppet module. To get more flexible blocking I've changed to using the official firewall module instead. Are there any significant issues with the ...
2
votes
1answer
61 views

IPtables for webserver with SSH

I've had a bit of help but I'm still a bit unsure. I have an nginx webserver with SSH only required. I wrote this rule set based on information I found on the internet: ...
11
votes
3answers
565 views

Iptables Lockdown

I have nginx serving files with uwsgi and I wanted to lock my server down just to allow SSH and Nginx to run. ...
2
votes
2answers
4k views

Python class to abstract the iptables Linux firewall

I've written the following Python class that fetches iptables rules using basic string processing in Linux. Am I doing this in the correct manner? I've tested the code and it's running fine. I'm ...