Results 1 to 7 of 7

Thread: How to use IP Tables setting on Linux LAN

  1. #1
    Join Date
    Mar 2010
    Posts
    203

    How to use IP Tables setting on Linux LAN

    Hi,
    Can anyone state me the simply of working with IPTables to prevent direct internet virus attacks on Linux. This has become really tough for me where I had failed to configure my system properly and deny all the attacks in the same manner. As network guy I just need to ensure that not attacks can enter the network easily. The most annoying issue today of me is the DoS overloading.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,424

    Re: How to use IP Tables setting on Linux LAN

    IP Tables is the filtering tool for a new generation is one of many new Linux kernel 2.4.x However, you can still use ipchains with 2.4 but you'd better forget it, iptables is faster, more flexible, scalable and can do many other things, such as: Source NAT, Destination NAT, avoid multiple forms of attacks by overloading of Service (DoS Denial of Service), and more.

  3. #3
    Join Date
    Apr 2008
    Posts
    3,339

    Re: How to use IP Tables setting on Linux LAN

    You will first need to read the script of IPTables to get better functioning ability. A new option - reject-with tcp-reset can make the firewall completely transparent vis-a-vis ort scanners. If you want to do the same thing with ipchains, you will need the devil Return-RST). As you see, a basic IPTables script is not really different from ipchains. And if you want to make things more complicated, iptables will be more comfortable ipchains.

  4. #4
    Join Date
    Jan 2006
    Posts
    4,221

    Re: How to use IP Tables setting on Linux LAN

    If you have trouble with name resolution is that you have discarded too many UDP ports. If you are not using a local name server, random UDP ports (above 1024), will be used by the libc for name resolution, that is why you must leave open the ports above 1024 This is not a satisfactory security standpoint. To have control over these UDP ports, you must install a name server (BIND 8.x or 9.x), and add the line query-source address port 53; in named.conf to set the port to serve DNS requests to 53. After that, you just open port 53 on your firewall (you can also use a port other than 53).

  5. #5
    Join Date
    Jan 2006
    Posts
    3,792

    Re: How to use IP Tables setting on Linux LAN

    One of the most important things is to secure the TCP Wrappers. Indeed, a basic installation will enable many services (launched by inetd) that you never use. Remember that most services enabled, means more potential security holes. So edit / etc / inetd.conf and delete any line that is not helpful. You should leave the service 'auth', to be able to obtain some additional information in case your system was used to attack another : It allows a server to know who the user is behind a socket which helps find the culprits.

  6. #6
    Join Date
    May 2008
    Posts
    2,945

    Re: How to use IP Tables setting on Linux LAN

    One of the most important things is to secure the TCP Wrappers. Indeed, a basic installation will enable many services (launched by inetd) that you never use. Remember that most services enabled, means more potential security holes. So edit / etc / inetd.conf and delete any line that is not helpful. You should leave the service 'auth', to be able to obtain some additional information in case your system was used to attack another : It allows a server to know who the user is behind a socket which helps find the culprits.

  7. #7
    Join Date
    Feb 2008
    Posts
    2,635

    Re: How to use IP Tables setting on Linux LAN

    Then, if you really need some services like ftp, smtp, nntp, imap, pop-3, make sure they are run through the TCP Wrappers (/ usr / sbin / tcpd) and and that they are properly configured. For example, if FTP is initiated by the TCP Wrappers, you must have the following line in / etc / inetd.conf: ftp stream tcp nowait root / usr / sbin / tcpd in.ftpd-l-a.

Similar Threads

  1. Setting up software RAID on Linux
    By Deward in forum Operating Systems
    Replies: 4
    Last Post: 16-12-2010, 03:12 AM
  2. Need help in setting up HTPC on Linux
    By Hibiscus5 in forum Operating Systems
    Replies: 5
    Last Post: 04-11-2010, 12:24 PM
  3. Access internet setting in Linux
    By Amy Adams in forum Networking & Security
    Replies: 5
    Last Post: 22-03-2010, 11:22 AM
  4. Setting up a linux router
    By maratha in forum Networking & Security
    Replies: 3
    Last Post: 12-02-2009, 07:52 PM
  5. Setting up a computer for Linux
    By leon m in forum Operating Systems
    Replies: 6
    Last Post: 20-10-2008, 03:23 PM

Tags for this Thread

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
  •  
Page generated in 1,750,117,894.14276 seconds with 16 queries