geph-official / geph4-exit

Exit server for Geph
16 stars 15 forks source link

connection hangs on negotiating VPN #4

Open S4deghN opened 1 year ago

S4deghN commented 1 year ago

I have setup the geph4-exit exactly as described in your wiki for personal use on an ubuntu 22.04 LTS server with all setting on default and firewall open for connection. https://github.com/geph-official/geph4-client/wiki/Self-hosting-guide-(WIP)

but this is what I get when I try to connect to it.

client side:

$ geph4-client connect --override-connect <key>@<ip>:8814
[2022-11-29T11:03:22.545Z INFO  geph4client] geph4-client v4.6.2 starting...
[2022-11-29T11:03:22.546Z INFO  geph4client::connect] connect mode starting: exit = None, use_tcp = false, use_bridges = false
[2022-11-29T11:03:22.547Z INFO  geph4client::connect::vpn] not starting VPN mode
[2022-11-29T11:03:22.547Z DEBUG geph4client::connect::socks5] socks5 started
[2022-11-29T11:03:22.547Z DEBUG geph4client::connect::dns] DNS loop started
[2022-11-29T11:03:27.547Z DEBUG geph4client::connect] gonna construct the tunnel
[2022-11-29T11:03:27.550Z INFO  geph4client::connect] ** recv_loss = 0.00% **
[2022-11-29T11:03:27.550Z DEBUG geph4client::connect] tunnel reported PreConnect { addr: <ip>:8814, protocol: "sosistab" } to dummy
***** 0 Sessions *****
***** 0 RecvMachines *****
***** 0 SessionBacks *****
***** 0 Sessions *****
***** 0 RecvMachines *****
***** 0 SessionBacks *****
***** 0 Sessions *****
***** 0 RecvMachines *****
***** 0 SessionBacks *****
***** 0 Sessions *****
***** 0 RecvMachines *****
***** 0 SessionBacks *****
***** 0 Sessions *****
***** 0 RecvMachines *****
***** 0 SessionBacks *****
[2022-11-29T11:03:27.699Z INFO  geph4_protocol::tunnel::tunnel_actor] negotiating VPN with client id <id>
[2022-11-29T11:03:27.699Z DEBUG geph4_protocol::tunnel::tunnel_actor] trying...
[2022-11-29T11:03:28.699Z DEBUG geph4_protocol::tunnel::tunnel_actor] trying...
[2022-11-29T11:03:29.700Z DEBUG geph4_protocol::tunnel::tunnel_actor] trying...
[2022-11-29T11:03:30.701Z DEBUG geph4_protocol::tunnel::tunnel_actor] trying...
[2022-11-29T11:03:31.701Z DEBUG geph4_protocol::tunnel::tunnel_actor] trying...

server side:

Nov 29 11:03:27 anton geph4-exit[30326]: ***** 0 Sessions *****
Nov 29 11:03:27 anton geph4-exit[30326]: ***** 0 RecvMachines *****
Nov 29 11:03:27 anton geph4-exit[30326]: ***** 0 SessionBacks *****
Nov 29 11:03:27 anton geph4-exit[30326]: [2022-11-29T11:03:27Z DEBUG geph4_exit::listen::session] entering handle_session
Nov 29 11:03:27 anton geph4-exit[30326]: [2022-11-29T11:03:27Z INFO  geph4_exit::listen::session] authenticated a new session (is_plus = true, raw_session_count = 1)
Nov 29 11:03:27 anton geph4-exit[30326]: [2022-11-29T11:03:27Z WARN  geph4_exit::vpn] disabling VPN mode since external interface is not specified!

And that's it! the client goes on 'trying' for ever.

is the client trying to make a VPN mode connection? geph4-client connect --help says that leaving out the --vpn-mode flag indicates no VPN mode connection.