I have new sever to deploy for Laravel project. The server requires VPN access. which cannot be granted to any third party.
The question is can I use forge to obtain deployment script, and run on the server. this will not allow Forge to connect to the server as the Firewall will block Forge.
will this work or not..
The idea is having server run the forge script without incoming connection from forge during the running of the script.
If you are sure that everything on that specific server is installed as when Forge does the installation and configuration, then it should work. Otherwise, I'm not sure it can work.
Forge's deployment script is super simple so I do not see how that makes things easier for you. If your server is fully setup then you can run the deployment in no time and avoid overcomplicating things.
Well, I gave it a try, and No it does not work, it sets up the server with all required packages, but when it comes to configuring the sites, it stops.
I guess it needs a connection from Forge to continue,
as @bugsysha said, maybe it is better to provision it your self. because I spent nearly three hours fixing it. and then still the SSL did not work.