File: crywrap.conf

package info (click to toggle)
crywrap 0.2.1-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 784 kB
  • ctags: 241
  • sloc: sh: 2,751; ansic: 1,979; makefile: 166
file content (34 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download | duplicates (2)
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
## -*- shell-script -*-
## arch-tag: a709d722-6dd7-4074-a988-de34e74d9da4
##
## This is the configuration file for the CryWrap init script.

# The public certificate to send to clients
# Default: /etc/crywrap/server.pem
CRYWRAP_CERTFILE=

# The private server key
# Default: /etc/crywrap/server.pem
CRYWRAP_KEYFILE=

# The user to run as
# Default: 65534 (nobody)
if getent passwd crywrap 2>&1 >/dev/null; then
	CRYWRAP_USER=$(id -u crywrap)
else
	CRYWRAP_USER=$(id -u nobody)
fi

# Various miscellaneous CryWrap options.
# For example, if you want to run CryWrap in anonymous mode,
# use CRYWRAP_OPTIONS="--anon".
CRYWRAP_OPTIONS=

## Mappings come here
## You can make CryWrap listen on an address/port pair, proxying all
## traffic to anotherhost/anotherport pair by adding a line like this:
# crywrap_map_add anotherhost/anotherport address/port
#
## For example, if you want CryWrap to listen on 10.0.0.1/pop3s,
## proxying all requests to 192.168.0.2/pop3, you would add this:
# crywrap_map_add 192.168.0.2/pop3 10.0.0.1/pop3s