Page 1 of 1

Port forwarding instruction help

Posted: Fri Feb 21, 2025 2:15 pm
by Linubis

Sorry, its me again. I've been researching how to use git and nano to learn how to do this step but i cant seem to put things right.

In the yams port forwarding for proton installation the first step is spelled out. Second step is what I've been researching and cant solve. For those of you who are regular users of linux I'm sure this was easily understood. Best i could manage was to pull the code into script directory and im lost. Deleted directory so im back to step 1 and im here.

Anybody willing to eli5? What do i need to type for step 2 in the proton vpn port forwarding instructions so i can set this up please?


Re: Port forwarding instruction help

Posted: Fri Feb 21, 2025 5:07 pm
by rogs

Hey @Linubis!

You just need to open the file with nano and paste this script https://gitlab.com/-/snippets/4788387.

After you paste it, make sure you change your QBITTORRENT_USER and QBITTORRENT_PASS with the correct values for your configuration.

Cheers!

Roger.


Re: Port forwarding instruction help

Posted: Fri Feb 21, 2025 5:26 pm
by Linubis

Lol, thats the problem. I am not able to cut and paste with a laptop. Totally a me issue. So i tried typing in the file and cannot get it to run in nano as i dont know how.

So if i understand this correctly, after i mkdir and then nano, the editor is open with the /update-port.sh file in the heading. Id have to type in
https://gitlab.com/snippets/4788387.git and then control what? To pull that in? This is where im stuck. Once that loads then i will be able to edit and save changes and continue with instructions correct?

I was having a heck of a time combining nano and git to find what i needed in search.


Re: Port forwarding instruction help

Posted: Fri Feb 21, 2025 5:32 pm
by rogs

You need to understand how Nano works. You can also use any other text editor as long as you are comfortable with it.

If you go the Nano route, use this: https://www.nano-editor.org/dist/latest/cheatsheet.html


Re: Port forwarding instruction help

Posted: Fri Feb 21, 2025 6:24 pm
by Linubis

Thank you.