-
mtg seems to use the default ip for uris it returns when a user runs It's obviously a cosmetic thing, but it would be nice to be able to set external address / hostname in the settings instead of fixing uris manually. Especially since without it mtg tries to guess and may guess wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Please check access' help :) $ mtg access --help
Usage: mtg access <config-path>
Print access information.
Arguments:
<config-path> Path to the configuration file.
Flags:
-h, --help Show context-sensitive help.
-v, --version Print version.
-i, --ipv4=IP Public IPv4 address for proxy. By default it is resolved via remote website
-I, --ipv6=IP Public IPv6 address for proxy. By default it is resolved via remote website
-p, --port=UINT Port number. Default port is taken from configuration file, bind-to parameter
-x, --hex Print secret in hex encoding.
|
Beta Was this translation helpful? Give feedback.
-
Makes sense, thanks. But it would be nice to have a config option for that as well. |
Beta Was this translation helpful? Give feedback.
-
But this value won't be used for a proxy itself. This is mostly to make and share a link to a friend :/ I'm still not really sure if such ad-hoc thing deserves an option in a file. |
Beta Was this translation helpful? Give feedback.
-
Since this is not an issue anymore, I'm converting this to discussion. |
Beta Was this translation helpful? Give feedback.
Please check access' help :)
-i
and-I
are literally these flags you are looking for.