-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# `wgcfcat` | ||
|
||
Like `netcat`, but over `Cloudflare WARP`! | ||
|
||
Usage: | ||
``` | ||
Usage of wgcfcat: | ||
-a, --accept-warp-tos Accept the Cloudflare WARP Terms Of Service (reqired) | ||
-c, --config-dir string Runtime directory where connection parameters will be stored | ||
-h, --host string Host to connect to over cloudflare WARP | ||
--keepalive uint Keepalive interval in seconds | ||
-p, --port uint Port to connect to over cloudflare WARP | ||
``` | ||
|
||
## Example uses | ||
|
||
Access a remote host over IPv6 on an IPv4-only connection by going through Cloudflare WARP: | ||
|
||
``` | ||
$ ssh -o ProxyCommand='wgcfcat --accept-warp-tos -h %h -p %p' user@ipv6-host | ||
``` | ||
|
||
Query an HTTP web server over WARP: | ||
``` | ||
$ echo -e 'GET / HTTP/1.1\nHost: ipv6.google.com\n\n' | wgcfcat -a -h ipv6.google.com -p 80 | ||
``` | ||
|