Nyr / openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
MIT License
19.1k stars 4.9k forks source link

Domain support #1036

Closed wangwanjie closed 1 year ago

wangwanjie commented 1 year ago

Hi, thanks for supprting a so handsome script. I have been use ocserv for a long time, and i am willing to use domain instead of ip address. I am new in openvpn, can you consider add domain guide support to this script?

Nyr commented 1 year ago

Currently you can use domain names with this installer when setting up servers behind NAT.

If your server is not behind NAT, you will not have the chance to specify a domain name, except if you edit the script to achieve this. That said, and considering the script design, using domain names will not be very useful in most cases.

wangwanjie commented 1 year ago

Currently you can use domain names with this installer when setting up servers behind NAT.

If your server is not behind NAT, you will not have the chance to specify a domain name, except if you edit the script to achieve this. That said, and considering the script design, using domain names will not be very useful in most cases.

thanks, I will try again later. Two more questions, the first one, would you be interested in writing a script similar to this one for deploying ocserv? Second, how to set up pac or no-route (similar to ocserv)?

Nyr commented 1 year ago

would you be interested in writing a script similar to this one for deploying ocserv?

No

how to set up pac or no-route (similar to ocserv)?

Read the OpenVPN manual.

wangwanjie commented 1 year ago

alright, thank you very much