|
@@ -183,6 +183,13 @@ type TCPProxyConf struct {
|
|
|
RemotePort int `ini:"remote_port" json:"remote_port"`
|
|
|
}
|
|
|
|
|
|
+// UDP
|
|
|
+type UDPProxyConf struct {
|
|
|
+ BaseProxyConf `ini:",extends"`
|
|
|
+
|
|
|
+ RemotePort int `ini:"remote_port" json:"remote_port"`
|
|
|
+}
|
|
|
+
|
|
|
// TCPMux
|
|
|
type TCPMuxProxyConf struct {
|
|
|
BaseProxyConf `ini:",extends"`
|
|
@@ -210,13 +217,6 @@ type XTCPProxyConf struct {
|
|
|
Sk string `ini:"sk" json:"sk"`
|
|
|
}
|
|
|
|
|
|
-// UDP
|
|
|
-type UDPProxyConf struct {
|
|
|
- BaseProxyConf `ini:",extends"`
|
|
|
-
|
|
|
- RemotePort int `ini:"remote_port" json:"remote_port"`
|
|
|
-}
|
|
|
-
|
|
|
// SUDP
|
|
|
type SUDPProxyConf struct {
|
|
|
BaseProxyConf `ini:",extends"`
|