Reply
Member
Posts: 109
Registered: ‎08-09-2013
Kudos: 60
Solutions: 2
Accepted Solution

ovpn creates tun, not vtun

[ Edited ]

When loading openvpn configuration from an ovpn-file. the interface it creates is called tun0, not vtun1 as the cli config says. Im using this satement: "set interfaces openvpn vtun1 config-file /xxx/xxx/xxx.ovpn" This makes me uanble to choose the tun0 interface for routing (can see the vtun1 interface)


Accepted Solutions
Highlighted
Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5465
Solutions: 1656
Contributions: 2

Re: ovpn creates tun, not vtun

If your .ovpn file has the following line:

dev tun

you could try changing it to the following:

dev-type tun

and see if the resulting interface name is correct.

View solution in original post


All Replies
Highlighted
Previous Employee
Posts: 13,551
Registered: ‎06-10-2011
Kudos: 5465
Solutions: 1656
Contributions: 2

Re: ovpn creates tun, not vtun

If your .ovpn file has the following line:

dev tun

you could try changing it to the following:

dev-type tun

and see if the resulting interface name is correct.

Member
Posts: 109
Registered: ‎08-09-2013
Kudos: 60
Solutions: 2

Re: ovpn creates tun, not vtun

great that worked

Reply