mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 23:05:31 +02:00
44d7a71876
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1042 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
517 B
Plaintext
17 lines
517 B
Plaintext
# 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"
|