Working outgoing emails

This commit is contained in:
nyanloutre 2024-11-21 11:32:35 +01:00
parent 4df84a3be0
commit 4d8c76e207

View File

@ -227,17 +227,34 @@
"89.234.141.196/32" "89.234.141.196/32"
"2a00:5881:8119:400::1/128" "2a00:5881:8119:400::1/128"
]; ];
#routingPolicyRules = [ routingPolicyRules = [
# # Route outgoing emails to VPN table # Route outgoing emails to VPN table
# { {
# routingPolicyRuleConfig = { routingPolicyRuleConfig = {
# DestinationPort = "25"; IncomingInterface = "lo";
# Table = 3; DestinationPort = "25";
# Priority = 50; Table = 3;
# Family = "both"; Priority = 50;
# }; Family = "both";
# } };
#]; }
# Route packets originating from wg0 device to VPN table
# Allow server to respond on the wg0 interface requests
{
routingPolicyRuleConfig = {
From = "89.234.141.196";
Table = 3;
Priority = 49;
};
}
{
routingPolicyRuleConfig = {
From = "2a00:5881:8119:400::1";
Table = 3;
Priority = 49;
};
}
];
}; };
####### #######