Jump to content


Photo

expressVPN was working but now it's not


  • Please log in to reply
47 replies to this topic

Re: expressVPN was working but now it's not #21 WanWizard

  • PLi® Core member
  • 70,812 posts

+1,831
Excellent

Posted Yesterday, 20:37

I'm confused to say the least.....

 

That makes two. I've just installed openvpn here, and it should say

root@vusolo4k:~# /etc/init.d/openvpn status
Usage: /etc/init.d/openvpn {start|stop|reload|restart|force-reload}
root@vusolo4k:~#

as appearently the init script doesn't have the function "status" implemented.

 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: expressVPN was working but now it's not #22 WanWizard

  • PLi® Core member
  • 70,812 posts

+1,831
Excellent

Posted Yesterday, 20:39

I've checked the kernel defconfig for the osmini, tun is implemented as an external module, so you should have that installed"

opkg install kernel-module-tun

but if that is not installed,

modprobe tun
lsmod

should give an error and not show "tun" as a loaded module.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: expressVPN was working but now it's not #23 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 20:52

Ok i really don't want to cause any arguments here. BUT!!! I finally made some progress. I should point out I'm running ubuntu, not sure if that makes a difference anyway when i run 

 

 

openvpn --config /etc/openvpn/client.ovpn
 

the script runs in the background. While it's running i have my new vpn ip address, however the second i kill the script it reverts to my actual ip. is there anyway of automatically running the script so I'm not dependant on running it manually?



Re: expressVPN was working but now it's not #24 WanWizard

  • PLi® Core member
  • 70,812 posts

+1,831
Excellent

Posted Yesterday, 20:58

Eh... ???

 

You lost me now. I thought we're talking about openvpn on an osmini running OpenPLi, not a PC running Ubuntu?

 

On the box afaik it uses files with a conf extension, so client.conf, not client.ovpn.

 

edit: yes, see https://github.com/O...vpn/openvpn#L48


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: expressVPN was working but now it's not #25 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 21:02

ok it's failed again.



Re: expressVPN was working but now it's not #26 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 22:03

ok so i decided to start from scratch. I flashed my box to the current openpli version. After that i ran: opkg update then opkg upgrade and finally i ran opkg install openvpn. So far so good. Then i uploaded both the client.ovpn and auth.txt file's to the openvpn folder. Still good. then i finally ran openvpn /etc/openvpn/client.ovpn. Still okay but when i ran the final command openvpn /etc/openvpn/client.ovpn in a terminal window it stays running in the background, this gives me my fake vpn address but the second i close the  openvpn /etc/openvpn/client.ovpn window it reverts back to my physical ip address. Any tips guys?



Re: expressVPN was working but now it's not #27 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 22:04

is there any way of running  openvpn /etc/openvpn/client.ovpn on startup?



Re: expressVPN was working but now it's not #28 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 22:09

openvpn --config /etc/openvpn/your-config.ovpn

runs too



Re: expressVPN was working but now it's not #29 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 22:24

okay so 

 

 

openvpn --config /etc/openvpn/client.ovpn 

works for a while but then it keeps dropping the ip address.Can one of you even hint at where I'm going wrong? 



Re: expressVPN was working but now it's not #30 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 22:41

ok it's been running now for almost 25 minutes without a problem EXCEPT that i need to keep the terminal i launched it from in Linux. once again is there any way of running openvpn --config /etc/openvpn/client.ovpn on startup?



Re: expressVPN was working but now it's not #31 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 22:56

and I'm back to the original error message: 

 

 

24-12-18 21:55:55 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2024-12-18 21:55:55 OPTIONS IMPORT: tun-mtu set to 1500
2024-12-18 21:55:55 ROUTE_GATEWAY 192.168.1.254/255.255.255.0 IFACE=eth0 HWADDR=7c:c7:0a:06:2d:c6
2024-12-18 21:55:55 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
2024-12-18 21:55:55 Exiting due to fatal error

 


Re: expressVPN was working but now it's not #32 WanWizard

  • PLi® Core member
  • 70,812 posts

+1,831
Excellent

Posted Yesterday, 23:22

If you don't do what I tell you, we won't get very far.

 

So again:

  • the openvpn init script is automatically started when the box starts
  • the openvpn init script will load and intialize the tun device on start
  • the openvpn init script requires config files to have a .conf extension
  • if those do not exist, nothing is started
  • starting it as a foreground task only works if the tun interface has been added by other means (and it blocks the terminal)

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: expressVPN was working but now it's not #33 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 23:29

okay so I'm obviously not gonna have any luck with this on my own. Can anyone point me in the direction of a website that might be of use to me?



Re: expressVPN was working but now it's not #34 WanWizard

  • PLi® Core member
  • 70,812 posts

+1,831
Excellent

Posted Yesterday, 23:49

So have you renamed /etc/openvpn/client.ovpn to /etc/openvpn/client.conf?

 

And started openvpn with

/etc/init.d/openvpn start

And checked the result in /var/log/messages?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: expressVPN was working but now it's not #35 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 23:54

apologies WanWizard. i posted my last message just as you posted your's i just refreshed the page so I'm only just seeing you message now. ok so i replaced the client.ovpn with client.conf

 

any idea what i should do next?



Re: expressVPN was working but now it's not #36 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Yesterday, 23:58

when i run : " /etc/init.d/openvpn start"

 

i get:
"Starting openvpn: ALREADY STARTED-> client."

 

but when i run "openvpn --config /etc/openvpn/client.conf" the konsole stays running but when i exit it i lose my vpn.



Re: expressVPN was working but now it's not #37 WanWizard

  • PLi® Core member
  • 70,812 posts

+1,831
Excellent

Posted Today, 00:04

So it starts and it runs fine.

 

Which means that /var/log/messages can tell you what is wrong if the result is not a connection.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: expressVPN was working but now it's not #38 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Today, 00:05

ok i rebooted my box and now when i run "openvpn --config /etc/openvpn/client.conf" it keeps telling me 

 

 

970-01-01 01:04:15 TLS_ERROR: BIO read tls_read_plaintext error
1970-01-01 01:04:15 TLS Error: TLS object -> incoming plaintext read error
1970-01-01 01:04:15 TLS Error: TLS handshake failed
1970-01-01 01:04:15 SIGUSR1[soft,tls-error] received, process restarting
1970-01-01 01:04:15 Restart pause, 1 second(s)


Re: expressVPN was working but now it's not #39 WanWizard

  • PLi® Core member
  • 70,812 posts

+1,831
Excellent

Posted Today, 00:11

That indicates a certificate issue.

 

In your case, caused by the fact your box doesn't have the correct date (1970-01-01 is the boot time), as certificates have a validity date (from and to), the date of the box should be correct.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: expressVPN was working but now it's not #40 theyikes

  • Senior Member
  • 67 posts

0
Neutral

Posted Today, 00:21

WHAT THE HELL!!!! there's no way in hell i would have spotted that!!! But now that you mention it it is running an hour ahead of my local (Dublin) time. It's strange, when i was flashing the box it asked for my time zone. I SPECIFIED Dublin. Is there anyway of rectifying that issue? Should i just reflash it and hope for the best?




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users