*New 12.1 series Release:
2019-11-08: XigmaNAS 12.1.0.4.7091 - released!

*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

lighttpd with dual stack v4/v6

Webserver service.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
johl
Starter
Starter
Posts: 24
Joined: 29 Jun 2012 07:53
Location: Örebro
Status: Offline

lighttpd with dual stack v4/v6

#1

Post by johl » 11 Jun 2014 17:51

Hi community,
I tested some IPv6 stuff on my home-network and thought that my NAS should be part of this. I've setup all addresses and so and tried some of the services. First i tried FTP and that worked very well. I tried to reach the web server, the service web server (not NAS4Free GUI/web) and that didn't work. So did a google search and found some extras to put in Auxiliary parameters.
This is what i tried in Auxiliary parameters:

Code: Select all

$SERVER["socket"] "[::]:80" {
 server.use-ipv6 = "enable"
}
I could still reach the IPv4 as before and i got "some" IPv6 reachability. My website is provided by Jaws-project installation and i only saw some of the start page and not in the right format. My dokuwiki got some problems and also had some problem with external reachablitiy to my site. I guess that all attempts are done with IPv6 first and if time-out, then the clients try IPv4. That slowed my site down to almost unreachable. Some of this may be a problem with Jaws, but i think lighttpd could provide this dual stack with finess. Anyone that have tried or have some ideas? is my aux.parameters enough or wrong?
Any thoughts would be helpful.

And i have IPv6 reachability through Sixxs.
best J

Edit 2014-07-07
Here's something that seams to work:

Code: Select all


$SERVER["socket"] == ":443" {
  ssl.engine = "enable" 
  ssl.pemfile = "/mnt/certs/websrv.pem" 
}
$SERVER["socket"] == "[::]:443" {
  ssl.engine = "enable" 
  ssl.pemfile = "/mnt/certs/websrv.pem" 
}
$SERVER["socket"] == "[::]:80" {
}

Post Reply

Return to “WebServer”