Skip to content

Commit e94b6cd

Browse files
committed
return start umbproxy from openvpn
1 parent bf7eab5 commit e94b6cd

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

rootfs/etc/openvpn/client.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ping-restart 85
1111
auth-retry nointeract
1212
auth-user-pass /etc/openvpn/auth
1313

14-
#route-noexec
14+
route-noexec
1515
script-security 2
1616
up "/etc/openvpn/up.sh"
1717
down /etc/openvpn/update-resolv-conf

rootfs/etc/openvpn/up.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ then
2222
ip rule add table $country from $ifconfig_local
2323

2424
fi
25-
#killall -9 dumbproxy
26-
#/usr/local/bin/dumbproxy ${CMD_OPTS} -ip-hints "$ifconfig_local" -bind-address 0.0.0.0:8888 &
25+
killall -9 dumbproxy
26+
/usr/local/bin/dumbproxy ${CMD_OPTS} -ip-hints "$ifconfig_local" -bind-address 0.0.0.0:8888 &
2727

2828
exit 0

rootfs/etc/service/dumbproxy/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh -e
22

33
# pipe stderr to stdout and run nginx omiting ENV vars to avoid security leaks
4-
exec 2>&1
5-
exec env - PATH=$PATH /usr/local/bin/dumbproxy ${PROXY_AUTH} -bind-address 0.0.0.0:8888
4+
#exec 2>&1
5+
#exec env - PATH=$PATH /usr/local/bin/dumbproxy ${PROXY_AUTH} -bind-address 0.0.0.0:8888

0 commit comments

Comments
 (0)