Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: <connection> only supports remote #77

Open
reynir opened this issue Sep 28, 2023 · 0 comments
Open

config: <connection> only supports remote #77

reynir opened this issue Sep 28, 2023 · 0 comments

Comments

@reynir
Copy link
Contributor

reynir commented Sep 28, 2023

A connection profile may have a number of different options. We only support remote. It is also documented in a (* TODO *) in the code, and now it is documented here as well.

miragevpn/src/config.ml

Lines 1285 to 1292 in 0f3de0a

(* TODO entries can sometimes be nested, like in <connection> blocks:
The following OpenVPN options may be used inside of a <connection> block:
bind, connect-retry, connect-retry-max, connect-timeout,
explicit-exit-notify, float, fragment, http-proxy, http-proxy-option,
link-mtu, local, lport, mssfix, mtu-disc, nobind, port,
proto, remote, rport, socks-proxy, tun-mtu and tun-mtu-extra. *)
(* TODO basically a Connection block is a subset of Conf_map.t,
we should use the same parser.*)

I'm unsure what the comment about nesting is about. I don't think you can write <connection><connection>...</connection></connection>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant