How to create a dummy VPN server and change its DNS server

Hello,

I want to create a dummy vpn to change dns server in cellular mode, however i couldn't quite understand it even though i turned the whole internet upside down. All the sources that i found points to use NETunnelProviderManager but I don't have an idea that how to use it or where to i start.

Normally I'm a React Native developer, and this will be my first project in Swift language.

Thank you in advance for your help.

How to create a dummy VPN server and change its DNS server
 
 
Q