john Paul Tomas wrote: >Good day to all, > >Anybody can give me an idea on how to block a specific ip address? >I put this line on my rc.local > ipchains -A forward -j MASQ -s 192.168.0.0/16 -d 0.0.0.0/0 > >Now I wanna block a specific ip on all services. like 192.168.2.200 > > >thanks > > Hi Mr Tomas,
if my guess is correct, you can put ipchains -A REJECT -s 192.168.2.200/255 -d 0.0.0.0/0 above the line containing your forward everything command =) -- ============================================================ Jessie Evangelista<[EMAIL PROTECTED]> Developer, SMetrix Inc. ,Philippines Tel no.: +6328438064 ============================================================ _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
