File: basic.cf

package info (click to toggle)
conserver 8.2.1-1
  • links: PTS
  • area: non-free
  • in suites: stretch
  • size: 1,836 kB
  • ctags: 1,314
  • sloc: ansic: 22,099; sh: 3,507; makefile: 278
file content (28 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (9)
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
#
# This is a fairly basic configuration file that interacts with one
# terminal server.
#

# first, we're going to set some generic console defaults so that we
# don't have to duplicate them for each console.
default * {
	logfile /var/consoles/&;	# '&' is replaced with console name
	timestamp 1hab;			# write timestamps
	rw *;				# allow all users
	master localhost;
	type host;
	host ts1.conserver.com;		# consoles on ts1.conserver.co
	portbase 2000;			# port numbers start at 2001 and
	portinc 1;			# go up by 1 (port #1 == 2001, etc)
}

# define two consoles on the terminal server
console web1.conserver.com { port 2; }	# calculates to tcp port 2002
console ns1.conserver.com { port 10; }	# calculates to tcp port 2010

# set up the an access list to avoid the default
# anything *not* matched here will fallback to the default access (-a)
# mode
access * {
	trusted 127.0.0.1;
}