[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Safety while network install.



On Nov 20, 3:20 pm, Sthu Deus <sthu.d...@gmail.com> wrote:
> Good time of the day.
>
> I'm concerned on safety of install over network (the netinst) - what
> techniques are used to protect the installed system during the very
> process of installation?
>
a single machine connected to the internet:

moving to
cd /usr/local/bin


LIKE ROOT

open nano
# nano

write:

#############################

#!/bin/sh
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -p tcp --syn DROP

##################################

control + o > write firewall name, for instance "firewall.sh"
enter
control + x

give permission
# chmod +x firewall.sh

to do automaticaly
# nano /etc/rc.local
(write before "exit 0")
/usr/local/bin/firewall.sh
control + o
enter
control + x

now:
# reboot


again in terminal:

$ lsmod > see iptables working.

Good Luck !

===============================================

> Or it includes some risk for the install and therefore media (kind of
> disk) is a preferred installation method?
>
> Thanks for Your time.
>
> --
> To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4ec93549.879acc0a.43d1.ffffc...@mx.google.com


Reply to: