2
I am trying to configure dropbear to do the following.
1) Only listen on port 22 of the tun0 interface (made by openvpn service). 2) Only use public key authorization.
I see that dropbear.socket is able to look at port 22. But how do I have it only look at an openvpn iface (eg tun0)?
I've tried "BindToDevice" on the dropbear.socket systemd file - but I'm getting a chicken and egg issue where dropbear socket is needed to show the network is up, but openvpn needs the network up to start to create the tun0 device.
Is there a better way to configure dropbear to only look at a particular interface?