Add remote host and remote port to the profile template

This commit is contained in:
Sergey Abramchuk
2018-09-27 17:15:51 +03:00
parent bc578b423e
commit 1beeda999e
3 changed files with 18 additions and 3 deletions

View File

@@ -54,3 +54,11 @@ if ENV["OPENVPN_CONFIGURATION"].nil?
</tls-auth>
END
end
if ENV["OPENVPN_REMOTE_HOST"].nil?
ENV["OPENVPN_REMOTE_HOST"] = "Remote Host Address"
end
if ENV["OPENVPN_REMOTE_PORT"].nil?
ENV["OPENVPN_REMOTE_PORT"] = "Remote Host Port"
end