inlets / inletsctl

Create inlets servers on the top cloud platforms
https://docs.inlets.dev/
MIT License
468 stars 62 forks source link

Default --remote-tcp to localhost #35

Closed Waterdrips closed 2 years ago

Waterdrips commented 4 years ago

We can set localhost as the default for the --remote-tcp flag. This would allow inlets-pro users who are forwarding traffic to the same host that is running the inlets-pro client.

Expected Behaviour

if the flag --remote-tcp is not set we could default to localhost which would forward traffic to the host running the inlets-pro client command

Current Behaviour

you have to set it every time even if you want localhost

Possible Solution

If we do this, we need to think about how we enable the inlets-pro server initialisation rather than standard inlets, at the moment it checks if --remote-tcp is set. possibly a --pro flag? which could be used if you want localhost, but if you set a --remote tcp and didnt use --pro it should still enable pro

alexellis commented 4 years ago

Sounds good