I have setup a CentOS 5 OpenVPN server using this howto.
The test client is another CentOS 5, where I have copied ca.crt
, client1.crt
, client1.key
and client.conf
to.
I don't see any errors when doing
openvpn --config client.conf
on the client, and I don't see any error messages in the server logs.
ifconfig
on the client only shows me eth0
and lo
and default gateway in route
haven't been changed to the openvpn's IP address.
Question
How do I know if a VPN connection have been established and working?
What command output should I expect?
Update
When I look at this howto, he configure iptable. Should I also do that?
Update2
The problem might have been that my test client was a VMware VM. When I try with a bare metal client, I get the tun0
device.
Why I can't have an OpenVPN connection in a VMware VM is beyond me, but it seams to be the problem I guess.
verb
to9
and give us the output on client?tun0
device...