Skip to content

Simple/noserver proxy for IPs on a local network #547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alshdavid opened this issue Jan 29, 2025 · 1 comment
Open

Simple/noserver proxy for IPs on a local network #547

alshdavid opened this issue Jan 29, 2025 · 1 comment

Comments

@alshdavid
Copy link

alshdavid commented Jan 29, 2025

I have a bunch of VMs running on my network and have a WireGuard server acting as a gateway into my network. Each VM has a unique IP and I'd like to forward TCP/UDP traffic to them from the wg server.

UDP PORT 3000 -> 192.168.1.3:3000
TCP PORT 3000 -> 192.168.1.3:3000

UDP PORT 4453 -> 192.168.1.3:445
TCP PORT 4453 -> 192.168.1.3:445

TCP PORT 2203 -> 192.168.1.3:22
TCP PORT 2204 -> 192.168.1.4:22
// etc

From what I can tell, chisel requires a chisel server running on the destination in order for the client to forward traffic from it.

Does Chisel have the capability to "simply" forward traffic to local IP/ports without needing chisel server running at the destination?

chisel forward --protocol UDP --target 192.168.1.3:3000 --listen 0.0.0.0:3000
chisel forward --udp -t 192.168.1.3:3000 -l 0.0.0.0:3000

From there I can create a bash script that maps all the ports appropriately

@jpillora
Copy link
Owner

jpillora commented Jan 29, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants