firewalls - /netfilter StartingApache apachectlstart...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
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 INPUT chain o iptables –A INPUT –p ip –j DROP o iptables –L –‐line‐numbers ‐n Allow connections that are already established or related o iptables –I INPUT –m state ‐‐state ESTABLISHED,RELATED –j ACCEPT o
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern