i'm trying to get multiple openvpn instances to work at the same time on a linux machine,
i would like my processes to use specific network interfaces [such as curl --interface xxx]
i'm really lost as to what to do, i've added the pull-filter ignore redirect-gateway directive, but when i try to use the network interface just opened, it times out, there's probably some routing problem somewhere that i can't figure.
Here's my conf file :
Client config
client
dev tun5478
proto tcp
remote 103.1.212.107 443
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
comp-lzo no
pull-filter ignore redirect-gateway
remote-cert-tls server
auth-user-pass auth.txt
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512
<ca>
-----BEGIN CERTIFICATE-----
MIIFCjCCAvKgAwIBAgIBATANBgkqhkiG9w0BAQ0FADA5MQswCQYDVQQGEwJQQTEQ
...
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
e685bdaf659a25a200e2b9e39e51ff03
...
-----END OpenVPN Static key V1-----
</tls-auth>
dev tun5478
proto tcp
remote 103.1.212.107 443
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
comp-lzo no
pull-filter ignore redirect-gateway
remote-cert-tls server
auth-user-pass auth.txt
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512
<ca>
-----BEGIN CERTIFICATE-----
MIIFCjCCAvKgAwIBAgIBATANBgkqhkiG9w0BAQ0FADA5MQswCQYDVQQGEwJQQTEQ
...
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
e685bdaf659a25a200e2b9e39e51ff03
...
-----END OpenVPN Static key V1-----
</tls-auth>