I got my public ip, now I would like to switch from home-network to upnp.
I have 2 hardware to run, one is with node-launchpad, i assume it is enought if i restart the nodes, connection is set to “automatic”.
But in the other I’m using antctl with -home-network. Do I need to delete current nodes and create a new ones?
Is there a benefit to specifying the connection type as opposed to leaving it automatic?
Benefits some computers/routers where the detection program that is run to automatically select the right mode cannot get it right for those computers/routers.
In these cases it is best to select home-network.
@Hannu Go to options and there you can select the connection type
Is one connection type preferable for maximizing node rewards over the other?
The one that works is the best.
It all depends on your setup.
- If your router handles upnp correctly then this is the best for ease of use and best connectivity (on par with port forwarding)
- port-forwarding is more difficult from a technical point of view as it requires a router that can perform this and you being able to set it up in the router and handle your firewall to allow those ports.
- home-network is easiest by far as you just set it and let your node run. It provides adequate connectivity for nodes to run properly but not quite as good port-forwarding
As to which earns more, again its down to which actually works for your setup and this is what automatic is meant to do. From a resource usage & best connectivity then upnp or port forwarding is better than home-network as relay nodes are not needed.
Is it possible to identify which connection type is being used when it’s set to automatic?
When using port forwarding method, does it use tcp or udp?
Yes, this option is available on node-launchpad. It tells that i need to re-create the nodes, so I assume I have to re-create them on the cli also.
Thanks!
At this time it uses UDP for node comms that require receiving unsolicited packets. If TCP is ever used then is purely for getting the contacts list and is not unsolicited. But that is being done away with too I gather.
Port-forwarding only requires UDP, which also enhances security since TCP packets are not being forwarded.