The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lost IPtables default entry

Discussion in 'General Discussion' started by mygregory, Mar 4, 2005.

  1. mygregory

    mygregory Active Member

    Joined:
    May 28, 2004
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Hello everyone,

    I recently flushed the INPUT table of my IPtables as it was building up with months of IPs from portsentry. I used IPTABLES -F INPUT. However this also removed the default line that is in INPUT. Dose anybody know what it normally is (Cpanel/Fedora) and the correct iptables command to restore it? Also what could have been the best command to issue to avoid deleting that line next time?

    I would much appreciate any help or pointers on this :)

    mygregory
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    unless you havent saved the iptables; a restart will retrieve all your iptables content.
     
  3. mygregory

    mygregory Active Member

    Joined:
    May 28, 2004
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Thanks

    Thanks for that. the iptables init script appears to start iptables as empty, however now some entries have magically appeared perhaps courtesy of cpanel or portsentry?

    Thanks again,

    mygregory :)
     
Loading...

Share This Page