summaryrefslogtreecommitdiffstats
diff options
authorJason A. Donenfeld <Jason@zx2c4.com>2012-02-15 16:47:01 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2012-02-15 16:47:01 +0100
commitfbd02a45ccb7758152e236ba138e5e6388887f1a (patch)
tree810565fd6530df9fa24d9f0ce8f6956e2e16a58b
parentInitial interceptor script. (diff)
downloadstunnel-interceptor-fbd02a45ccb7758152e236ba138e5e6388887f1a.tar.xz
stunnel-interceptor-fbd02a45ccb7758152e236ba138e5e6388887f1a.zip
Bring it up.
-rwxr-xr-xintercept.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/intercept.sh b/intercept.sh
index dc1399a..55956f7 100755
--- a/intercept.sh
+++ b/intercept.sh
@@ -52,7 +52,7 @@ while read line; do
clientConfig="client-$counter.conf"
echo "[+] Configuring $device to $localIP"
- ifconfig "$device" "$localIP" netmask "$localBaseNetmask"
+ ifconfig "$device" "$localIP" netmask "$localBaseNetmask up"
echo "[+] Writing stunnel config for $remoteIP:$remotePort <--> $localIP:$localPort"
echo " foreground=no
service=stunnel