freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # ip address of the server the proxy should connect to
|
|---|
| 2 | TARGET_IP=192.168.1.2
|
|---|
| 3 |
|
|---|
| 4 | # ip address the proxy should listen to for incoming connections
|
|---|
| 5 | #LISTEN_IP=192.168.1.1
|
|---|
| 6 |
|
|---|
| 7 | # maximum number of simultaneous connections
|
|---|
| 8 | #PROXY_CONN_MAX=20
|
|---|
| 9 |
|
|---|
| 10 | # user the proxy should run as
|
|---|
| 11 | #PROXY_USER=root
|
|---|
| 12 |
|
|---|
| 13 | [ -n "$TARGET_IP" ] && OPTIONS="$OPTIONS -s $TARGET_IP"
|
|---|
| 14 | [ -n "$LISTEN_IP" ] && OPTIONS="$OPTIONS -l $LISTEN_IP"
|
|---|
| 15 | [ -n "$PROXY_CONN_MAX" ] && OPTIONS="$OPTIONS -c $PROXY_CONN_MAX"
|
|---|
| 16 | [ -n "$PROXY_USER" ] && OPTIONS="$OPTIONS -u $PROXY_USER"
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.