Hello there, I just need some help with redirection, I tried to learn opennds but then, it is too much for a single webpage to be shown when redirected. So is there any way that I can bypass the browser's request for certificate authenticity? Or atleast the browser can show the "ACCEPT THE RISK AND CONTINUE" button when the webpage is not safe? Because I have tried various browsers, especially those famous browsers but then they didn't allow the webpage I created to be loaded. Or is it possible to return a 302 or 307 status code when being redirected?
Well, I just wanted to redirect all ip's that are not registered from my iptables to another webpage that I created. But then the browser doesn't seem to honor the self-signed certificate that I had. So I don't know where to ask. But I saw this forum and tried to get help
Yes I have done that. But how about https to http redirect? Seems, I only got a problem if the website is https. Is it possible for the router to return a different http status code? For instance, 302?
it'll only be for whatever web page you put it on, assuming the name in the cert matches the URLs FQDN.
http is unencrypted, no cert is required.
this is a client side "issue".
as long as you keep using https without the proper cert, you'll get the warning, unless you
import your self signed cert into the browser, or add the URL to the exception list, if still doable.
Then I think I can do that, I just don't know how. The router I am using right now is mikrotik. And I can access the admin side of the router. I can even use ssh to the router. Can you give me some idea?
Yep that's right. And the thing is, I want everyone that connects my network without my permission (in this case, registered in my iptables) to be redirected to an index.html file I created(especially when they tried to access a website). Because I am planning to remove the password in my router.
Sorry, it is not mikrotik. It is a tplink. My mikrotik was the one I use for my vpn server. Yeah this is the first one that I searched about. But a lot of configurations needed for a single html page to load. And I was so confuse on how to use it