-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Forward all ports #190
Comments
I read in an issue here that generating tun interface would be very hard to add but this idea is much simpler, nat. but to avoid conflict it's cool to set some loopback ip or specific ip chisel client chiselserver 10.0.0.1:127.0.0.3/nat
ssh 127.0.0.3 # => nat 127.0.0.3 to 10.0.0.1 over chisel server with specific ip the client can work with dns or hostfile |
This was first raised about 5 years ago! I looked into it quite carefully, and gave an approximation of what it'd take to make this work #3 (comment) Indeed it would be nice to just forward all ports. So forwarding all ports (all packets) is what a router does, and from what I can see, the best solution for this is indeed a separate (most likely TUN) interface. Next forwarding traffic over a TUN interface is exactly what a VPN client is. In short, it's possible but quite a bit of work, potentially a large rearchitecture. I'll lock this issue but keep it open, please add your comments here #3 |
I was trying to make a transparent nat proxy and I found this mallet project which has not worked in the last version of chisel but it is a great idea for a "simple vpn p2p" and I think it would be nice to have it natively in chisel or just range port forwarding.
example.
chisel client chiselserver 10.0.0.5:127.0.0.1 # to all ports (tcp/udp) is forwarding
ssh 10.0.0.5 # => server localhost (127.0.0.1)
(I don't know how the windows firewall works and how hard it is to nat)
The text was updated successfully, but these errors were encountered: