summaryrefslogtreecommitdiff
path: root/openwrt/package/frickin/files/frickin.default
blob: 9f55d5bad2fa53367cdab71fb3171ab66dc571ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# ip address of the server the proxy should connect to
TARGET_IP=192.168.1.2

# ip address the proxy should listen to for incoming connections
#LISTEN_IP=192.168.1.1

# maximum number of simultaneous connections
#PROXY_CONN_MAX=20

# user the proxy should run as
#PROXY_USER=root

[ -n "$TARGET_IP" ] && OPTIONS="$OPTIONS -s $TARGET_IP"
[ -n "$LISTEN_IP" ] && OPTIONS="$OPTIONS -l $LISTEN_IP"
[ -n "$PROXY_CONN_MAX" ] && OPTIONS="$OPTIONS -c $PROXY_CONN_MAX"
[ -n "$PROXY_USER" ] && OPTIONS="$OPTIONS -u $PROXY_USER"