Arrismog
asked on
how do I allow specific ip addresses for xx port using iptables?
Good day experts
I currently have a Websphere Application Server running on Linux SLES 10 SP2, I access the administrative console through port 9060. Although I have enabled security to access the admin console, I would also like to filter access by allowing only certain ip addresses through that port.
Would someone guide me how to accomplish this through iptables? I've already read some docs about iptables and how rules/chains/targets work but I'm still new with this command
Thanks in advance
I currently have a Websphere Application Server running on Linux SLES 10 SP2, I access the administrative console through port 9060. Although I have enabled security to access the admin console, I would also like to filter access by allowing only certain ip addresses through that port.
Would someone guide me how to accomplish this through iptables? I've already read some docs about iptables and how rules/chains/targets work but I'm still new with this command
Thanks in advance
or just reload the rule:
/etc/init.d/SuSEfirewall2_ setup reload
/etc/init.d/SuSEfirewall2_
ASKER
@jackiechen858:
Thanks! is there any way to do it by iptables command?
Thanks! is there any way to do it by iptables command?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It worked, thanks a lot!
find FW_SERVICES_ACCEPT_EXT, and add something like:
FW_SERVICES_ACCEPT_EXT="aa
the restart firewall:
/etc/init.d/SuSEfirewall2_