Jorgen

Members
  • Posts

    269
  • Joined

  • Last visited

Posts posted by Jorgen

  1. Bumping this back up not sure if any of you have similar issues

    Have a look at the WireGuard section here: https://github.com/binhex/arch-delugevpn

    Looks like you are missing
    —sysctl="net.ipv4.conf.all.src_valid_mark=1" 



    Also, from your volume mappings it looks like you’re running this on a Windows host? I know wireguard relies on support in the Linux kernel, so not sure if that would cause problems when running on Windows.


    Sent from my iPhone using Tapatalk

  2. Trying to find out if I'm max speeds or if I'm doing something wrong, I've read all the documentation I've come across on github. I have symmetrical gigabit and I'm maxing out at 80MiB/s, which is fine, but I've seen people saying they're getting close to 300 also with gigabit and PIA like I have. Any ideas? I tried wireguard on a few different servers but that's topping out closer to 50. Not getting any log errors.

    I think you’re mixing Bytes and bits there. 80MiB/s is pretty close to the maximum practical speed of a 1Gb/s line.


    Sent from my iPhone using Tapatalk
  3. @Jorgen
    I use a dedicated NIC, i have 3 NIC so, i used one for delugevpn, and i dont have anything else install, so i dont understand a conflic of port???
     
    thanks

    Yeah me neither, but I’m out of my depth here. Hopefully someone more knowledgeable can jump in and help.


    Sent from my iPhone using Tapatalk
  4. Confused, what traffic besides web traffic would you want to route through the tunnel?  Or rather what traffic would not be routed through the proxy?  If I shutdown my delugevpn container I can get to the other apps webui but they can't get out to anything else

    Hiding DNS lookups from your ISP would be one example of traffic that normally bypasses the proxy.
    But the main use case is to use the VPN tunnel for docker apps that don’t support the use of a proxy at all. NZBget would be one example, but there are many more.


    Sent from my iPhone using Tapatalk
  5. Thanks for the info for my password... i erase all docker so no port is in use i guess.

    Try rebooting unraid to shake out any leftover port usage.

    But what is this in your run command?
    —net=eth1


    That looks non-standard to me, and might be part of the problem?


    Sent from my iPhone using Tapatalk

  6. 53 minutes ago, themoose said:

    Hi, I'm using the binhex/arch-delugevpn:test container for some time

    Glad it's working for you again, but you probably shouldn't be using the :test tag anymore. It was only temporary for testing new functionality when it was first introduced.

    Just removing ":test" from the repository field and saving the changes should get you back on the latest normal release of the container.

    • Like 1
  7. So I have tried everything and I still cant get my deluge vpn back up and running with the nextgen Pia OVPN. I also cant find the list of which allow port forwarding . Has anyone been successful? 

    Lots of people are running successfully on the nextgen servers.
    If you post your logs (remove username and password first) we should be able to help you get it working.
    The logs also contain a list off all endpoints that support port forwarding.


    Sent from my iPhone using Tapatalk
  8. Gotcha! I'll turn on turbo-write for large transfers.
     
    I recall reading that the virtio drivers emulates a 10G NIC but my motherboard only has a 1G NIC. Am I technically bottlenecking myself at 1G because of it?
     
    Specifically, if I change the NIC to a 10G card (and network switch), would I transfer to my cache drive at 10G instead?
     

    It won’t help in this case, the VM to unRAID share networking is not affected by the NIC speed, it’s using a virtual network. You should already be able to write to the cache drive at full disk speed from the VM


    Sent from my iPhone using Tapatalk
  9. Just adding to your learnings: enabling turbo-write has no effect when you also disable the parity disk.

    There is a good explanation in the wiki about how normal vs turbo-write parity calculation is achieved and why the latter is faster. It comes at the expense of needing all your drives spun up though.

    I’m on my phone so won’t even attempt to find the article and link it, but I’m sure you can find it yourself if you want to dig deeper.


    Sent from my iPhone using Tapatalk

    • Like 1
  10. 2 hours ago, jwoolen said:

    Anyone else having issues with DNS leaks since the changover with PIA? My DNS settings are set to the PIA DNS servers: 209.222.18.218, 209.222.18.222. No matter what it defaults to the one shown below.

    I assume the screenshots are from a browser on your local PC and you have configured the browser to use Privoxy as the proxy server?

    In that case the browser routes http traffic via the proxy server and VPN tunnel. However, the browser will use the OS mechanism for DNS resolution (DNS is different to http). Since your OS doesn't use the privoxy proxy it will fail the DNS leak test. The DNS servers you set in the container setting has no effect on the browser behaviour in this case. I believe they are only used by the container before the VPN tunnel is established, but maybe @binhex can confirm this?

     

    When you are using the PIA app on teh other hand, all internet traffic is routed via the VPN tunnel on an OS level, including DNS resolution. So DNS passes the leak test.

     

    So how do you get the results you want? Two options that I know of that should work (but see note below):

    1. If your browser supports it, set DNS resolution to use http protocol. In Firefox this is called "Enable DNS over HTTPS" under the proxy configuration settings. I assume other browsers have something similar.

    2. Enable SOCKS v5 proxy in Privoxy and set up your browser to use that. See here for details on how that works: https://stackoverflow.com/questions/33099569/how-does-sock-5-proxy-ing-of-dns-work-in-browsers

     

    Now, I just tested both methods and could not get the browser to pass the DNS leak test for either. Not sure what I'm doing wrong but I'm not that worried about it as I use the PIA app on my PC anyway. But maybe this will point you in the right direction. Please report back if you try it and get it to work for you.

     

    Actually, you might also be able to set up your OS to use Privoxy as the proxy, but I have not tested that at all.

     

    Edit: looks like I need to use FoxyProxy extension for Firefox to be able to pass the username/password when using Socks. Hopefully other browser have better support for Socks...

     

  11. Ok, had a look at earlier posts and I take it you will buy new 8TB drives. Assuming the 10TB spare has data on it, this is what I would do:

    1. Assign the 8TB drives to the array and let unraid clear and format them. Do not assign a parity drive yet. And either don't assign a cache rive at all, or make sure you user share(s) are set up without cache as Trurl mentions above.
    2. Mount the share on your Windows box
    3. Use TeraCopy to copy all data to share(s). At this point you have two copies of your data, one on original drives, one on unraid share
    4. Add spare 10TB drive to unraid and assign it as parity drive. Unraid will start building the parity. This will take quite some time, 1-2 days most likely. During this process any data that was previously on the spare 10TB drive will be wiped and only exist on unraid, but it will be unprotected as the parity has not been built yet. You need to decide if you are willing to live with this risk.
    5. Once parity is built, you can delete any duplicate data from the non-spare 10TB drive that is still in your Win box.
    6. Add or enable cache for the share etc.
    7. Optinally add another parity drive if that was your plan.

    If you are not comfortable with the risk in step 4, you're only option is to add another (new) disk as parity at the start of the process to ensure the data is protected at all times. But it will slow down the data transfer.

     

  12. One other thing, anyone got a software they'd recommend for handling the transfer of data from my existing system drives to the NAS once it's built. Windows copy paste is cool but there's no way to check nothing got corrupted in the move and it's not exactly ideal for very large amounts of data.

    If you want to run the copy from your win box over the network, TeraCopy will let you verify file integrity and has other good features for large copy jobs: https://www.codesector.com/teracopy

    You could also mount the drive in unraid using the unassigned devices plugin and use something like rsync from the unraid terminal. This would likely be faster (no network bottleneck) but is more advanced so the scope for process errors goes up.

    And while we’re on the subject of large data migrations. Some people like to transfer the initial data without a parity drive assigned. This way the writes are much quicker. Then once the data has been copied, assign a parity drive and let it build parity for protection against disk failures. Just something for you to consider.


    Sent from my iPhone using Tapatalk
  13. Couldn't find much on deluge forums - only that people had success switching to QBitTorrent.  I switched to QBitTorrent (by binhex) and I'm getting the same result.  The torrent(s) is added to the client, then almost immediately drops to 0 KiB/s after starting (upon container reboot).  I'm at a loss here, not sure what else I can try.  Keep in mind, everything worked fine just a few days ago.

    So is the VPN still up when the download drops to 0? I guess it must be if you can access the deluge web UI.
    You have tried other endpoints?
    Debug logs might reveal something, but I agree that this seems to be a problem outside the container, especially since the other container has the same problem.


    Sent from my iPhone using Tapatalk
  14. This behavior is the same after each deluge reboot, no matter what I change it seems. Any ideas?


    Maybe try the WireGuard option instead of OpenVPN? It’s working very well for me, none of these cipher problems.
    Although your problem seems unrelated if it actually connects successfully at first.
    Are your trackers blocking you? Have you run out of space on any disks that deluge are using?


    Sent from my iPhone using Tapatalk
    • Like 1

  15. do i need a (ssd) disc to function as cache? i would want the kodi client to function as fluid as possible (saw a lot of topics about kodi hanging and stalling)


    The cache is only used for writing to the array (if you’re not using VMs and dockers) so won’t give you any performance benefit for Kodi reading from the shares.
    From your use case I don’t think you need one.

    On another note, that motherboard has a Realtek NIC which can cause problems with unRAID and is not recommended. Safer to use an intel based card. But you can add that later IF you have problems with the onboard NIC.

    Other than that I don’t see any problems with using your gear as a pure NAS.


    Sent from my iPhone using Tapatalk
  16. Did I misunderstand binhex's comment right above mine?

    PIA offers three connection options:
    1. legacy servers via OpenVPN
    2. next-gen servers via OpenVPN
    3. next-gen servers via WireGuard

    Only 1 and 2 are currently supported by this container. And 2 is the recommended option.
    Support for 3 is being worked on.


    Sent from my iPhone using Tapatalk
  17. 1 hour ago, binhex said:

    Evening furry guinea pigs! :-), there will be a new test tagged image available in the next hour from now, this one includes a fix for the multiple retry issue due to login failure, so you should now get assigned a incoming port on first run for next-gen!, let me know how you get on.

    Looking very good here. Successfully acquired a port within 21 seconds of starting the new container. As far as I can see it only took one try, no re-tries. But then again I don't have debug logs on so not sure if there-tries would show?

     

    • Like 1
  18. 30 minutes ago, MisterOrange said:

    I am getting an error when it is trying to retrieve a token from PIA. "parse error: Invalid numeric literal at line 4, column 0", and it is unable to get the payload from PIA (bottom of the log). It then goes into a loop re-connecting to PIA and trying again.

    I was getting the same, but left it for a few minutes and it came good on it's own.

     

    Getting great speeds finally from an endpoint on my own continent (au-sydney)! :)

     

    @binhex do you need anything specific from us guinea pigs?

  19. I couldn't get any 'port forwarding' server working here in AU with latest PIA openvpn-nextgen files.
     
    I went with wgstarks suggestion for now until fixed.

    Port forwarding does not work with any nextgen servers. PIA does not support it (yet?)
    You have to use one of the supported “current gen” servers and from there it’s hit-and-miss whether you get a port or not. Changing the server endpoints and/or restarting the container normally gets it going after a while.
    FWIW I just connected (also from AU) to DE Berlin with a working port forward and good speeds.


    Sent from my iPhone using Tapatalk
  20. Hmm, I don't actually read/write to the shares much from my Mac (Catalina), especially big files. But I just did a test and the speeds aren't as fast as I expected for me either. I'm getting 10-20MB/s write, and a bit less on reads (single large file).

    There are some SMB config tweaks floating around on the forum specifically for Mac transfer speeds, I will look into to this to see if it makes a difference and report back.

     

    In the mean time, have you enabled "Enhanced macOS interoperability" under Settings/SMB Settings in unraid? If not, do that and see if it helps (probably requires restart of array at least).

    1730142061_ScreenShot2020-08-24at9_32_45am.thumb.png.d42b10f7687ed2d94644bc19d4ebfc1c.png