mirror of https://github.com/aredn/aredn.git
bugfix: tunnels: Unable to route to connections across tunnel
Firewall rules don't get called because vtund is at /usr/sbin/vtund not /usr/bin/vtund Also make the check if line posix compatible while we are chaning the path to be sure it works in the future too.
This commit is contained in:
parent
cae4064b48
commit
1f2737f0f3
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# Handles setting up rules for tunnel interfaces
|
||||
if [[ -x "/usr/bin/vtund" ]]
|
||||
if [ -x "/usr/sbin/vtund" ]
|
||||
then
|
||||
ISVPN=false
|
||||
case "$INTERFACE" in
|
||||
|
@ -19,4 +19,4 @@ then
|
|||
# echo "$INTF down" >> /tmp/vtundscript.log
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue