Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
Adaptation of Profile Creation Using an *.ini File
Published Jan 09

Adaptation of Profile Creation Using an *.ini File

Jan 09, 2026
Subscribe

When using Barracuda authentication, some parameters configurable in the Connection Entries and Advanced Settings tabs (see How to Configure the Barracuda VPN Client for Windows) can be passed to the Barracuda VPN Client using an *.ini file. If a profile with Barracuda authentication is created, the client looks for an *.ini file in the same directory as the *.lic file is retrieved from. The *.ini file is expected to be named the same as the *.lic file (e.g., C:\licenses\barracuda_user.lic would require C:\licenses\barracuda_user.ini). If an appropriate *.ini file is available, the values defined there will be used for the VPN profile.

Syntax and parameters described here for *.ini files are also valid for *.vpn files (see also: How to Create a *.vpn File, How to Import a *.vpn File into the VPN Client).

Example for the Structure of an *.ini File's Contents

All parameter names are case sensitive. Always remove unnecessary options from the *.ini file.

[Settings] Description=Profile Name server=192.168.10.10 proxy=proxy.sample.com:3128 proxyType=HTTP proxyUser=testUser proxydomain=SAMPLE dhcp=1 mode=1

Possible Values

The following parameters can be defined within the *.ini file. Type them exactly as listed here:

  • Description – Name of the profile.

  • server – IP address of the VPN server.

  • dhcp – Behavior of a DHCP client. Corresponds to the Virtual Adapter Configuration drop-down menu in the Advanced Settings tab.
    Possible options are:

    • 2 – IP address is assigned directly (using Windows Management Instrumentation).

    • 1 – IP address is assigned dynamically (DCHP).

    • 0 – IP address is configured statically.

  • mode – This corresponds to the Tunnel Mode drop-down list in the Advanced Settings tab, and it specifies the connection mode to use. By default, this parameter is set to 1 (TCP).
    Possible modes are:

    • 1 – TCP

    • 2 – UDP

    • 3 – Hybrid

The following proxy-related parameters must be removed from the  *.ini file if connection establishment is not handled using a proxy server.

  • proxy – URL or IP address of the proxy server.

  • proxyType – Proxy server type. Possible options are HTTP, Socks4, and Socks5.

  • proxyUser – Username possibly needed for proxy authentication.

  • proxydomain – Windows domain within which the user is able to authenticate.

Template Code: VPN Profile Registry Keys

In the box below, you can find template code ready to copy and paste.

"; Encryption Algorithm: encryption (0x00010001)" "; 1 -> None" "; 2 -> 3DES" "; 4 -> AES" "; 8 -> Cast" "; 16 -> Blowfish" "; 32 -> DES" "; 64 -> AES256" ";" "; Tunnel Mode: mode (0x00010001)" "; 1 -> Reliability (TCP)" "; 2 -> Response (UDP)" "; 3 -> Optimized (Hybrid)" ";" "; Virtual Adapter Configuration: dhcp (0x00010001)" "; 0 -> Assign IP address manually" "; 1 -> Use internal DHCP assignment (default)" "; 2 -> Direct assignment" ";" "; Compression: streamCompression (0x00010001)" "; Use Access Control Server: usePolSrv, 0x00010001" "; Disconnect when user logs off: terminateIfUserLogout (0x00010001)" "; One Time Password: oneTimePassword (0x00010001)" "; Allow ENA Connection: allowENA (0x00010001)" "; Allow Sending Offline Ruleset: allowFWRule (0x00010001)" "; Save new Certificate Unattended: unattended (0x00010001)" "; Silent Mode (No Keep Alive): silent (0x00010001)" "; Keep Alive (seconds): timeoutAlive (0x00010001)" "; Start Script: startScript (0x00000000)" "; Stop Script: stopScript (0x00000000)" "; Enable MS Logon: enableMSLogon (0x00010001)" ";" "; Certificate Store Flag: StoreFlags (0x00010001)" "; ffffffff -> <Default>" "; 10000 -> Current User" "; 70000 -> Current User Group Policy" "; 20000 -> Local Machine" "; 90000 -> Local Machine Enterprise" "; 80000 -> Local Machine Group Policy" "; 50000 -> Barracuda NG VPN Service" ";" "; Certificate Store: store (0x00000000)" "; MY -> MY" "; Root -> Root" "; Trust -> Trust" "; CA -> CA" ";" "; Terminate Countdown (sec.): TerminateCountdown (0x00010001)" "; Show Popup: ShowPopup (0x00010001)" "; Close after Connect: CloseOnConnect (0x00010001)"

We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

VPN Client & Network Access Client
Results will update as you type.
  • Release Notes
  • Deployment
  • Getting Started
    • How to Configure the Barracuda VPN Client for Windows
      • How to Create VPN Profiles
      • Adaptation of Profile Creation Using an *.ini File
    • How to Configure the Barracuda VPN Client for macOS
    • How to Configure the Barracuda VPN Client for Linux
    • How to Create a *.vpn File
    • How to Import a *.vpn File into the VPN Client
    • How to Configure the Barracuda Access Monitor
    • Rules and Policy Matching
    • How to Configure the Barracuda Personal Firewall
    • Example - Barracuda Network Access Client Configuration
  • Operation and Monitoring
  • Maintenance

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 12, "requestCorrelationId": "83f1da52414749608dcda0f14340d322"}