stream_quic.html 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. {{define "form/streamQUIC"}}
  2. <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
  3. <a-form-item label='{{ i18n "pages.inbounds.stream.quic.encryption" }}'>
  4. <a-select v-model="inbound.stream.quic.security" :dropdown-class-name="themeSwitcher.currentTheme">
  5. <a-select-option value="none">None</a-select-option>
  6. <a-select-option value="aes-128-gcm">AES-128-GCM</a-select-option>
  7. <a-select-option value="chacha20-poly1305">CHACHA20-POLY1305</a-select-option>
  8. </a-select>
  9. </a-form-item>
  10. <a-form-item>
  11. <template slot="label">
  12. <a-tooltip>
  13. <template slot="title">
  14. <span>{{ i18n "reset" }}</span>
  15. </template>
  16. {{ i18n "password" }}
  17. <a-icon @click="inbound.stream.quic.key = RandomUtil.randomSeq(10)"type="sync"> </a-icon>
  18. </a-tooltip>
  19. </template>
  20. <a-input v-model.trim="inbound.stream.quic.key"></a-input>
  21. </a-form-item>
  22. <a-form-item label='{{ i18n "camouflage" }}'>
  23. <a-select v-model="inbound.stream.quic.type" style="width: 50%" :dropdown-class-name="themeSwitcher.currentTheme">
  24. <a-select-option value="none">None</a-select-option>
  25. <a-select-option value="srtp">SRTP</a-select-option>
  26. <a-select-option value="utp">uTP</a-select-option>
  27. <a-select-option value="wechat-video">WeChat</a-select-option>
  28. <a-select-option value="dtls">DTLS 1.2</a-select-option>
  29. <a-select-option value="wireguard">WireGuard</a-select-option>
  30. </a-select>
  31. </a-form-item>
  32. </a-form>
  33. {{end}}