OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of michaelvv »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - michaelvv

Pages: [1]
1
17.1 Legacy Series / [SOLVED] Bugs in OpenVpn Client part 17.1
« on: July 04, 2017, 11:11:04 am »
I have had a hard time to setup my VPN provider , using this excellent guide from M4DM4NZ
https://forum.opnsense.org/index.php?topic=4979.msg19771#msg19771.

Bug 1)

The problem was that every time I try too do a reboot, my VPN Client connection didn't came up.
On a working system I had these files in /var/etc/openvpn

-rw-------  1 root  wheel  2292 Jul  3 18:07 client1.ca
-rw-------  1 root  wheel  2392 Jul  3 18:07 client1.cert
-rw-------  1 root  wheel   705 Jul  3 18:07 client1.conf
-rw-------  1 root  wheel     3 Jul  3 18:07 client1.interface
-rw-------  1 root  wheel  3322 Jul  3 18:07 client1.key
srwxrwxrwx  1 root  wheel     0 Jul  3 19:09 client1.sock
-rw-------  1 root  wheel   657 Jul  3 16:07 client1.tls-auth
-rw-------  1 root  wheel    12 Jul  3 18:07 client1.up

After a Reboot

-rw-------  1 root  wheel  2292 Jul  4 10:57 client1.ca
-rw-------  1 root  wheel  2392 Jul  4 10:57 client1.cert
-rw-------  1 root  wheel   705 Jul  4 10:57 client1.conf
-rw-------  1 root  wheel     3 Jul  4 10:57 client1.interface
-rw-------  1 root  wheel  3322 Jul  4 10:57 client1.key
srwxrwxrwx  1 root  wheel     0 Jul  4 10:57 client1.sock
-rw-------  1 root  wheel   618 Jul  4 10:57 client1.tls-auth
-rw-------  1 root  wheel    12 Jul  4 10:57 client1.up

The client1.tls-auth got modified, and openvpn is not working anymore.

If I copy the original 657 Bytes back openvpn is working again.

Bug 2)

VPN: OpenVPN: Clients , If I open my Configuration and save it again. It make this
618 Bytes file does not work.

Took me a lot of time to figure out  :)




Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2