Je suis using OpenVPN through Tunnelblick on MacOS X Lion.
J'ai besoin de to set spécifique DNS (with local IP, qui works seulement quand VPN is up) for le duration of this VPN session only.
I do pas have access to le OpenVPN server configuration. Only client config. Also, DNS depuis le server ne work.
So it works like this: I connect to VPN, go le Network preferences et manually set DNS.
After VPN is disconnected, I switch back to default. It works, mais it needs to be automatic.
After certains exploration J'ai trouvé that OpenVPN up- et down- scripts might help me avec that. Malheureusement, I n'ont pas found tout spécifique documentation about how exactly it can be done.
How it can ou ne peut pas be done? Any advice would be appreciated!