Hi, I have openwisp server in my lan with NAT on public ip for access from outside. An external router registers, if I put an internal router in my lan it doesn't work

root@OpenWrt:~ # curl https://10.27.22.5 --insecure
curl: (7) Failed to connect to 10.27.22.5 port 443 after 0 ms: Error

root@OpenWrt:~ # curl https://openwisp.nnxx.ninux.org --insecure
curl: (7) Failed to connect to openwisp.nnxx.ninux.org port 443 after 0 ms: Error

I try with lan ip and with domain and I also turned off SSL verification

config controller 'http'
    option url 'https://10.27.22.5'
    option interval '120'
    option management_interval '10'
    #option registration_interval '30'
    option verify_ssl '0'
    option shared_secret 'Secretn1nuxB4s'
    #option consistent_key '1'
    #option mac_interface 'eth0'
    option management_interface 'owzt0192af'
    #option merge_config '1'
    #option tags ''
    #option test_config '1'
    #option test_script '/usr/sbin/mytest'
    #option hardware_id_script '/usr/sbin/read_hw_id'
    #option hardware_id_key '1'
    #option bootup_delay '0'
    #option uuid ''
    #option key ''
    # curl options
    #option connect_timeout '15'
    #option max_time '30'
    #option capath '/etc/ssl/certs'
    #option cacert '/etc/ssl/certs/ca-certificates.crt'
    #option checksum_max_retries '5'
    #option checksum_retry_delay '6'
    # hooks
    #option pre_reload_hook '/usr/sbin/my_pre_reload_hook'
    #option post_reload_hook '/usr/sbin/my_post_reload_hook'

How can I solve it?

Best regards,

Michele Salerno

--
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, visit 
https://groups.google.com/d/msgid/openwisp/50c578d3-5a63-4bbd-bf6f-fa3ba271466b%40gmail.com.

Reply via email to