File:
[LON-CAPA] /
doc /
install /
linux /
debian-ubuntu /
iptables.loncapa.rules
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Sun Apr 24 02:11:27 2011 UTC (14 years ago) by
raeburn
Branches:
MAIN
CVS tags:
version_2_12_X,
version_2_11_X,
version_2_11_6_msu,
version_2_11_6,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1,
version_2_11_0,
version_2_10_X,
version_2_10_1,
version_2_10_0,
loncapaMITrelate_1,
language_hyphenation_merge,
language_hyphenation,
HEAD,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse,
BZ4492-feature_Support_horizontal_radioresponse,
BZ4492-Support_horizontal_radioresponse
- Enable use of a single install.tar file for all supported Linux
distros/versions when preparing systems for LON-CAPA installation.
- files needed for installation:
(a) file needed by all distros - pwauth-2.2.8.tar.gz - found in $instdir
(b) files specific to different distros - found in:
$instdir/centos-rhes-fedora-sl, $instdir/debian-ubuntu,
$instdir/sles-suse, and $instdir/rhes4.
*filter
# Allows all loopback (lo0) traffic
-A INPUT -i lo -j ACCEPT
# Accepts all established inbound connections
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# Allows all outbound traffic
-A OUTPUT -j ACCEPT
# Allows HTTP and HTTPS connections
-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 443 -j ACCEPT
# Allows SSH connections
#
-A INPUT -p tcp -m state --state NEW --dport 22 -j ACCEPT
# Reject all other inbound
-A INPUT -j REJECT
-A FORWARD -j REJECT
COMMIT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>