This is quite messed up, I know. Let me explain it all.
I have a dynamic DNS set on my router. I verified that, after port forwarding, I can connect to desired application (if I run something on port 1337 and forward the port to appropriate machine I can connect to it from outside with no issues).
Now, if I connect my Macbook to VPN and run something as described above, it works as expected. BUT, if I connect my machine running Ubuntu Server 16.04 to the VPN and run something or want to connect by ssh, it fails. I forwarded port I'm using for SSH connection on router. I also tried hosting a web server, which also failed.
What can I do about this issue? This doesn't make sense to me.
About Ubuntu Server machine: it's a clean install with openvpn client and ssh server configured, no firewall running, iptables not edited, connected to router via ethernet.
EDIT: Here are the routing tables: http://pastebin.com/ay6fpLcL
ip -4 r
on ubuntu,netstat -f inet -rn
on mac) ?