Skip to content

Commit

Permalink
Add a README
Browse files Browse the repository at this point in the history
  • Loading branch information
karolba committed Dec 9, 2024
1 parent 7eb1350 commit 23dc820
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
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
```

0 comments on commit 23dc820

Please sign in to comment.