Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
iptables
Results 1 to 2 of 2

Thread: iptables

  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.
    Frrkh hmd

Similar Threads

  1. iptables
    By digitalspy99 in forum Linux - General Topics
    Replies: 1
    Last Post: 08-05-2008, 03:42 AM
  2. Need help with iptables
    By Pioneo in forum Linux - Software, Applications & Programming
    Replies: 17
    Last Post: 04-28-2008, 01:33 AM
  3. GUI for iptables???
    By SwampDonkey in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 12-13-2002, 12:50 PM
  4. Where do iptables go?
    By flashingcurser in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 08-14-2002, 08:37 PM
  5. iptables
    By elovkoff in forum Security
    Replies: 9
    Last Post: 03-19-2002, 02:23 PM

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
  •