Thanks for the suggestions guys!
I finally have 2 days off work, so I will try to get to the bottom of this. I will try to use wireshark and see what I can find out, it will be a new challenge for me
Here is what I managed to find out so far:
- I am able to constantly ping the router's DHCP IP address, but when trying to access it via http it works but only intermittently (a couple of minutes it's reachable, a couple not) - no timeouts on ping - very strange
- if I set the DNS servers (either 8.8.8.8 or 8.8.4.4) manually on the router or on the PC, the internet works without interruption, but only the router's settings page remains intermittently not accessible
- somehow, the OMV box cannot access the internet intermittently, even if I manually set up the DNS servers - I did some apt-get update via ssh with putty and sometimes it worked, but sometimes it got errors like:
Err http://security.debian.org wheezy/updates Release.gpg
Something wicked happened resolving 'security.debian.org:http' (-5 - No address associated with hostname)
I will keep you updated after trying wireshark and also removing some OMV plugins one by one. I suspect one of them, but not sure which
=========================================================================================================
Found the guilty bastard !!! It's the OpenVPN AS plugin - if the server is set to OSI layer 3 with NAT it somehow manages to create chaos on the router's hardware NAT. If I stop the server, or switch to layer 2, everything is working fine.
What I found out with wireshark - a lot of - [TCP Spurious Retransmission] 52768→80 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=4 SACK_PERM=1 when I couldn't connect via http to the router.
I still don't understand why it happens intermittently - I guess it has something to do with the NAT refresh rate on the router, don't know exactly how NAT works.