A small port-forwarding utility
Find a file
2024-08-17 08:30:41 -07:00
.github/workflows Add debian build to release matrix 2024-08-16 10:26:50 -07:00
.vscode I'm not sure I ever actually got these to work? 2022-10-26 07:12:59 -07:00
doc Vanity 2024-08-17 08:29:27 -07:00
fuzz Also update the fuzzing targets, I guess 2024-08-13 10:56:29 -07:00
resources/json Fix small JSON bugs, bring in test suite 2024-08-06 09:22:11 -07:00
src Vanity 2024-08-17 08:29:27 -07:00
.gitignore Enumerate all of the listening processes and their ports 2022-10-04 18:13:57 +00:00
build.rs Yet another tweak to git process for cargo publish 2024-08-10 09:00:20 -07:00
Cargo.lock Move config file to ~/.config/fwd/config.toml 2024-08-14 10:51:19 -07:00
Cargo.toml Add fwd-browse to the debian package 2024-08-16 10:36:56 -07:00
config.toml Starting configuration, probably doesn't work 2022-10-18 11:28:56 -07:00
LICENSE Update year I guess 2024-08-16 10:22:53 -07:00
README.md Hubris 2024-08-17 08:30:41 -07:00
release.py This is a better name for the build 2024-08-16 10:29:37 -07:00
rustfmt.toml Try to make the UI better when unconnected 2022-10-16 08:55:30 -07:00
test.py Protocol version, async pump, start some testing 2022-12-16 13:57:52 -08:00

fwd

A port-forwarding utility.

Here's how it works:

  1. Get the latest release of fwd
  2. You install fwd on the server somewhere in your $PATH (like /usr/bin/, or .local/bin)
  3. You install fwd on the client (like your laptop)
  4. You run fwd on the client to connect to the server, like so:
doty@my.laptop$ fwd some.server

fwd will connect to some.server via ssh, and then show you a screen listing all of the ports that the server is listening on locally.

A terminal displaying a list of ports and descriptions. Some are dimmed and one is highlighted.

Use the up and down arrow keys (or j/k) to select the port you're interested in and press e to toggle forwarding of that port. Now, connections to that port locally will be forwarded to the remote server.

If the port is something that might be interesting to a web browser, you can press <ENTER> with the port selected to open a browser pointed at that port.

If something is going wrong, pressing l will toggle logs that might explain it.

Press q to quit.