[Solved] Sia Hosting with Dual Stack-Lite (DS-Lite)
-
Hi,
since a couple of days I am trying to get my Raspberry Pi working for Sia Hosting. I am using ketefids SiaBerryOS.
My status are:
Connectability Not Connectable
Working Status Not WorkingBoth ports 9981 and 9982 are open as TCP (Windows Defender Firewall and router). I live in Germany and have a cable connection (DS-Lite - the ISP is UnityMedia --- I have a IPv6 external adress with and IPv4 tunnel). Router is Fritz!Box cable 6490.
I read some threads but wasnt able to find a working solution.
Maybe DS-Lite is the problem?!!
Maybe I did something wrong with freedns.afraid.org configuration...
Do I need a portmapper?I am not realy familiar with networks and be confused. Hope you can help
Thanks Phil
UPDATE ---
I managed to fix/workaround it and wrote a guide which is working for me:
Since my ISP only provides a Dual-Stack-Lite (DS-Lite) connection for private customers, you only get a public IPv6 address without an IPv4, in this case the router and the devices can only be reached via IPv6. But IPv6 is not a standard yet.
In order to access the RaspberryPi via the Sia network and IPv4 devices, a portmapper is required. This can be set up at e.g. feste-ip.net. The steps are explained below. The guide has worked for me, but I can imagine that with another configuration it is also possible. I am not an expert for home networks or an IT specialist, but if you have any any questions I will try to answer them.My configuration
router-------------------Fritz!Box cable 6490
device------------------Raspberry Pi 3
portmapper----------feste-ip.net
DDNS provider-----MyFritz!1. MyFritz!Release at your router. This will give you an URL like: "https://abc.myfritz.net:12345"
2. Now release any port of the RasPi inside the FritzBox (this port will be closed later). Select "MyFRITZ!Release" instead of "port release" during the process. After the port is released, an URL like "http://siaberryos.abc.myfritz.net:12345" is displayed in the edit menu (pencil icon). This URL is needed again.
3. Create an account at feste-ip.net
4. Create a new portmapper on the tab "Universeller Portmapper" with +
5. As DNS name/target IP use the URL of your MyFritz!Release "siaberryos.abc.myfritz.net" without "https://", without ":" and without the port
6. When assigning the alias, do not use special characters and do not use "." or "-" or "_", otherwise you will get an error from SiaBerryOS later. A continuous text is best. As well the ending should not have the mentioned characters too. "feste-ip. net" for example won`t work. The dot from ".net" works of course, e.g. "siahosting" and ".dnsupdater.de".
7. Leave the fields empty at port selection and at the bottom select "1:1 Portmapper" --> "2x 1:1 Portmapper" - create portmapper
8. Now you get a table like:
Your MyFritz!Release URL | Target ports | Mapping URL
siaberryos.xxx.myfritz.net | 11111 ..........| siahosting.dnsupdater.de:11111
.............................................| 99999 .........| siahosting.dnsupdater.de:99999If you click the double arrow, the ports should not be reachable yet - that's ok.
9. You have to release this ports for your RasPi as mentioned in point 2. As pattern use "http://". The previously selected port release can be deleted. The double arrow from the ports are still not available - that's ok.
10. Now create a FreeDNS account on freedns.afraid.org. Do not use more than 16 characters for the account password and only lower case letters and numbers, otherwise SiaBerryOS will strike later. You don't have to do anything else. I haven't tested it, but the registration might not be necessary.
11. In your interface of SiaBerryOS at the tab "OS Settings" set the RPC port to your portmapper port "11111" and the host port to "99999". After a restart the two ports should be accessible in your portmapper (double arrow) at fest-ip.net.
12. in line FreeDNS Account at SiaBerryOS tab "OS Settings" you enter your FreeDNS-ID and your password. You take the domain from your portmapper "IPv4 Mapping über" without the colon and port. "siahosting.dnsupdater.de" Set it!
13. Restart your SiaBerryOS. The RaspPi should be able to connect the sia network. Might take a couple of minutes.
Updating your IP address does MyFritz! and you don't need an additional DDNS server (actually freedns.afraid.org was implemented to do so by the developer).