endlessh icon indicating copy to clipboard operation
endlessh copied to clipboard

Bind to interface/IP, whitelist

Open borg333 opened this issue 6 years ago • 5 comments

Hi, it is possible to add such thing as bind to interface/IP and IP whitelist? Also will be nice to bind on multiple ifaces/IPs/ports Thanks!

borg333 avatar Apr 10 '19 07:04 borg333

Right now it binds to INADDR_ANY / in6addr_any, and it's hard-coded that way, but it should probably be a configuration option.

skeeto avatar Apr 10 '19 23:04 skeeto

I'd like to have that possibility as well. I want to put endlessh on my ppp0 device while still having my sshd listenening to my eth0 device.

Polynomial-C avatar Apr 13 '20 17:04 Polynomial-C

ah, yes, I have my wireguard interfaces on 22 and outside on a different port.

In keeping with the openssh-ish config, we could have:

Port 22
ListenAddress 198.51.100.0
ListenAddress 10.5.1.10:2222
ListenAddress 127.0.0.1:22222

bill-mcgonigle avatar Jan 07 '21 21:01 bill-mcgonigle

ah, nevermind, #40 solves this for me and I puppetized it without templatizing the config file. Works well.

bill-mcgonigle avatar Jan 07 '21 23:01 bill-mcgonigle

Looking for a whitelist option as well for vuln scanners and such

aaronrunkle avatar Sep 23 '21 21:09 aaronrunkle