/
How do I use Iptables in Linux?
How do I use Iptables in Linux?
Problem
I need to setup iptables on my spinup server
Solution
Iptables is a utility that comes standard in secure linux servers. It provides a host-level firewall that is separate from any external firewalls (security group in amazon, or yale's firewall in our datacenters).
Note that if you are using a server in a high-risk space (from CIS image) iptables is used on both CentOS and Ubuntu servers, i.e. Ubuntu does not use ufw and it will show inactive.
Please follow any of these guides for assistance with setting up iptables
Best Practices
- Keep iptables enabled on any server that needs to be secure
- Only allow particular IPs and ports. Do not just allow everything (0.0.0.0/0)
- Save your Iptables rules after modification . "sudo service iptables save"
Related articles
, multiple selections available,
Related content
How do I connect to a Linux server?
How do I connect to a Linux server?
Read with this
How do I use nftables in Linux?
How do I use nftables in Linux?
More like this
How do I use the Firewall in Spinup Spaces?
How do I use the Firewall in Spinup Spaces?
Read with this
Getting Started with Spinup
Getting Started with Spinup
Read with this
Spinup Quick Start Guide
Spinup Quick Start Guide
More like this
Spinup Self-service
Spinup Self-service
Read with this