So from what i could understand (forgive me) i should make my user have sudo privellegies which latest docker … so should i run docker ps using sudo?? forgive me im just a noob.
No. I’m speaking about creating container. Depending on your user you need docker or sudo docker, but I’m suggesting another thing. Following is on storj setup manual:
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 127.0.0.1:14002:14002 \
-e WALLET="0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e EMAIL="user@example.com" \
-e ADDRESS="domain.ddns.net:28967" \
-e STORAGE="2TB" \
--user $(id -u):$(id -g) \
--mount type=bind,source="<identity-dir>",destination=/app/identity \
--mount type=bind,source="<storage-dir>",destination=/app/config \
--name storagenode storjlabs/storagenode:latest
I suggest to remove --user ... and add --privileged. Additionally remove 127.0.0.1: from 14002 port mapping, otherwise you’ll be able to connect to web interface from local system (not from you mobile) So something like this:
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 14002:14002 \
-e WALLET="0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-e EMAIL="user@example.com" \
-e ADDRESS="domain.ddns.net:28967" \
-e STORAGE="2TB" \
--privileged \
--mount type=bind,source="<identity-dir>",destination=/app/identity \
--mount type=bind,source="<storage-dir>",destination=/app/config \
--name storagenode storjlabs/storagenode:latest
i figured it out i got cgnat when my isp changed what to do?
You can try things in the following order:
- ask your ISP to give you public IP
- Ask your ISP to forward a port to you
- setup vpn with port forwarding on some cloud provider. Here is the guide for Oracle, that provides a generous free tier: Simpler way to configure Oracle VPS as a VPN to get around CGSNAT for node hosting purposes. Ionos is another popular provider with unmetered bandwidth.
- use public vpn service with port forwarding, like AirVPN
im trying to fix noip but it tells me to
Now that the client is installed and configured, you just need to launch it. Simply issue this final command to launch the client in the background:
/usr/local/bin/noip2
but then i did this
catdrout@lenovo:~/noip-2.1.9-1$ sudo /usr/local/bin/noip2 -C
Auto configuration for Linux client of no-ip.com.
Multiple network devices have been detected.
Please select the Internet interface from this list.
By typing the number associated with it.
0 bond0
1 docker0
1
Please enter the login/email string for no-ip.com datorkat@proton.me
Please enter the password for user ‘datorkat@proton.me’ *********
Only one host [datorkatnode.ddns.net] is registered to this account.
It will be used.
Please enter an update interval:[30] 30
Do you wish to run something at successful update?[N] (y/N) Y
Please enter the script/program name datorkatnode.ddns.net
New configuration file ‘/usr/local/etc/no-ip2.conf’ created.
catdrout@lenovo:~/noip-2.1.9-1$ /usr/local/bin/noip2
Can’t locate configuration file /usr/local/etc/no-ip2.conf. (Try -c). Ending!
You need to copy configuration file to where it expects it.
But first you need to figure out your CGNAT issue
Please elaborate more (Sorry im noob please dont be angry at me like my brother) what about my cgnat issue? im trying to fix it via noip like it says in the docks and when i check your post
Setup goes as follows:
- Configure firewall on the oracle gateway in the web or cli console, to allow your node’s port and wireguard port, as described in the linked post above
- Configure Wireguard tunnel, following whatever tutorial you like. Just bare minimum, no preUp/psotDown rules or anything else fancy.Example:
on the server:
my question is (which firewall or gateway)???
which wireguard tunnel???
NoIP won’t help you with cgnat. CGNAT means the ip address your router gets is not reachable from the internet. The same way ip addresses of your machines in the LAN are not reachable from outside.
When you setup noip it will detect your external IP to be that of your ISP router, not the one assigned to your router. Because there is no node running at that host and no port forwarding rule — it won’t work.
The best approach is to get public IP. Call your ISP and ask. Some may give you one. Next best thing — ask them to forward port. Don’t tell them you are going to run a node — tell them you need to access security camera from outside.
Only if that fails you can consider more complex solution — and it’s indeed more complex. You will learn a lot implementing that, but it won’t be easy.
The idea is that you run another machine somewhere where it can get a public IP. VPS on cloud provider is one option. Some cloud providers offer free tier that is so generous as to be suitable for storj. Or you can use public VPN service that offers port forwarding. I like AirVPN but there are others. The downside is youlll get better performance with your own VPS
Here is the step by step guide for Oracle VPs Hosting services behind a restrictive firewall/CGNAT using DNAT on a VPS hosted wireguard endpoint | Trinkets, Odds, and Ends
Then you run a vpn server on that machine in the cloud and forward port to the client. On your machine that runs node you run vpn client that connects to that vpn server you started, and have node listen on vpn client interface.
Does it make sense? Let me know what to clarify more.
Guess what with the help of AI i managed to do this without of your all help. And where did i have ill manners? Plus i got great english but im not sitting with the royal society.
PS this is actually very complicated and yall are using very complex wording im not a engineer or a It tech
The title was shortened for faster understanding than me typing Hello, Noob here i need help from you guys!
Cause AI messes up and pn the internet theres 100s of the level of my bro which can help me.
Why insult somebody, when they have done nothing to you?
Why is not being fluent in english bad?
lol, especially coming from someone who could not have been arsed to come up with a username by means other than throwing a cat on a keyboard.
?? do you even know what my name means? i love cats and i love dator (computer) why you so toxic
Not you, obviously. Check comment tree. This fella: xgDkAbzkp9y
Okay OwO thanks for bearing with me im a noob ![]()