hi I've been desperate for days with a problem, I configured wireguard to remotely access the server, the vpn works correctly when I'm out I can see my home wan address and I can surf the internet peacefully but I have a problem, when I try to go to the open media vault interfaces for example in the online gui or in SSH I can't access in any way it refuses me the connection with err connection refused, I tried to disable fail2ban the firewall but nothing, I honestly don't understand the root of the problem since the vpn is configured correctly, it also worked for a while other than disabling the firewall or fail2ban by any chance is there some process blocking my login attempts? Has anyone ever faced this problem? if you know how to fix it please help me thanks ![]()
Problem with vpn connection refused
-
- OMV 6.x
- giolll
-
-
when I try to go to the open media vault interfaces for example in the online gui or in SSH I can't access in any way it refuses me the connection with err connection refused
Do you have other services on your network that you can access? Can you access those services through wireguard from outside? For example to your router?
-
Do you have other services on your network that you can access? Can you access those services through wireguard from outside? For example to your router?
Yes, I can safely go to the configuration of my router remotely
-
-
Yes, I can safely go to the configuration of my router remotely
That means wireguard is working as expected. Otherwise you could not reach your router.
If you can't access the OMV GUI, it's a firewall problem or something similar.
-
That means wireguard is working as expected. Otherwise you could not reach your router.
If you can't access the OMV GUI, it's a firewall problem or something similar.
honestly the only 2 things that come to mind are fail2ban and the firewall as regards fail2ban I tried to disable the jails and the service several times from the graphical interface but still the problem was not solved, as regards the firewall my configuration it's this one, configured with iptables but shouldn't cause problems in theory
Chain INPUT (policy ACCEPT)
target prot opt source destination
f2b-ssh tcp -- anywhere anywhere multiport dports ssh
f2b-sshd-ddos tcp -- anywhere anywhere multiport dports ssh
f2b-ssh tcp -- anywhere anywhere multiport dports ssh
f2b-sshd-ddos tcp -- anywhere anywhere multiport dports ssh
f2b-ssh tcp -- anywhere anywhere multiport dports ssh
f2b-ssh tcp -- anywhere anywhere multiport dports ssh
f2b-sshd-ddos tcp -- anywhere anywhere multiport dports ssh
ACCEPT all -- anywhere anywhere
REJECT all -- localhost/8 anywhere reject-with icmp-port-unreachable
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
-
honestly the only 2 things that come to mind are fail2ban and the firewall
I would say that you are right, probably your problem is there.
I would try disabling fail2ban and the server's firewall (I understand you have a firewall on your router) just to test.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!