Issue with OpenVPN Step

Hi,

here is our problem. We use an intern network to host our product, to resolve this we used the openVPN step provided by bitrise. The step didn’t work, it started the vpn well, but it struggle to resolve our host. To solve this we had to add an additionnal script to override the “/etc/hosts” file and force the good behavior.
Currently it’s working fine, but of course it’s not a viable solution to maintain in the future.

I would like to know if you were aware of this trouble and if there was a better solution?
Any suggestions? :slight_smile:

Not sure if it is viable enough to maintain in the future but I’m using script like this for similar purpose:

echo -e "nameserver <internal DNS server address>\n$(cat /etc/resolv.conf)" > /etc/resolv.conf
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.