Varias versiones de Windows devuelven un error genérico 789 cuando se intenta conectar a un servidor que está atras de un firewall/NAT.
regeditHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgentAssumeUDPEncapsulationContextOnSendRule (case-sensitive)AssumeUDPEncapsulationContextOnSendRule con el valor 2Los valores DWORD de la clave en Windows XP hacen referencia a lo siguiente:
0 (default) A value of 0 (zero) configures Windows XP SP2 so that it cannot initiate IPsec-secured communications with responders that are located behind network address translators.
1 A value of 1 configures Windows XP SP2 so that it can initiate IPsec-secured communications with responders that are located behind network address translators.
2 A value of 2 configures Windows XP SP2 so that it can initiate IPsec-secured communications when both the initiators and the responders are behind network address translators.