Annotation of doc/install/linux/debian-ubuntu/iptables.loncapa.rules, revision 1.1
1.1 ! raeburn 1: *filter
! 2:
! 3: # Allows all loopback (lo0) traffic
! 4: -A INPUT -i lo -j ACCEPT
! 5:
! 6: # Accepts all established inbound connections
! 7: -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
! 8:
! 9: # Allows all outbound traffic
! 10: -A OUTPUT -j ACCEPT
! 11:
! 12: # Allows HTTP and HTTPS connections
! 13: -A INPUT -p tcp --dport 80 -j ACCEPT
! 14: -A INPUT -p tcp --dport 443 -j ACCEPT
! 15:
! 16: # Allows SSH connections
! 17: #
! 18: -A INPUT -p tcp -m state --state NEW --dport 22 -j ACCEPT
! 19:
! 20: # Reject all other inbound
! 21: -A INPUT -j REJECT
! 22: -A FORWARD -j REJECT
! 23:
! 24: COMMIT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>