firewalls

168002552552550ieth1j accept

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: the
ruleset.ipt
on
startup
 o nano
–w
/etc/rc.d/rc.local
 Append
the
following
lines:
 iptables‐restore
<
/etc/ruleset.ipt
 Adding
a
SSH
rule
 o iptables
–A
INPUT
–s
192.168.1.0/24
–p
tcp
‐‐dport
21
–j
ACCEPT
 Replacing
the
previous
rule
 
 o iptables
–L
‐‐line‐numbers
–n
 not
the
previous
rule’s
line
number...
View Full Document

This document was uploaded on 09/13/2010.

Ask a homework question - tutors are online