mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Add remote host and remote port to the profile template
This commit is contained in:
@@ -9,12 +9,17 @@
|
||||
import Foundation
|
||||
|
||||
struct VPNProfile {
|
||||
static let username = "<%= OPENVPN_USERNAME %>"
|
||||
static let password = "<%= OPENVPN_PASSWORD %>"
|
||||
|
||||
static let configuration = """
|
||||
static let username: String = "<%= OPENVPN_USERNAME %>"
|
||||
static let password: String = "<%= OPENVPN_PASSWORD %>"
|
||||
|
||||
static let configuration: String = """
|
||||
<% OPENVPN_CONFIGURATION.each_line do |line| %>
|
||||
<%= line %>
|
||||
<% end %>
|
||||
"""
|
||||
|
||||
static let remoteHost: String = "<%= OPENVPN_REMOTE_HOST %>"
|
||||
static let remotePort: Int = <%= OPENVPN_REMOTE_PORT %>
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user