feat: add v2rayN v2rayNG mport support

This commit is contained in:
xboard 2025-01-15 11:45:53 +08:00
parent 4d46b02422
commit 783c5fb586

View File

@ -209,6 +209,9 @@ class General implements ProtocolInterface
$params['obfs'] = 'salamander';
$params['obfs-password'] = data_get($protocol_settings, 'obfs.password');
}
if(isset($server['ports'])){
$params['mport'] = $server['ports'];
}
$params['insecure'] = data_get($protocol_settings, 'tls.allow_insecure');