danfruehauf / NetworkManager-ssh

SSH VPN integration for NetworkManager
Other
253 stars 40 forks source link

SOCKS only SSH connections #76

Open danfruehauf opened 6 years ago

danfruehauf commented 6 years ago

Fixes #41

danfruehauf commented 6 years ago

Still incomplete, need to add:

Currently one can modify the current configuration file and add:

socks=yes
socks-bind-address=localhost:10000

Then run:

$ nm cli con reload
danfruehauf commented 6 years ago

@ockham FYI. It is still incomplete, but the basic functionality is there. It uses dummy0 as the device of choice to feed to NetworkManager - because we must.

intika commented 5 years ago

@ockham FYI. It is still incomplete, but the basic functionality is there. It uses dummy0 as the device of choice to feed to NetworkManager - because we must.

if i did understand right does this mean that if the connection is lost network manager will not know about it ?

danfruehauf commented 5 years ago

if i did understand right does this mean that if the connection is lost network manager will not know about it ?

In what sense? NM has got nothing to do with it anyway, as it doesn't set any new interfaces or new routes. Are you talking about different events? Well, there will be an event emitted that the connection is up. I'm afraid I didn't understand your question entirely.

intika commented 5 years ago

if i did understand right does this mean that if the connection is lost network manager will not know about it ?

In what sense? NM has got nothing to do with it anyway, as it doesn't set any new interfaces or new routes. Are you talking about different events? Well, there will be an event emitted that the connection is up. I'm afraid I didn't understand your question entirely.

Sorry i was not enough clear in my question... let say in the case where the ssh tunnel connection is lost/disconnected in that case does NM change its displayed info ?

danfruehauf commented 5 years ago

Sorry i was not enough clear in my question... let say in the case where the ssh tunnel connection is lost/disconnected in that case does NM change its displayed info ?

Definitely. It'll show the connection/tunnel as down.

intika commented 5 years ago

Sorry i was not enough clear in my question... let say in the case where the ssh tunnel connection is lost/disconnected in that case does NM change its displayed info ?

Definitely. It'll show the connection/tunnel as down.

Thanks for the feedback :) ... i will test that once i manage to replace my current version ;)