Can a YaCy-owned IPv6 subnet solve the port forwarding issue

Forum for developers

Can a YaCy-owned IPv6 subnet solve the port forwarding issue

Beitragvon Orbiter » Di Jan 14, 2014 3:18 pm

Because this topic may influence the VM-Image-with-YaCy and YaCyPi project I post this in english:

You can have a (large!) IPv6 subnet at https://www.sixxs.net. This means: when you sign up there, you become a network operator with a very large IP range and you can assign fixed IPv6 numbers to your devices. Because such devices are tunneled through your router (or whatever) they become directly visible in the IPv6 internet and all your open ports on your server as well.

This is the easiest solution to the router-port-forwarding problem when we need to forward ports from peers which shall be easy-to-set-up.

But: each VM or device must get assigned a single IP within that IP range that you get from sixxs.
Orbiter
 
Beiträge: 5792
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main

Re: Can a YaCy-owned IPv6 subnet solve the port forwarding i

Beitragvon Orbiter » Mo Jan 20, 2014 2:59 pm

I have now obtained such a tunnel and are running a YaCy peer at

http://[2001:4dd0:ff00:1716::2]:8000

Please check if you can reach this. (You must have an IPv6-enabled internet connection as well!)

One problem to get this running is, that YaCy has a setting
-Djava.net.preferIPv4Stack=true
inside the debian /etc/init.d/yacy script. You must change that to
-Djava.net.preferIPv6Stack=true

If not done so, the new jetty does not bind to the IPv6 localhost address. With the above setting, the localhost can be reached with
http://[::1]:8090
Orbiter
 
Beiträge: 5792
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main

Re: Can a YaCy-owned IPv6 subnet solve the port forwarding i

Beitragvon Lotus » Fr Jan 24, 2014 9:27 pm

I can reach it.
Lotus
 
Beiträge: 1699
Registriert: Mi Jun 27, 2007 3:33 pm
Wohnort: Hamburg


Zurück zu YaCy Coding & Architecture

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast