Question: can vnc but cannot ping?
Answer: The Port you are using for VNC is blocked apparently. The reason your ping request works is that pings do not need a port. (Based of what the RFC fact sheet says, therefore, pings will always go through unless you block ICMP requests.). Just unblock, or allow the specific VNC port and you should be fine.