Jump to content

comet424

Members
  • Content Count

    172
  • Joined

  • Last visited

Community Reputation

2 Neutral

About comet424

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. comet424

    how you use OpenVPN with unraid

    I tried the OpenVPN client app but it says choose file but its not clickable so cant even import the OpenVPN config file
  2. hi I tried googling but cant find info how you setup OpenVPN client I installed all 3 open vpns from the app store.. couldn't get the OpenVPN-as to even work like th video showed but what I want is to run in a user script connect to my sisters Pfsense Router over the internet.. and then run my Rsync commands.. then when done it disconnects the OpenVPN client.. but I cant find the commands for this how to do it
  3. ok that ssh echo command worked.. probably cuz I after all that nothing working just copied the ssh folder of Tower to Mitchtower and my Backuptower through windows ok well we both using Pfsense and I do have OpenVPN Server running on her machine her network is 192.168.1.1 and mine is 192.168.0.1 I had to give her a 1.1 since I was having issues when same as mine and cant access her 192.168.1.1 has to be 192.168.100.1 to access but can unraid OpenVPN connect to her pfsense is what I ment like in that user scripts... connect to her pfsense access her unraid then disconnect her OpenVPN... I tried the OpenVPN Client plugin but it doesn't work you goto it says Choose File you cant even click Choose File like it states its not clickable as I was going to import my OpenVPN pfsense file
  4. oh and another question im just using root@mitchtower since its my sisters tower but im just testing and setting it up at my house but its going to goto her house and she will have a backup unraid as well... how do you connect rysnc to her computer to connect to her unraid or possibly her mitchbackup (unraid) and id like to use openvpn to connect then disconnect in the same script but cant figure it out yet
  5. ok thanks that fixed it.. man there is sooo much to learn with this typing compared to windows 2 more questions when i copy using the Rsync when its on my tower unraid there is a problem i loose rights i have to goto Tools/ New Permissions and run that each time i get this nobody user access denied... is there a way to fix this when copying from windows or with this rsync that i dont have to keep running New Permissions and 2nd i never resolved the issue with the password thing up above.. is there a reset ... because even though i deleted passwd shadow smbpass files it still asked me password even though root has no password.. and when i do add a password i type it in it either does 3 times .. or accepts it but then says connection lost or closed cant remember... as i ended up just copying the ssh folder directly from my tower to mitchtower and backupserver to least get rsyncing to work using the windows shares.. im still really new at this last time i used a linux was 20 yrs ago with Redhat and couple others in collage but it wasnt easy mounting cd rom drives etc so i stuck with windows and never looked back lol
  6. and i have another question i dont know whats wrong... if i Push to my backup server with a folder name with a space works but when i pull from my sisters unraid it gives errors this works ------------------- rsync -avzu --stats --numeric-ids --progress -e "ssh -i /root/.ssh/id_rsa -T -o Compression=no -x" "/mnt/user/Jamboree Files/" root@backupserver:"/mnt/user/Jamboree Files/" >> /boot/logs/cronlogs/BackupNAS_JamboreeFiles.log this doesnt work ------------------------------- rsync -avzu --stats --numeric-ids --progress -e "ssh -i /root/.ssh/id_rsa -T -o Compression=no -x" root@Mitchtower:"/mnt/user/Install Programs/" "/mnt/user/Mitchs Files/Install Programs/" >> /boot/logs/cronlogs/Mitchs_InstallPrograms.log this is the error i get ------------------------------------- rsync: link_stat "/mnt/user/Install" failed: No such file or directory (2) rsync: change_dir "/root//Programs" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1659) [Receiver=3.1.3] rsync: [Receiver] write error: Broken pipe (32)
  7. was hoping there was a reset for that but nothing and no one has an answer so i guess the only answer is to format and start over
  8. oh i tried a root password and it doesnt matter still gives you 3 times and that error like i posted
  9. ah ok ya one miss type and she buggers up... still cant resolve that id_rsa issue and cant resolve the asking for a password on my other unraid computer when it doesn't use a password and since I don't think anyone has an answer for that issue I gotta formate the usb and restart over
  10. oh i have no idea if my cpu supports quick sync video not sure what that is.. ya i running plex i set it for hardware transcoding in the plex settings ya i noticed its space sensitivie too ugh so if i had a space after towerkey it be towerkey .pub not towerkey.pub but i made sure no spaces and ran above and rebooted and still problems cant solve the password issue on the mitchserver gonna reformat that one i guess no one has answer but here you see the error still and i ran it in the order i posted above
  11. the line cp /boot/config/ssh/medianas_key /root/.ssh/id_rsa i renamed to cp /boot/config/ssh/TowerKey /root/.ssh/id_rsa doesnt work file not found or so is there an extension needed
  12. is there a way to make unriad not case senstive.. this stuff is crazy and reason i seen root if you load up filezilla i had seen before the folder name root in the main directory.. this is why everything confuses me still new to unraid.. was using freenas before unraid ok i see the one mistake i used your medianas_key and i followed other instructions tower-rsync-key this stuff confuses me but can you go to the steps before go file is this all correct Tower --------------- ssh-keygen -t rsa -b 2048 -f /root/.ssh/TowerKey scp /root/.ssh/TowerKey.pub root@backupserver:/root/ scp /root/.ssh/TowerKey.pub root@Mitchtower:/root/ backup computer ------------------------------- mkdir .ssh chmod 700 .ssh mv TowerKey.pub .ssh/ cd .ssh/ chmod 600 authorized_keys cat Tower-rsync-key.pub >> authorized_keys cd .. chmod 700 .ssh/ chmod 600 .ssh/TowerKey.pub chmod 644 .ssh/authorized_keys Tower ---------- rsync -avz -e "ssh -i /root/.ssh/TowerKey" /boot/config/ root@MitchTower:/boot/fromTower/ rsync -avz -e "ssh -i /root/.ssh/TowerKey" /boot/config/ root@Backupserver:/boot/fromTower/ as i have a mitchtower my sisters unraid.. then i have my own backupserver and tower and i wanna be able to send files to the mitchtower and mitchtower send files to Tower or id pull it... but are those the steps before the go files as i trying to re read other article and incorportate things my go file for the tower but i dont have the plex in there now i guess i need to add it #?Setup drivers for hardware decoding in Plex modprobe i915 chown -R nobody:users /dev/dri chmod -R 777 /dev/dri # Copy SSH files back to /root/.ssh folder and set permissions for files mkdir -p /root/.ssh cp /boot/config/ssh/TowerKey /root/.ssh/id_rsa cp /boot/config/ssh/known_hosts /root/.ssh/known_hosts cat /boot/config/ssh/TowerKey.pub > /root/.ssh/authorized_keys chmod g-rwx,o-rwx -R /root/.ssh #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & and now the backupserver go file #Setup drivers for hardware decoding in Plex modprobe i915 chown -R nobody:users /dev/dri chmod -R 777 /dev/dri # Copy SSH files back to /root/.ssh folder and set permissions for files mkdir -p /root/.ssh cp /boot/config/ssh/TowerKey /root/.ssh/id_rsa cat /boot/config/ssh/TowerKey.pub > /root/.ssh/authorized_keys chmod g-rwx,o-rwx -R /root/.ssh #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & and not the Mitchserver go file #?Setup drivers for hardware decoding in Plex modprobe i915 chown -R nobody:users /dev/dri chmod -R 777 /dev/dri # Copy SSH files back to /root/.ssh folder and set permissions for files mkdir -p /root/.ssh cp /boot/config/ssh/TowerKey /root/.ssh/id_rsa cp /boot/config/ssh/known_hosts /root/.ssh/known_hosts cat /boot/config/ssh/TowerKey.pub > /root/.ssh/authorized_keys chmod g-rwx,o-rwx -R /root/.ssh #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp &
  13. i set on the remote unraid under ssh settings i set it to accept root no need for a password password can be blank.. and applied i tried again to copy that key file over from tower and it connection closes
  14. i tried going cd root wont let me tried using Filezilla to see if i could copy tje key file to the backup server wont let me in the root how you get in there... and under windows share i dont see a root folder to just copy the pub file from it to backupserver since i cant get passed this error above
  15. when i create a user mike and i used password i get this error