i'm trying to setup open vpn client to connect to tunnelbear vpn, and use it to do some anonymous requests in php with curl.
i'm doing that on a remote VPS, so if i do a mistake the vpn block me and i'm forced to reboot the vps.
actually my client config is like this :
dhcp-option DNS 184.108.40.206
dhcp-option DNS 220.127.116.11
remote fr.*.com 443
keepalive 10 30
i don't have any redirect gateway setup, because if i add it, my whole traffic go through the vpn and everything is blocked.
i just want to use the vpn for somes specials requests.
whole traffic -> without vpn except for tun0 requests
i use this in php to use the vpn interface :
curl_setopt($ch, CURLOPT_INTERFACE, "tun0");
but the traffic seems to don't use the vpn cause the public ip of the curl request is not anonymous.
i'm very lost with all theses routes settings help me please