add route -host ip reject

Discussion in 'Installation/Configuration' started by pawan, Feb 26, 2011.

  1. pawan

    pawan Member HowtoForge Supporter

    Where the ip given in this command are saved. How can I take a backup of the rejected IPs means I have been using the command since long. In case any time I want to move to other server or reinstall everything I want to include these IPs in the blocked list.

    Regards
     
  2. pawan

    pawan Member HowtoForge Supporter

    Please help. I am using this command regularly to block suspicious ips from logs.

    I wanted to know where these blocked ips are stored/saved. so that I can take a backup of that file.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    When you run the "route" command without any options, it should list all routes that have been set on your server.
     
  4. pawan

    pawan Member HowtoForge Supporter

    Does it get reset, if the server is rebooted, as I didn't find any ips listed, which I have added in the past.

    also can I use etc/hosts.deny for blocking ips and this way the ips I have blocked will remain there even on reboot of server.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, it gets reset on reboot.

    Yes. But this requires that the applications have to read the hosts.deny file as this is not a block on network level as far as I know.
     

Share This Page