Aji’s Journal

February 26, 2009

Iptables (Scratch)

Filed under: Network and Server — admin @ 10:04 am

I just want to access my web server from my local address:

iptables -I INPUT -p tcp --dport 80 -s ! 127.0.0.1 -j DROP -m comment --comment "Only for local address"

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress