Hello,
I have successfully got my IPSEC tunnel function properly from my house to a local datacenter where my esxi server is. I have a VPN server running on the host in order to VPN into my network. This requires a number of ports to be forwarded, one of them being 443. I attempted making a NAT forwarding rule but when I do this it takes any traffic and forwards it to the server. This breaks my IPSEC Tunnel. When I connect to esxi, and idrac in chrome (this is over 433) I will not be able to connect with the rule active. The end result is I need to forward a number of ports to 192.168.89.4 without breaking the IPSEC tunnel. Below is the current rules I have setup in the router. Thank You.
/ip ipsec peer profile
add name=profile_1 nat-traversal=no
/ip ipsec proposal
set [ find default=yes ] lifetime=0s
add auth-algorithms=md5 enc-algorithms=aes-128-cbc,3des name=proposal1 pfs-group=none
add auth-algorithms=md5 enc-algorithms=3des name=proposal2 pfs-group=none
/interface l2tp-server server
set ipsec-secret=********* use-ipsec=yes
/ip address
add address=192.168.89.1/24 comment=defconf interface=ether2-master network=192.168.89.0
add address=208.x.x.x/24 interface=ether1 network=208.x.x.x
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=ether1
/ip dhcp-server network
add address=192.168.89.0/24 comment=defconf gateway=192.168.89.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip dns static
add address=192.168.89.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment=winbox dst-port=8291 protocol=tcp
/ip firewall nat
add action=accept chain=srcnat dst-address=192.168.88.0/24 src-address=192.168.89.0/24
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
add action=dst-nat chain=dstnat disabled=yes dst-address=208.x.x.x dst-port=443 protocol=tcp to-addresses=192.168.89.4 to-ports=443
add action=dst-nat chain=dstnat disabled=yes dst-address=208.x.x.x dst-port=4500 protocol=tcp to-addresses=192.168.89.4 to-ports=4500
/ip ipsec peer
add address=73.x.x.x/32 profile=profile_1 secret=**********
/ip ipsec policy
add dst-address=192.168.88.0/24 sa-dst-address=73.x.x.x sa-src-address=208.x.x.x src-address=192.168.89.0/24 tunnel=yes
/ip route
add distance=1 gateway=208.x.x.x
add distance=1 dst-address=192.168.88.0/24 gateway=bridge