You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An all in one proxy implementation written in Rust.
4
+
An all-in-one proxy written in Rust.
5
5
6
6
Features
7
7
--------
@@ -16,18 +16,24 @@ Features
16
16
*`omnip -a socks5://127.0.0.1:9000 --upstream http+quic://DOMAIN:3515 -lD`
17
17
Note: The commands above will use auto-generated self-signed certificate for QUIC, which is for demonstration only. Domain name with certificate issued by trusted CA is recommended. For more details, see README of the [rstun](https://github.com/neevek/rstun) project, which omnip uses to implement proxy over QUIC. And remember to set a password for the server with the `-p` or `--password` option.
18
18
5. Supports plain tcp connections over QUIC, which can be used to expose a port of remote server through the QUIC tunnel, for example:
19
-
* Start a QUIC server that forwards all its payload to the local SSH port:
20
-
*`omnip -a tcp+quic://0.0.0.0:3515 -upstream tcp://127.0.0.1:22 -lD`
19
+
* Start a QUIC server that forwards all its tcp payload to the local SSH port:
20
+
*`omnip -a tcp+quic://0.0.0.0:3515 --upstream tcp://127.0.0.1:22 -lD`
21
21
* Connect to the tunnel server and SSH into the remote server through the QUIC tunnel:
22
-
*`omnip -a tcp://0.0.0.0:3721 -upstream tcp+quic://DOMAIN:3515 -lD`
22
+
*`omnip -a tcp://0.0.0.0:3721 --upstream tcp+quic://DOMAIN:3515 -lD`
23
23
*`ssh -p 3721 user@127.0.0.1`
24
-
6. Supports simple proxy rules, traffic will be relayed to upstream if the requested domain matches one of the proxy rules, this is for achieving *Smart Proxy* to control which domains should be forwarded through the tunnel, for example:
24
+
6. Supports plain udp tunneling over QUIC, for example:
25
+
* Start a QUIC server that forwards all its udp payload to `1.1.1.1:53`:
26
+
*`omnip -a udp+quic://0.0.0.0:3515 --upstream udp://1.1.1.1:53 -lD`
27
+
* Connect to the tunnel server and resolve DNS via the tunnel:
28
+
*`omnip -a udp://0.0.0.0:5353 --upstream udp+quic://DOMAIN:3515 -lD`
29
+
*`dig @127.0.0.1 -p 5353 github.com`
30
+
7. Supports simple proxy rules, traffic will be relayed to upstream if the requested domain matches one of the proxy rules, this is for achieving *Smart Proxy* to control which domains should be forwarded through the tunnel, for example:
25
31
* example.com
26
32
* .example.com
27
33
* ||example.com
28
34
* ...
29
-
7. Supports DoT (DNS-over-TLS) or custom name servers, for example: `--dot-server dns.google`, `--name-servers 1.1.1.1,8.8.8.8`, if both are specified, DoT server takes precedence.
30
-
8. Simple Web UI can be accessed from the same port of the proxy server, DNS servers and tunnel connection can be configured through the Web UI.
35
+
8. Supports DoT (DNS-over-TLS) or custom name servers, for example: `--dot-server dns.google`, `--name-servers 1.1.1.1,8.8.8.8`, if both are specified, DoT server takes precedence.
36
+
9. Simple Web UI can be accessed from the same port of the proxy server, DNS servers and tunnel connection can be configured through the Web UI.
0 commit comments