How to set up a simple proxy with auth Linux command? or What's the easiest way to create a simple pr

14 Replies, 1711 Views

Why not just `nc` (netcat) with auth? It’s janky but fits the "simple proxy with auth linux command" ask.

```
mkfifo pipe
nc -l -p 8080 < pipe | nc target.com 80 > pipe
```

Add auth with `htpasswd` if you’re feeling fancy. Not for production, but for testing? Sure.

Messages In This Thread



Users browsing this thread: 1 Guest(s)