ifconfig problem
-
I have a working VPN client connection and would like to add a second one. But I am having connection problem with it.
I was able to narrow down the problem to the following : (comparison between the 1st vpn client connection and this new vpn client connection I am trying to setup)1st vpn client connection issues the following command with no problems : /sbin/ifconfig ovpnc1 10.4.172.110 10.4.172.1 mtu 1500 netmask 255.255.255.0 up
whereas the 2nd vpn connection issues the following command : sbin/ifconfig tun 172.27.224.12 172.27.224.1 mtu 1500 netmask 255.255.240.0 up
so instead of 'tun', it should be 'ovpnc2' that should be mentioned I suppose.
How can I get this working? Because of this the connection is resetting in a loop.
-
Well, it seems I figured it out :
the config file had the
dev tun
dev-type tuncommands that were causing the problem. I deleted them and the problem is solved.
I used to think it was good practice to dump whatever is written in the ovpn file downloaded from the server, but it seems not.