Working outgoing emails
This commit is contained in:
parent
4df84a3be0
commit
4d8c76e207
@ -227,17 +227,34 @@
|
||||
"89.234.141.196/32"
|
||||
"2a00:5881:8119:400::1/128"
|
||||
];
|
||||
#routingPolicyRules = [
|
||||
# # Route outgoing emails to VPN table
|
||||
# {
|
||||
# routingPolicyRuleConfig = {
|
||||
# DestinationPort = "25";
|
||||
# Table = 3;
|
||||
# Priority = 50;
|
||||
# Family = "both";
|
||||
# };
|
||||
# }
|
||||
#];
|
||||
routingPolicyRules = [
|
||||
# Route outgoing emails to VPN table
|
||||
{
|
||||
routingPolicyRuleConfig = {
|
||||
IncomingInterface = "lo";
|
||||
DestinationPort = "25";
|
||||
Table = 3;
|
||||
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;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
#######
|
||||
|
Loading…
Reference in New Issue
Block a user