1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
| #
# Sample netperm configuration table
#
# To get a good sample working netperm-table, just globally
# substitute YOURNET for your network address (e.g.; 666.777.888)
#
# Example netacl rules:
# ---------------------
# if the next 2 lines are uncommented, people can get a login prompt
# on the firewall machine through the telnet proxy
#netacl-telnetd: permit-hosts 127.0.0.1 -exec /usr/libexec/telnetd
#netacl-telnetd: permit-hosts YOURADDRESS 198.6.73.2 -exec /usr/libexec/telnetd
#
# if the next line is uncommented, the telnet proxy is available
#netacl-telnetd: permit-hosts * -exec /usr/local/etc/tn-gw
#
# if the next 2 lines are uncommented, people can get a login prompt
# on the firewall machine through the rlogin proxy
#netacl-rlogind: permit-hosts 127.0.0.1 -exec /usr/libexec/rlogind -a
#netacl-rlogind: permit-hosts YOURADDRESS 198.6.73.2 -exec /usr/libexec/rlogind -a
#
# if the next line is uncommented, the rlogin proxy is available
#netacl-rlogind: permit-hosts * -exec /usr/local/etc/rlogin-gw
#
# to enable finger service uncomment these 2 lines
netacl-fingerd: permit-hosts *.*.*.* -exec /usr/libexec/fingerd
netacl-fingerd: permit-hosts * -exec /bin/cat /usr/local/etc/finger.txt
# Example smap rules:
# -------------------
smap, smapd: userid 6
smap, smapd: directory /var/spool/smap
smapd: executable /usr/local/etc/smapd
smapd: sendmail /usr/sbin/sendmail
smap: timeout 3600
# Example ftp gateway rules:
# --------------------------
#ftp-gw: denial-msg /usr/local/etc/ftp-deny.txt
#ftp-gw: welcome-msg /usr/local/etc/ftp-welcome.txt
#ftp-gw: help-msg /usr/local/etc/ftp-help.txt
ftp-gw: timeout 3600
# uncomment the following line if you want internal users to be
# able to do FTP with the internet
#ftp-gw: permit-hosts YOURNET.*
# uncomment the following line if you want external users to be
# able to do FTP with the internal network using authentication
#ftp-gw: permit-hosts * -authall -log { retr stor }
# Example telnet gateway rules:
# -----------------------------
tn-gw: denial-msg /usr/local/etc/tn-deny.txt
tn-gw: welcome-msg /usr/local/etc/tn-welcome.txt
tn-gw: help-msg /usr/local/etc/tn-help.txt
tn-gw: timeout 3600
tn-gw: permit-hosts 81.57.* -passok -xok
# if this line is uncommented incoming traffic is permitted WITH
# authentication required
tn-gw: permit-hosts * -auth
# Example rlogin gateway rules:
# -----------------------------
#rlogin-gw: denial-msg /usr/local/etc/rlogin-deny.txt
#rlogin-gw: welcome-msg /usr/local/etc/rlogin-welcome.txt
#rlogin-gw: help-msg /usr/local/etc/rlogin-help.txt
#rlogin-gw: timeout 3600
#rlogin-gw: permit-hosts 81.57.*.* -passok -xok
# if this line is uncommented incoming traffic is permitted WITH
# authentication required
#rlogin-gw: permit-hosts * -auth -xok
# Example auth server and client rules
# ------------------------------------
authsrv: hosts 127.0.0.1
authsrv: database /usr/local/etc/fw-authdb
authsrv: permit-hosts * # Autorisation d'acces a tous le monde
authsrv: badsleep 1200
authsrv: nobogus true
# clients using the auth server
*: authserver 127.0.0.1 7777
# X-forwarder rules
tn-gw, rlogin-gw: xforwarder /usr/local/etc/x-gw
# NetNews Pluged gateway
plug-gw: timeout 3600
# Declaration de redirection pop3 - 25, smtp - 110
#plug-gw:port 110 *.*.*.* -plug-to pop.log.intra.titi.fr -port 110
#plug-gw:port 25 *.*.*.* -plug-to mail.log.intra.titi.fr -port 25
#plug-gw: permit-hosts * -authall -log
#plug-pop3: port 110 *.*.*.* -plug-to pop.log.intra.titi.fr -port 110
#plug-smtp: port 25 *.*.*.* -plug-to mail.log.intra.titi.fr -port 25
#plug-rs6000: port ibm-mqseries usphi2 -plug-to rs6000 -port ibm-mqseries
#plug-usphi2: port ibm-mqseries rs6000 -plug-to usphi2 -port ibm-mqseries
#plug-usphi2: port 5900 210.205.150.* -plug-to usphi2 -port 5900
#plug-usphi2: port 5900 81.57.156.* -plug-to usphi2 -port 5900
#plug-usphi2: port 5900 210.205.136.* -plug-to usphi2 -port 5900
#plug-usphi2: port 5000 210.205.136.* -plug-to usphi2 -port 5000
#plug-usphi2: port 5000 81.57.156.* -plug-to usphi2 -port 5000
#plug-insa1: port 5900 81.57.156.* -plug-to N017 -port 5900
#plug-insa1: port 5900 210.205.150.* -plug-to N017 -port 5900
#plug-insa1: port 5900 210.205.136.* -plug-to N017 -port 5900
#plug-insa2: port 5900 210.210.150.* -plug-to FRPIS01 -port 5900
#plug-insa2: port 5900 81.57.156.* -plug-to FRPIS01 -port 5900
#plug-insa2: port 5900 210.205.136.* -plug-to FRPIS01 -port 5900
#######################################################################################
plug-proxy1: port 443 192.168.95.* -plug-to wts01.post.ch -port 443
plug-proxy1: port 443 81.57.*.* -plug-to wts01.post.ch -port 443
plug-proxy2: port 443 192.168.95.* -plug-to wts02.post.ch -port 443
plug-proxy2: port 443 81.57.*.* -plug-to wts02.post.ch -port 443
##swisspost
plug-proxy3: port 80 *.*.*.* -plug-to lisa.swisspostnet.com -port 80
plug-proxy31: port 443 *.*.*.* -plug-to lisa.swisspostnet.com -port 443
plug-proxy4: port 80 *.*.*.* -plug-to www.swisspostnet.com -port 80
plug-proxy41: port 443 *.*.*.* -plug-to www.swisspostnet.com -port 443
plug-proxy5: port 80 *.*.*.* -plug-to www.swisspost.com -port 80
plug-proxy51: port 443 *.*.*.* -plug-to www.swisspost.com -port 443
plug-proxy81: port 80 *.*.*.* -plug-to 81.57.155.110 -port 81
#plug-proxy100: port 80 *.*.*.* -plug-to my.swisspostnet.com -port 80
#plug-proxy101: port 443 *.*.*.* -plug-to my.swisspostnet.com -port 443
plug-gw1: port 443 *.*.*.* -plug-to my.swisspostnet.com -ssl
plug-proxy6: port 80 *.*.*.* -plug-to quizz.pompom.fr -port 80
plug-pop3: port 110 *.*.*.* -plug-to pop.log.intra.laposte.fr -port 110
plug-smtp: port 25 *.*.*.* -plug-to mail.log.intra.laposte.fr -port 25
plug-capev: port 443 *.*.*.* -plug-to sgwy.ipc.be -port 443
plug-proxy7: port 443 *.*.*.* -plug-to rp.swisspostnet.com -port 443
plug-proxy8: port 443 *.*.*.* -plug-to sgate1.post.ch -port 443
plug-proxy9: port 443 *.*.*.* -plug-to sgate2.post.ch -port 443
#
plug-proxy102: port 10010 *.*.*.* -plug-to myint.swisspostnet.com -port 10010
pluog-proxy103: port 10011 *.*.*.* -plug-to myint.swisspostnet.com -port 10011
plug-proxy104: port 10010 *.*.*.* -plug-to my.swisspostnet.com -port 10010
plug-proxy105: port 10011 *.*.*.* -plug-to my.swisspostnet.com -port 10011
plug-proxy106: port 80 *.*.*.* -plug-to my.swisspostnet.com -port 80
plug-proxy107: port 443 *.*.*.* -plug-to my.swisspostnet.com -port 443
plug-proxy108: port 5730 *.*.*.* -plug-to 211.4.1.240 -port 5730
plug-proxy109: port 80 *.*.*.* -plug-to 196.76.136.11 -port 80
plug-proxy110: port 443 *.*.*.* -plug-to 196.76.136.11 -port 443
plug-proxy111: port 1494 *.*.*.* -plug-to 196.76.136.11 -port 1494
plug-proxy112: port 1495 *.*.*.* -plug-to 196.76.136.11 -port 1495
plug-proxy113: port 2598 *.*.*.* -plug-to 196.76.136.11 -port 2598
plug-proxy114: port 80 *.*.*.* -plug-to 196.123.160.12 -port 80
plug-proxy115: port 443 *.*.*.* -plug-to 196.123.160.12 -port 443
plug-proxy116: port 1494 *.*.*.* -plug-to 196.123.160.12 -port 1494
plug-proxy117: port 1495 *.*.*.* -plug-to 196.123.160.12 -port 1495
plug-proxy118: port 2598 *.*.*.* -plug-to 196.123.160.12 -port 2598
######################################################################################
http-gw: timeout 3600 timeout avant la deconnexion
http-gw: directory /var/httproot environnement chrooté
#http-gw default-policy -nojava -nojavascript -noactivex par defaut, supprime java, js et ocx
#http-gw: deny-hosts unknown *.hacker.com interdit les machines non résolvables
http-gw: permit-hosts *.*.*.* -java autorise Java pour ces machines
#http-gw: permit-hosts 2.2.2.* -permit nomfonction autorise cette fonction
#http-gw: permit-hosts 3.3.3.* -deny nomfonction interdit cette fonction
#http-gw: permit-hosts 5.5.5.* -log nomfonction logue les appels à cette fonction
#http-gw: permit-hosts *.*.*.* -dest * ces machines pourront se connecter sur les serveurs
http-gw: permit-hosts 81.57.*.* -dest wwwpublic.dci.local
plug-gw: port 443 81.57.152.* -plug-to wwwpublic.dci.local -ssl
# CT le 13/06/2006
# Passerelle inerne pour la poste.net
plug-smtpnet: port 25 *.*.*.* -plug-to smtp.laposte.net -port 25
plug-popnet: port 110 *.*.*.* -plug-to pop.laposte.net -port 110 |
Partager