firewalls

Firewalls

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Firewall
Lab
–
Using
Backtrack
and
iptables/netfilter
 Starting
Apache
 • apachectl
start
 Starting
sshd
 • type
in
the
konsole
 o /usr/sbin/sshd‐generate
 o /usr/sbin/sshd
 vsftpd
–
Downloading,
Installing,
and
Running
 • type
in
the
konsole
 o wget
ftp://vsftpd.beasts.org/users/cevans/vsftpd‐2.1.0.tar.gz
 o tar
zxf
vsftp‐2.1.0.tar.gz
 o cd
vsftp‐2.1.0
 o make
 o useradd
nobody
 o mkdir
/usr/share/empty
 o mkdir
/var/ftp
 o usermod
–d
/var/ftp
ftp
 o chown
root.root
/var/ftp
 o chmod
og‐w
/var/ftp
 o make
install
 o cp
vsftpd.conf
/etc/.
 o nano
–w
/etc/vsftpd.conf
 make
sure
there
is
a
line
that
says
 • listen=YES
 o /usr/local/sbin/vsftpd
&
 iptables
 • • • View
the
current
rules
with
the
following
command
 o iptables
–L
–‐line‐numbers
‐n
 Lock
down
the
INP...
View Full Document

This document was uploaded on 09/13/2010.

Ask a homework question - tutors are online