nicocha30 / ligolo-ng

An advanced, yet simple, tunneling/pivoting tool that uses a TUN interface.
GNU General Public License v3.0
2.78k stars 280 forks source link

Unable to stop listener and start tunnel #63

Closed DrorDvash closed 6 months ago

DrorDvash commented 8 months ago

Hi. My issue is for v0.5.1 and v0.5.2

  1. Unable to stop listener An error occurs when trying to stop a listener: error: invalid listener id I never succeeded in stopping a listener. always need to kill ligolo-ng and start over again

image


  1. Double pivoting - failed to start tunnel on the 2nd remote host When trying to do double pivoting, it is not possible to start the new session and override the existing one.

image

while on every guide i find on google - the user asked if to switch connection (this is a screenshot from a guide i found) image

nicocha30 commented 8 months ago

For the first issue, I will investigate. For the second, Ligolo-ng was updated to support multiple interfaces. If you want to start another tunnel, create a new interface and use the --tun option as said on the error message. (See Readme.md)

DrorDvash commented 8 months ago

For the first issue, I will investigate. For the second, Ligolo-ng was updated to support multiple interfaces. If you want to start another tunnel, create a new interface and use the --tun option as said on the error message. (See Readme.md)

first issue - thanks, waiting for an update.

the second issue - there is no way to perform multiple pivoting with only 1 tun interface? Let's say I have kali -> DC01 -> DC02 -> DC03 ->DC04, and each DC can talk to the next one only. I'm looking for a way to be able to access the whole network with only one tun interface on my kali. if I can, please show me how :)

nicocha30 commented 8 months ago

Hey @DrorDvash,

I'm afraid not. Each tun interface is binded to an agent session. Why do you need to only use 1 tun interface?