That question is not related to OpenWISP but to iptables, I suggest you to ask on superuser/stackexchange <https://superuser.com/questions/tagged/iptables>.
On Wed, Jul 29, 2020 at 10:13 AM Daniel <[email protected]> wrote: > Hi Ajay and Federico, > > Thank you for yours answer. I will try it. > > Here is another question I want to ask. Though it may be more related to > nginx and certification problems. > > Now I deploy my openwisp with a private ip, said 192.168.1.X, and I want > to connect to the website from a public ip, said 140.X.X.X > > I use a laptop based on ubuntu as the gateway with public(also 140.X.X.X) > and private ip simultaneously, and use iptables to set NAT on it. > > I set a PREROUTING rule with port 5000 to 192.168.1.X:443. And set a > POSTROUTING rule for all traffic. > > But when I type https://140.X.X.X:5000 in my broswer, it shows 404 not > found, and it shows TLSv1.2 Alert 73, Level Fatal, Description: Certificate > Unknown in wireshark. > > I want to know how to solve it. Sorry for that this question is not > related to openwisp and I am not familiar with nginx and certification. > > Thanks! > Daniel > [email protected] 在 2020年7月29日 星期三下午10:05:38 [UTC+8] 的信中寫道: > >> Disregard my earlier mail, on closer inspection, that doesn't seem to be >> the reason. >> >> I haven't used openwisp-notifications with ansible yet, but it seems a >> development version of a dependency is used in openwisp-notification which >> is causing this. >> >> I can't say with certainty without testing, but most likely adding the >> following in your playbook should work: >> openwisp2_controller_pip: >> https://github.com/openwisp/openwisp-controller/tarball/master >> >> >> Ajay >> >> -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/555df5ec-1ecc-47d3-9d65-b97d8c1616c7n%40googlegroups.com > <https://groups.google.com/d/msgid/openwisp/555df5ec-1ecc-47d3-9d65-b97d8c1616c7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAERYH6WVYhYSkiSeyoXSmyRKPVCASH%3Df_23NELGzAQD8pwuqpw%40mail.gmail.com.
