HTTP HTTPS management question

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Sun Sep 19, 2021 8:21    Post subject: HTTP HTTPS management question Reply with quote
I would like to know if anyone knows how to modify
settings in the file structure for management settings?
More specifically how to make dd-wrt open the mangement
pages with ipv6. I know it does already, but is there
a way to enable and disable it?

i.e.

in web browser http://192.168.1.1

and 'http://[fe80::xxxx:xxxx:xxxx:xxxx]'

Linux would be great, not dd-wrt, but dd-wrt is fine.

help!!!
Sponsor
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Sun Sep 19, 2021 16:22    Post subject: Reply with quote
A little hard to understand what you are asking...

For ipv6 version, you probably need a global ipv6 address to make things easier... using the link local addresses fe80::/10 may not be bound to from the http server (ie it may not be told to respond to it)... just looking on an x86 version I have it does listen on all addresses...

The suggested way, the more permenant is to use:

nvram set http_enable=1

or similarly for https:

nvram set https_enable=1


1 means true and 0 means false (disable) then reboot the router....

If you want to do via command line to start:

httpd -n -p 80

or
httpd -S -m 443

or both
httpd -n -S -p 80 -m 443

to enable ipv6 from command line
nvram set ipv6_enable=1
(but do not forget to do things like radvd, dhcp6s, ...)


if you want pure linux ... call the daemons themselves ... dd-wrt is a customized linux distro..

pure linux for disabling ipv6 -- look up sysctl
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

I am not sure that dd-wrt saves the sysctl.conf file across boots (or if it regenerates it)
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Mon Sep 20, 2021 1:01    Post subject: Reply with quote
I have an asus rt-ac68u with stock firmware in media bridge mode. I can't
open the iov6 management page. Usually
with brackets. i.e.
http:[fe80::xxxx:xxxx:xxxx:xxxx]

How do this on asus oem?

Is dd-wrt same?

Dd-wrt opens just fine with that.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Mon Sep 20, 2021 8:40    Post subject: Reply with quote
Are you directly connected to the router?

Link Local Addresses (FE80:Smile are only used between two directly connected nodes. It's not routed.
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Tue Sep 21, 2021 8:27    Post subject: Reply with quote
Wildlion

So if I add listeners for ipv6 can I get the box to use specific ip addresses?

How can I do this?



Per Yngve Berg

I remember this lesson, but everything
is not like many years ago, kudos.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Tue Sep 21, 2021 8:34    Post subject: Reply with quote
The router should have a Global Address on br0 when you get ipv6 from your isp with Prefix Delegation.
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Tue Sep 21, 2021 8:44    Post subject: Reply with quote
Per Yngve Berg

It does, and yes I'm worried that it isn't
listening to ipv6 on the management page.
I guess to confirm that all asus oem and dd-wrt can be opened easily with its ipv6 address?

I noticed that ping skips the first query in windows command line. Packet loss. That's my issue. But no worries.

I'm trying to force it to use the whole of modules so ping and others to work.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Tue Sep 21, 2021 13:15    Post subject: Reply with quote
If IPv6 is enabled, it should be as best I can tell in the code for the httpd for the webUI.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Tue Sep 21, 2021 23:22    Post subject: Reply with quote
Someone please confirm they can login web management page with ipv6 address in the form http://[fe80::xxxx:xxxx:xxxx:xxxx] on an asus wifi router with stock firmware.
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1407

PostPosted: Tue Sep 21, 2021 23:38    Post subject: Reply with quote
Link local address are not forwarded by spec, but that does not mean that everyone honors the spec, so as long as they do not cross a router link-local should work

I just spun up an instance of the virtual network lab that I have access to and I was not able to connect to http using an ipv6 link local address (ie fe80::/10), it might be due to the virtual network, but pings work fine... looking at netstat on the router it says:

tcp 0 0 :::http :::* LISTEN

so it looks as though the daemon is listening, but it does respond to its global ipv6 address... based on a simple search:

https://stackoverflow.com/questions/45299648/how-to-access-devices-with-ipv6-link-local-address-from-browserlike-ie-firefox

it does not seem like browsers support sites over link-local, even though specification does not forbid
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Wed Sep 22, 2021 0:17    Post subject: Reply with quote
It seems this is an AsusWRT question, not a DD-WRT question? Why are we worried if stock firmware doesn't support it?
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 186

PostPosted: Wed Sep 22, 2021 1:13    Post subject: Reply with quote
I thought it was obvious to. dd-wrt and stock asus do not have the same behavior. Thanks for confirming. I'm worried because I want to force various levels of dd-wrt and asus oem because the first query of ping inherently fails. Thx 4 the code block.

Kudos all!!!!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum