OpenVPN HOWTO?

  • Hmm this is rather odd. I changed my subnet adress from 192.168.1.0/24 to 192.168.33.0/24 last week and it didn't have any impact on the dropdown options.
    I routed the connection with manual entries in the extra options section of the openVPN OMV GUI, i.e.


    Code
    route 192.168.1.0 255.255.255.0
    persist-local-ip
    persist-remote-ip


    This works fine with the appropriate client-side configuration. I can ping and access clients through the VPN tunnel. But you are right, no broadcast info..

  • No dropdown though? This has really driven a few people crazy. For me it has alway worked correctly 1st try and I have not been able to replicate the issues that some have had. My router address has always been 192.168.1.1 for my network.


    PS- the only issues I had was on upgrade from a .3 plugin to the .4.

  • If you find an answer to this issue please let us know. If I figure it out I will make a topic on it in the plugins section. I wish I could replicate the issue on a machine. I even tried on vms but never had this issue. It is hard to problem solve when your machine does not have the issue.

  • i am at a subnet and my router is 192.168.1.1


    but got only at the dropdown the "all Network traffic"


    iptables -L

    Code
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination


    /var/www/openmediavault/js/omv/module/admin# stat openvpn.js


    Code
    File: „openvpn.js“
      Size: 54276     	Blocks: 112        IO Block: 4096   reguläre Datei
    Device: 831h/2097d	Inode: 272006      Links: 1
    Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2013-04-03 01:18:42.103934686 +0200
    Modify: 2012-12-16 16:50:27.000000000 +0100
    Change: 2013-04-03 01:13:38.755939399 +0200


    is it essential to run openmediavault at 64bit? because i got the 32bit version running!

  • thank you for your fast help
    now i get this if i want to save any changes or restart on openvpn web interface:


  • Did you do the chown -R on the last post I had?


    chown -R openmediavault:openmediavault /var/www/openmediavault


    You need to chmod these files too. I'm going to give you a list so check here again after a bit:


    chmod 664 /var/www/openmediavault/js/omv/module/admin/openvpn.js


    chmod 664 /var/www/openmediavault/rpc/openvpn.inc


    chmod 664 /var/www/openmediavault/module/openvpn.inc


    chmod 775 /vat/www/openmediavault/js/openvpn


    chmod 664 /var/www/openmediavault/js/openvpn/wizard.js

  • No, you do not use the -R with the chmod. Here is one I forgot


    chmod 664 /var/www/openmediavault/js/omv/module/user/openvpn.js



    Chown changes ownership and chmod changes permissions. There are triggers that should run once a plugin is installed but on your install they did not.
    So we are trying to fix the ownership and permissions of files. You can run these chmod lines just like I wrote and even copy and past them into Putty
    if you want.

  • ok thank you so far for repairing permissions with me. but i keep get
    this message if i want to make changes or restart the openvpn service...


    another question is:


    under settings tab where i normaly get 3 choices (and only have one arm)
    what network adress should i give me?
    it should be a network adress in the network but not within the dhcp range of the router, right?

  • alt-get upgrade brings up 0 packages to upgrade or modify!


    stat openvpn looks now like this:


    Code
    File: „openvpn“
      Size: 7319      	Blocks: 16         IO Block: 4096   reguläre Datei
    Device: 831h/2097d	Inode: 132038      Links: 1
    Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2013-04-03 01:15:29.155938879 +0200
    Modify: 2010-04-10 17:15:30.000000000 +0200
    Change: 2013-04-03 01:15:28.259937287 +0200

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!