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 (13 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, 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.

    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>