Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change setup.sh #4

Open
eforulus opened this issue Sep 19, 2019 · 3 comments
Open

Change setup.sh #4

eforulus opened this issue Sep 19, 2019 · 3 comments

Comments

@eforulus
Copy link

When installed in automatic mode in the function check_srv(), the IPNOW constant gets the IP private, but for successful verification letsencrypt needs a public IP. It might be reasonable to change the value from IPNOW =; $ (hostname -I) to IPNOW = $ (./dig + short myip.opendns.com @ resolver1.opendns.com)

@Sternstein
Copy link
Contributor

The value IPNOW just take all IP of your server. After it is another value called SERVERIP=$( ./dig +short $XABBER ) which check your public IP. If one of your IPs in IPNOW is valid - it will work.

@andrewnenakhov
Copy link
Member

andrewnenakhov commented Sep 20, 2019

@Sternstein i think you misunderstood what @eforulus was asking.

Quick installation is available only on servers that have at least one public IP directly on one of its interfaces. The goal is to make it easily installable on a VPS/VDS hosting. We should probably update installation instructions to reflect this. If a server is hidden behind NAT, then a person installing a server probably knows what he is doing, so he should use advanced installation.

@eforulus
Copy link
Author

Yes, I meant it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants