We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda SSL VPN

How can I fix DNS-related Network Connector problems on OS X via my Barracuda SSL VPN?

  • Type: Knowledgebase
  • Date changed: 6 years ago
Solution #00006221

Scope:

All Barracuda SSL VPNs, all firmware versions.

Answer:
On some Macs, even though the Network Connector client specifies the DNS server correctly, OS X will refuse to use it. We can work around this by using up and down scripts to statically define the DNS servers for the duration of the connection.

Edit your Network Connector client configuration in the SSL VPN's Resources>Network Connector page.

In the Up Commands (Mac OS X) section, enter the following:


#!/bin/bash

# Set bash delimeter to be line break
IFS=$'\n'

# VPN DNS Server
vpndns='10.9.2.33'

echo updating dns for Ethernet
# set dns server to the vpn dns server
/usr/sbin/networksetup -setdnsservers Ethernet $vpndns



In the Down Commands (Mac OS X) section, enter the following:


#!/bin/bash

# Set bash delimeter to be line break
IFS=$'\n'

echo resetting dns for Ethernet
# set dns server to the vpn dns server
/usr/sbin/networksetup -setdnsservers Ethernet empty
/sbin/ifconfig en0 down
/sbin/ifconfig en0 up


Finally, save the configuration, then install this configuration onto your Mac client(s).


Link to This Page:
https://campus.barracuda.com/solution/501600000013LZCAA2