hnad
asked on
inputting IPTABLES rule help
Hi
I've basically firewalled off everything except for SSH and Mail on a redhat server just using the security gui in gnome.
However I need to allow localhost to accept on 10025.
What would be the iptables command to insert this into the iptables rules?
Thanks
I've basically firewalled off everything except for SSH and Mail on a redhat server just using the security gui in gnome.
However I need to allow localhost to accept on 10025.
What would be the iptables command to insert this into the iptables rules?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The rule above will do that, and as I pointed out the kernel will ensure that the localhost IP can only be accessed from the local machine. This is true of all systems that have a TCP/IP stack since all of those have a localhost at 127.0.0.1. And as the comment for that rule says, not having the localhost IP open for connections will break other things.
ASKER
ok thanks
Seems to be working ok.
:)
Seems to be working ok.
:)
ASKER
Thanks.