aboutsummaryrefslogtreecommitdiffstats
path: root/package/frickin/files/frickin.default
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-24 01:55:36 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-24 01:55:36 +0000
commit3d28e11d8da371c67f3e209b59c7f7e4f08faea2 (patch)
tree53ba368e72d685fbd99407e09b514076ce747caf /package/frickin/files/frickin.default
parent436db53649ed419d5579357bac5d89e60ec0be0d (diff)
downloadupstream-3d28e11d8da371c67f3e209b59c7f7e4f08faea2.tar.gz
upstream-3d28e11d8da371c67f3e209b59c7f7e4f08faea2.tar.bz2
upstream-3d28e11d8da371c67f3e209b59c7f7e4f08faea2.zip
Add frickin package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1042 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/frickin/files/frickin.default')
-rw-r--r--package/frickin/files/frickin.default16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/frickin/files/frickin.default b/package/frickin/files/frickin.default
new file mode 100644
index 0000000000..9f55d5bad2
--- /dev/null
+++ b/package/frickin/files/frickin.default
@@ -0,0 +1,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"