Difference between revisions of "Talk:Vpn"

From Pumping Station One
Jump to navigation Jump to search
Line 15: Line 15:
 
     /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh: line 1032: FlushDNSCache: command not found
 
     /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh: line 1032: FlushDNSCache: command not found
  
This might work, but I havn't tested it yetDon't do it unless you know what the consequences are.
+
There appears to be a bug in some of the built in scripts in tunnelblickThe following to lines will modifiy those scripts to fix the bug.
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
sudo sed -i '' 's/FlushDNSCache/flushDNSCache/' /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh
 
sudo sed -i '' 's/FlushDNSCache/flushDNSCache/' /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh
 
sudo sed -i '' 's/FlushDNSCache/flushDNSCache/' /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh
 
sudo sed -i '' 's/FlushDNSCache/flushDNSCache/' /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 04:37, 8 April 2015

Run As Administrator

A possible alternative to running OpenVPN GUI as Administrator on windows 7 is to add your user to the "Network administrators" group

--Hef (talk) 23:18, 20 November 2013 (CST)

Error if you forget

   NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Local Area Connection dhcp
   ERROR: netsh command failed: returned error code 1

OS X Tunnelblick 3.5.0 and FlushDNSCache

Tunnelblick 3.5.0 doesn't work and fails with the message

    /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh: line 1032: FlushDNSCache: command not found

There appears to be a bug in some of the built in scripts in tunnelblick. The following to lines will modifiy those scripts to fix the bug.

sudo sed -i '' 's/FlushDNSCache/flushDNSCache/' /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh
sudo sed -i '' 's/FlushDNSCache/flushDNSCache/' /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh