Posted on 2009-07-07 18:22:16-07 by pranaysharmadelhi
ipTables rule to block a port for all internal IP Addresses except one
Hi, I have a Virtual Dedicated Server with 6IP Addresses. 1 for the server and 5 for other websites. I want to block the access to port 9999(control panel) and 22(SSH) for all IP Addresses except 1. Remember, they are internal IP Addresses not external. So that http://w1.x1.y1.z1:9999 is accessible but http://w2.x2.y2.z2:9999 http://w3.x3.y3.z3:9999 http://w4.x4.y4.z4:9999 http://w5.x5.y5.z5:9999 http://w6.x6.y6.z6:9999 do not work. Please help
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.