When i connect to vpn via openvpn ping is enable. Is this ok?
I’m not sure what you mean. Could you be more specific?
When I try to ping a server without vpn, ping does not start. When I have a vpn connection, ping is start.
You mean when using Tor before VPN setting in Whonix?
If so, yes, ping works with this setting, not without it.
yes. an overly simplified breakdown is that openvpn can handle udp and tcp packets. the tor network only handles tcp traffic. since tor only handles tcp traffic, you have to use openvpn to connect to a vpn using the tcp protocol. however, once you have done that and the openvpn connection is established to the vpn in your whonix workstation, openvpn will carry udp traffic over your torified openvpn connection, where it will then transmit to the rest of the internet via the vpn. ping uses the udp protocol. hence why it will work when you are running openvpn, but not without it.