A vault in my home

Because I am an idiot, I can’t set up a vault. Hard to find out how to do that. Link for port forwarding is not SAFE specific. modify config files, binaries ??? No UPnP enabling directions. . . Better luck on the next one newbs that want to participate in testing. A bit frustrated, should be easier, yes, i understand this is a test and perhaps not meant for non-devs, but i feel left out. At least some better documentation would help.

8 Likes

You don’t have to modify nothing in the config files or in the binaries. Only port forwarding, to your computer, in your router (or enable UPnP).
This is usual in gaming, security camera setup, voice over ip and more. Nothing special…

for starter perhaps try an online node?

If you’re on Linux at home, then try the same as those instructions.

for BT Homehub at least is should be simply this via http://bthomehub.home/html/home/home.html
SAFE Network - Test 15 - #43 by davidpbrown

A few questions: What error message are you getting (or does the screen just close after a few seconds)? What operating system? What make is your router? Does the vendor provide instructions for port forwarding?

Also, if you’re using a VPN you’ll need to switch it off during the connection process. I always forget to do that!

Unless you have good bandwidth up AND down >6Mb/s I think, then you will not be able to run a vault from home.
Most vaults right now are in rented virtual machines in data centres.
Don’t feel bad about it, just sign up for cheap (or free) cloud instances.
Vultr is highly recommended but also check out Amazon Web Services
I can run a vault for free from AWS
t2micro/Central Europe/!Gb RAM 8 Gb SSD

Edited to make some kind of sense

2 Likes

Its bandwidth uploading that is needed. Most people with decent links will have >6 down. Its the upload that is the limiting factor

2 Likes

whoops - just reread my post again there.
Needs editing to read
" bandwidth of >6Mb/s up AND down"

1 Like

As another noob I agree. I am having a hard time learning how to configure my setup to be able to participate in the tests.

2 Likes

No problem. We’re all noobs! Happy to walk you through it although each setup / router will be different, so there’s no one-size-fits all.

First thing is to check your upload speed e.g http://beta.speedtest.net/ - If it’s not at least 6Mbps you won’t be able to run a vault on this testnet.

If all is well, you will need to change your router settings (so you’ll probably need to know the admin password).

If you have a BT router like me (Home Hub or Smart Hub) then go to 192.168.1.254

Click on Advanced Settings then click on Firewall / port forwarding. Enter your router admin password and select Port Forwarding. You then need to create a new port forwarding rule for TCP Port 5483. My setup is shown here. I couldn’t get UPnP to work for this port by the way.

Hope this helps.

If it still doesn’t work make sure your Windows or other firewall isn’t blocking that port, and that you’re not running a proxy or a VPN.

10 Likes

Thanks. In the router port forwarding settings I need to enter
wan:
lan:
destination:

I asume I put port 5483 in wan and lan, but I am not sure what ip address I should use in ‘destination’.
I have made a rule in my antivirus software to accept safevault.exe. I hope this is enough. Or, do I need to change something in the router’s firewall also?

1 Like

Use WAN if your vault computer uses a wireless connection to the router or LAN if the vault computer is connected to the router with a cable.

In destination you should put the IP address of your vault. I don’t know what operating system you’re using so you may not be able to follow these directions (Win 7):
1 press the windows key (or use the mouse) to open the start menu.
2 type in [cmd] [Enter] to start a commend shell
3 type in [ipconfig] [Enter] to get an overview of your vaults network configuration
4 take note of the IPv4 address and use it for the port forwarding settings

Hope this will help you ahead.

3 Likes

I guess the IP address is your computer’s internal IP. If you bring up a command prompt and type ipconfig you should be able to see the IPv4 address which is the one you want. Regarding Windows firewall I usually just get a little pop-up when I start a vault for the first time asking me to agree to whitelist it, but I think I have admin rights (I get a bit confused with how it works in Windows).
Ah @remco beat me to it!

2 Likes

I agree 100% There is no interface, Im opening and running it, no idea WTF is happening I just see new node text files being created.

I believe once NAT Traversal is re-enabled in Crust, connections will all be automatic and under the hood, so no tinkering with port forwarding or UPnP

5 Likes

Well if up speed needs to be 6mbps good luck to anyone in Australia we have some of the worst upload speeds on the planet. I am currently on an ADSL line with a max upload of 0.8. I’d have to wait for the NBN rollout which is not till Jan 2018 in my area, sign up for an NBN connection which I am told has heaps of problems already and even then i’d only get about 4mbps so i’d have to pay for a speed boost to get about 40mbps

Join the club :angry: Although you are earlier than me.

There is a least one other person on the forum who has the 40Mbit/sec upload and they say that getting near that is possible. So I live in hope.

The 6Mbits/sec requirement should be coming down as things/tests progress and they can see the network working fine with the lower limit. Its almost a case of its so high so they can guarantee good performance with so few nodes. As the node count dramatically increases then the effects of slower nodes reduces somewhat. More nodes allows the lower limit of upload speed to reduce.

There is still going to be a limit of some amount. Imagine 1000 nodes on a 1Mbit/sec upload, all the GETs from that lot of nodes will potentially take hours to upload. Not a very useful network and of course those vaults would rarely ever get a coin

We have set aggressive “magic numbers” here to remove a limitation. The network will set this number eventually. This will be much lower than we have set but will disallow some nodes I am sure. Anyway, I am also on adsl so will be pushing this as low as we can while we do the tests. tests will always err on side of requiring much more than needed and also we will be allowing much slower nodes, but of course they will be limited in farming ability for sure, but that’s all Ok for me anyway.

8 Likes

have you heard of this? https://www.lightningbroadband.com.au/

OK Makes sense. Thanks