Results 1 to 2 of 2

Thread: iptables

Hybrid View

  1. #1

    iptables

    What is the difference between

    iptables -A INPUT -j DROP and
    iptables -A INPUT-s 0.0.0.0/0 -j DROP?

    Will this deny any request for those who use this server as a gateway;

    if i use:

    iptables -A INPUT -s ip_address -j ACCEPT

    will i guarantee access to ip_address inside the server?

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear laci,
    Hello,

    iptables -A INPUT -j DROP and
    iptables -A INPUT-s 0.0.0.0/0 -j DROP?
    Nothing both rule doing same thing

    iptables -A INPUT -s ip_address -j ACCEPT
    Yes

    FYI, http://iptablesrocks.org

    Best Regards.
    Färrükh Ähmëd

Similar Threads

  1. iptables configuration for BIND
    By bkesting in forum Security
    Replies: 3
    Last Post: 01-27-2006, 01:21 PM
  2. LAN clients get connection denied by Apache
    By rhonneil in forum Linux - Hardware, Networking & Security
    Replies: 14
    Last Post: 11-12-2003, 10:28 AM
  3. Router not routing/masquerading. Why?
    By Anubis in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 03-21-2003, 11:05 PM
  4. Will masq work?
    By airhead in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 09-17-2002, 08:50 PM
  5. iptables script...
    By Mor_gath in forum Programming
    Replies: 5
    Last Post: 12-24-2001, 03:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •