VPN client with OMV + transmission

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Re: VPN client with OMV

      I want instal client on my OMV NAS , but i think no plugin exist for OMV with WebUI.

      My provider give me options : PPTP/L2TP/SOCKS
      Normaly i can use OpenVPN client on my NAS , but i think i can't do this by WebUI.

      Sorry for my bad english , i m french :)
    • Re: VPN client with OMV

      I have instal openvpn and i think it's good :

      1) apt-get install openvpn
      2) copy ca.crt in /etc/openvpn (file from provider)
      3) open-vpn --config /etc/openvpn/xxxx.ovpn (file from provider)
      4) Connected with message "Initialization Sequence Completed"( i think it s good)

      So i find this on OMV network interface:
      [Blocked Image: http://img11.hostingpics.net/pics/316651network.png]

      How can i be sure that OMV use this VPN interface ?
      When i launch "open-vpn --config /etc/openvpn/xxxx.ovpn" , why i can't write another command ( block while openvpn is running ) ?


      Sorry i m very bad with debian ...
    • Re: VPN client with OMV

      You can use another terminal/putty session to check if it uses the vpn. just use (tracert or traceroute) google.com with vpn off and on.

      For your second problem: you can simply add a " &" at the end of the command and it will run in the background.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: VPN client with OMV

      Huh? of course you can. Just connect twice with putty or if you're in front of your machine hit alt+f2.

      PS: You can also put the username and password into the config file.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: VPN client with OMV

      With traceroute you see through which servers/routers you reach your target. It should be way different when OpenMediaVault routes the traffic through the vpn.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: VPN client with OMV

      Erm, it jumps to the same ip range on the second jump? Thats awkward.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: VPN client with OMV

      I have instal transmission and all works :D

      Just what can i use to know if transmission use my VPN?

      What i want (my process):

      1) Download Web site , "GO" on torrent
      2) WebSite send request to transmission for start a torrent ( via my public IP,not VPN )
      3) My NAS with transmission start torrent via VPN
      4) I'm happy :D

      Whitout VPN :
      - it's ok ( just step 3 is not with VPN)

      Whit VPN:
      - step 2 fail , but when i try in firefox url : mypublicip:9091 transmission is good ...
    • Re: VPN client with OMV

      I don't use transmission so I can't answer that.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: VPN client with OMV + transmission

      You can check your torrent ip using this;

      Source Code

      1. http://torguard.net/checkmytorrentipaddress.php


      The problem you will most likely have is that when connected to the VPN, all your traffic may be tunnelled through the VPN - which may not be desirable. I split my traffic by process UID, i.e. only processes running under a specific UID (in my instance the rtorrent UID) are tunnelled through the VPN, all other traffic goes through normal ISP WAN.
    • Re: VPN client with OMV + transmission

      Well, the first thing you will need to do is ensure that transmission is running under its own unique user id (UID). For rtorrent, this user (UID) is specified in the init.d file (etc/init.d/rtorrent). I assume that you will have a similar file for transmission . . . depending on how transmission is installed or how it works it may not like / allow running under a different UID?? btw, you can check the UID of the running processes probably through the OMV interface or by running "ps aux" at cli prompt (as root).

      I then used the information in this link to tunnel the UID only through the interface. . . .
      niftiestsoftware.com/2011/08/2…ecific-network-interface/
    • Re: VPN client with OMV + transmission

      Ok , i try your tutorial , thank you.

      Now my VPN is correctly launch and i can send request via my 9091 port for start a torrent file on my NAS.
      But the torrent client (transmission) doesn't work.

      In transmission log : "could not connect to tracker"

      How can i test my VPN is OK for tracker ? (without a .torrent file )
    • Re: VPN client with OMV + transmission

      I found the same instructions that scoobynz found, and it appears to be working for me. For transmission, the uid is debian-transmission, so you update the scripts and all traffic for that user is routed through the VPN interface (tun0 in my case). What I really like is that traffic just stops if the VPN connection is lost, so you don't have to worry about your traffic routing through another interface.