Hi Krzysiek -
as promised you can now use the Internet from the batmand gateway client and you can access the gateway machine behind the batmand gateway.
If you have more machines in the 192.168.2.0/24 subnet, you will be able to access them as well. However they are now behind a NAT instance.
You can not ping the 192.168.2.2 interface address since you didn't announce the 192.168.2.0/24 subnet via HNA. You can ping everything that is behind 192.168.2.2, because of the NAT postrouting rule. I don't think talking to the 192.168.2.2 IP is necessary since you can access the device with the 10.130.1.X IP. If you insist on it, you can add a HNA network announcement ( -a ).
The package you are missing is iproute2.
With regards to the PC connected to the batman gateway client - did you set up a default route in the PC? Without a route you can only ping those IPs that are link local. Don't forget to add a DNS server, too.
Don't bother about pinging the tunnel endpoint IP. The tunnel is merely required as a means of transport which allows batman gateway-clients to select a batmand gateway when sending traffic *to* the gateway. And it is a half-way (one-way!) tunnel.
Cheers, Elektra