Results 1 to 4 of 4

Thread: Secured Iptable!

  1. #1

    Exclamation Secured Iptable!

    Hello!

    I need help!
    I have got a Wl-500gp v2 router.
    I need iptable with secure.
    Every day somebody try to login or connent to my server.
    I have 2 idea:
    - 3x attempt, next will block, logg to backlist and no more connection from ip.
    - 3x attempt, next will block at 3 minute, logg to backlist and you can try again.

    Please help my!
    Thanks

  2. #2
    Quote Originally Posted by Slyr View Post
    Hello!

    I need help!
    I have got a Wl-500gp v2 router.
    I need iptable with secure.
    Every day somebody try to login or connent to my server.
    I have 2 idea:
    - 3x attempt, next will block, logg to backlist and no more connection from ip.
    - 3x attempt, next will block at 3 minute, logg to backlist and you can try again.

    Please help my!
    Thanks
    Your idea has been already patented.
    Interactive, dynamic firewall.

    Darius

  3. #3

    !

    Do not think very difficult solution.

    I have these firewall codes, but do not works:

    1,
    ptables -A INPUT -p tcp ?dport 22 -s 192.168.1.107 -j ACCEPT
    iptables -A INPUT -i $EXT_IF -d IPCIMED -p tcp --dport 22 -m recent --rcheck --seconds 60 --hitcount 6 --name SSH -j LOG --log-prefix "SSH_BruteForce "
    iptables -A INPUT -i $EXT_IF -d IPCIMED -p tcp --dport 22 -m recent --update --seconds 60 --hitcount 6 --name SSH -j DROP
    iptables -A INPUT -i $EXT_IF -d IPCIMED -p tcp --syn --dport 22 -m state --state NEW -m recent --set --name SSH -j ACCEPT


    2,
    iptables -N SSHSCAN
    iptables -A INPUT -p tcp --dport 22 -m state Ėstate NEW -j SSHSCAN
    iptables -A SSHSCAN -m recent Ėset Ėname SSH
    iptables -A SSHSCAN -m recent Ėupdate Ėseconds 300 Ėhitcount 3 Ėname SSH -j DROP


    Can anybody help?

  4. #4
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259

Similar Threads

  1. Replies: 13
    Last Post: 12-11-2009, 11:14
  2. Iptable port opening problem
    By e2rdvonc in forum WL-500gP Q&A
    Replies: 1
    Last Post: 02-11-2008, 18:30
  3. Расскажите про iptable
    By ANVIL in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 5
    Last Post: 26-10-2007, 21:43
  4. Connection problems with P2P Games and some other stuff :[
    By LemonsMadeMyDay in forum WL-500gP Q&A
    Replies: 0
    Last Post: 09-05-2007, 17:36
  5. GUI for Iptable & Oleg Firmware
    By Robinton in forum WL-500g Q&A
    Replies: 3
    Last Post: 07-02-2006, 15:30

Posting Permissions

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