Doridian / wsvpn

VPN over WebSocket and WebTransport
BSD 3-Clause "New" or "Revised" License
120 stars 12 forks source link

one-interface-per-connection Option Enabled,interface up but got a error in log. #450

Closed Handsome1080P closed 5 months ago

Handsome1080P commented 5 months ago

2024/01/15 09:35:50 sockets.go:128: [CLIENT-a6de0358-0add-4293-8dc9-847c310d1032] Command serialization: json 2024/01/15 09:35:50 sockets.go:159: [CLIENT-a6de0358-0add-4293-8dc9-847c310d1032] Assigned interface ws0 RTNETLINK answers: File exists 2024/01/15 09:35:50 Error adding peer route 192.168.222.2 for ws0: command ip route add 192.168.222.2/32 dev ws0: exit status 2 image

Handsome1080P commented 5 months ago

route already set,this error seems a bug? image

Doridian commented 5 months ago

@Handsome1080P These errors happen and are normal. It is WSVPN just "making sure" the route exists, but Linux will add it automatically as well for the local-subnet route.

It will just log the error and continue operation as normal.