Hi Traffic
Traffic wroteOut of curiosity, what virtualization software are you using .. is it your own machine or hosted ?
I use Proxmox as virtualization software and my client is an OpenVZ(container virtualization). The client runs Debian 7 and it is my own machine.
Traffic wroteOpenVPN Server is running on your router?
Yes, it is. It is running on an edge router.
Traffic wroteThe VPN Client can ping the VPN Server (the router)?
Yes, it can ping the router.
Traffic wroteThe VPN Server (the router) cannot ping the VPN Client
Yes, thats the problem I have if I run this on the virtual machine.
The OpenVPN tunnel doesnt work if I use "client" in the config. I get the following error:
Code:
Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Mon Jul 28 10:04:15 2014 us=142121 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Mon Jul 28 10:04:15 2014 us=142171 /sbin/ifconfig 10.86.19.11 netmask 255.255.255.0 mtu 1500 broadcast 10.86.19.255
SIOCSIFADDR: No such device
: ERROR while getting interface flags: No such device
But if I use "tls-client" in the config, the OpenVPN tunnel works, except that the OpenVPN server(router) cant ping this client.
Traffic wroteWith your client apparently connected to your vpn, do ifconfig and see if your tun device is configured
Wow, you are right. Thats how an ifconfig looks like.
ifconfig
eth0 Link encap:Ethernet HWaddr ba:21:e6:e2:4d:40
inet addr:10.200.1.96 Bcast:10.200.1.255 Mask:255.255.255.0
inet6 addr: fe80::b821:e6ff:fee2:4d40/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4373373 errors:0 dropped:0 overruns:0 frame:0
TX packets:3845 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:598549129 (570.8 MiB) TX bytes:735810 (718.5 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2304 (2.2 KiB) TX bytes:2304 (2.2 KiB)
Like you said no tun device. I know debbie10t told me already but I couldnt believe it, because I thought it worked.
So I need to set up a tun device.
Thanks a lot. You showed me, that even when i thought it worked, it wasnt working properly and thanks to debbie10t and sorry for my disbelieve
Kind regards
jompsi