diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.cs b/v2rayN/v2rayN/Forms/OptionSettingForm.cs index afd119442e..777c1daa29 100644 --- a/v2rayN/v2rayN/Forms/OptionSettingForm.cs +++ b/v2rayN/v2rayN/Forms/OptionSettingForm.cs @@ -42,6 +42,10 @@ private void InitBase() cmbprotocol.Text = config.inbound[0].protocol.ToString(); chkudpEnabled.Checked = config.inbound[0].udpEnabled; chksniffingEnabled.Checked = config.inbound[0].sniffingEnabled; + + txtlocalPort2.Text = "socks + 1"; + cmbprotocol2.Text = "http"; + if (config.inbound.Count > 1) { txtlocalPort2.Text = config.inbound[1].localPort.ToString();