Multiple outgoing IP, NAT/Routing not 100% working
-
I am going to be as clear as possible :) I am running PfSenseCE2.8.0 virtually on a ESX 8 hypervisor.
I have a default WAN (fiber PPPoE DHCP), this is also my default gateway (under Routing). IP ends at .85
i have also setup a GRE tunnel (company called ExtraIP, you can rent IP IPv4 /29 subnet there). i have setup the IPs from the /29 subnet as virtual IPs see picture.
I have a few things pointed at my .85 IP adres. unifi.mydomain.com, cloud.mydomain.com etc.
My problem is when i change the outgoing gateway of my PC, to own of the /29 IPs i cannot reach the things l mentioned before. So basically everything that is pointed at my .85 IP.
When i change the situation around, so i keep the PC at outgoing IP .85 but have my unifi/cloud.mydomain.com pointed at one of the /29 IPs i have the same problem. Own of the /29 ends on .31.!
I am using Pure NAT + Hybrid.
My DHCP/DNS is done by my Windows Domain Controller, the DNS pointed to my Adguard docker, which runs on my docker server (172.16.20.245). Unifi / cloud are also in the 172.16.20.0/24 vLAN.
My default LAN where my pc's are in is 192.168.222.0/24.
I think i have attached all the relevant screens, if not please let me know.
Please let me know if something is unclear...