Example TELGUEST.ACL

TELGUEST.ACL
# TELGUEST.ACL -- TELNET Guest Egress Control File (Optional)
#
# Controls which destinations are allowed to be accessed by
# "guest" users using the TELNET command. See MAN TELGUEST.ACL
#
# Fields: <action> <source_ip>[/mask] <dest_ip>[/mask] <dest_port(s)>
#
# <action>      PERMIT  Allow egress
#               DENY    Prevent egress
# <source_ip>   IP address of uplinked user
# <dest_ip>     IP address of target system
# <mask>        Either: No. of bits (0-32) to match from left to right
#               Or:     Subnet mask in form n.n.n.n
# <port(s)>     One or more TCP service numbers (0-65535).  Allowed
#               formats are "n", "n,n,n", "n-n" or combination thereof.
#
;
; Allow LAN users to telnet to anyone:
PERMIT 192.168.0.0/24  0.0.0.0/0  0-65535
;
; Allow Internet users to telnet only to ports 23
; and 80 on the BBS machine:
PERMIT 0.0.0.0/0  192.168.0.4  80,23
;
; Allow Amprnet users to access any Amprnet destination
PERMIT 44.0.0.0/8  44.0.0.0/8  0-65535