Send new rules to iptalbes via ssh
I am a beginner in Linux security and now I solve this problem:
Deployed server emulates a service on port 80 in front of him is a firewall (other ip)
that separates this server and LAN and the external network. the iptables firewall to open a port for input to server.
I need to create a script that would be me on the basis of access to the port on the server, sent through the firewall via ssh command that adds a blocking rule in iptables.
Alternatively, use a tool that this could do..
Can someone please help or advice? I would be very grateful
-
If you're not fluent in dealing with iptables directly, I'd recommend that you use either CSF or APF, both of which are frontends for iptables: [url=http://configserver.com/cp/csf.html]ConfigServer Security & Firewall 0 -
I also recommend using a firewall management tool such as CSF. I'm not sure I understand exactly the type of rule you want to add, but CSF should make adding whatever rule it is an easier task for you. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments