-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Way to keep the connection stable - OpenVPN #411
Comments
The addon isn't doing anything here - it's "just" starting the ovpn that's
been supplied or downloaded. It'll see whether things are connected and
try reconnecting, but I don't sense that's what's happening here. And
optionally you can have a script that runs as part of the up/down, but
again, this is all openvpn that's driving that.
You need to debug what openvpn is doing, which I can't help with. Try
running openvpn via the CLI with an ovpn file and turn up the verb setting
to see what's going on.
…On Sun, Jan 14, 2024 at 1:13 AM velainur ***@***.***> wrote:
Hi,
The addon is working all nice, but, when the virtual interface is up, then
i lose my gateway and the vpn gets broken.
This is the routing table at the very beginning, when the vpn is connected:
RaspberryPi:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.46.56 0.0.0.0 UG 0 0 0 wlan0
192.168.46.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.46.56 0.0.0.0 255.255.255.255 UH 0 0 0 wlan0
0.0.0.0 255.255.255.0 U 0 0 0 tap0
then, some seconds later, i get this and the vpn becomes unuseable:
RaspberryPi:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 255.255.255.255 UH 0 0 0 tap0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tap0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 tap0
192.168.46.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.46.56 0.0.0.0 255.255.255.255 UH 0 0 0 wlan0
0.0.0.0 255.255.255.0 U 0 0 0 tap0
Any clues? Where these 3 routes came from? (im using route-nopull and
route-noexec)
I only want to get the routing table as i get connected, i guess some
post-script is stabbing me.
I already checked that, as L2 VPN, there is no DHCP server in the same
segment.
This VPN is used with some other clients, with no issue at all. (OpenWRT
devices)
I already checked the ovpn log files (server and client) and everything
seems working, they said its connected, but, when i lost the gateway inside
the Rpi, the vpn becomes unusuable.
TIA
Regards,
—
Reply to this email directly, view it on GitHub
<#411>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECJZZPLAXZANMF4AUKHFGTYOMWLLAVCNFSM6AAAAABBZWRSKKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DANJTG42TANA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Ok, i have done more tests... If i use the openvpn from the cli (without the addon), i get the same issue. I tried then to use the same ovpn file in another ubuntu and everything is stable... so i understand there must be a kodi process which breaks me. Laptop Ubuntu Distro - OpenVPN 2.5.9 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 29 2023 i dont think it could be a openvpn version... but... cannot be sure. Since your addon is no the problem... i cannot ask you more help, with it, but... as a better user of this element... do you think how can i check this? Regards, |
Hi,
The addon is working all nice, but, when the virtual interface is up, then i lose my gateway and the vpn gets broken.
This is the routing table at the very beginning, when the vpn is connected:
RaspberryPi:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.46.56 0.0.0.0 UG 0 0 0 wlan0
192.168.46.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.46.56 0.0.0.0 255.255.255.255 UH 0 0 0 wlan0
0.0.0.0 255.255.255.0 U 0 0 0 tap0
then, some seconds later, i get this and the vpn becomes unuseable:
RaspberryPi:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 255.255.255.255 UH 0 0 0 tap0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tap0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 tap0
192.168.46.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.46.56 0.0.0.0 255.255.255.255 UH 0 0 0 wlan0
0.0.0.0 255.255.255.0 U 0 0 0 tap0
Any clues? Where these 3 routes came from? (im using route-nopull and route-noexec)
I only want to get the routing table as i get connected, i guess some post-script is stabbing me.
I already checked that, as L2 VPN, there is no DHCP server in the same segment.
This VPN is used with some other clients, with no issue at all. (OpenWRT devices)
I already checked the ovpn log files (server and client) and everything seems working, they said its connected, but, when i lost the gateway inside the Rpi, the vpn becomes unusuable. (for the RPi client)
TIA
Regards,
More info:
vpn manager service version: 7.0.4
RPi3 with Libreelec 20
The text was updated successfully, but these errors were encountered: