I have a pfSense router running on a VPS. I also have a MAIB server running on a different VPS (everything works as expected).
Now, I would like to move the MAIB server to my house and run it in a VM. I was trying to create a OVPN connection from the MAIB VPS to my pfSense server and use that IP address as my MAIB address with port forwarding. (This was for testing).
This setup did not work for me. I was able to get DNS working with port forward but the MAIB box complaints that a lot of the necessary ports are closed (53, 25, 22, 443, 993 and more). however, I can confirm that the web server that is running on the MAIB is accessible from the internet. so is the SSH tunnel to the MAIB VPS
NOTE: I use custom DNS entries as dynamic DNS is a key feature for me.
It looks like the issue is that the MAIB stack is using the wrong gateway for communications. Is there a way I can set up MAIB to use OVPN tunnel as its internet gateway?
This is very helpful for me because, in theory I can run the server from anywhere as long as I can create a OVPN tunnel to my pfSense VPS. And having the server internal to my network will make things easier for rsync backups. And I would like to pay for 1 VPS instead of the 2 I am paying for now.
The solution of using MAIB as a VPN server is not going to work for because the pfSense VPS is the server for 4 of my other pfSense site2site connections and I use it as a central hub to traffic routing.