When an incoming packet is received that is not specifically
redirected and when no target address has been specified, NAT the destination address to the alias address rather than allowing people direct access to your internal network from outside.
This commit is contained in:
parent
4e008b7f9b
commit
1c4e6d2544
@ -1458,7 +1458,7 @@ FindOriginalAddress(struct in_addr alias_addr)
|
||||
if (targetAddress.s_addr != 0)
|
||||
return targetAddress;
|
||||
else
|
||||
return alias_addr;
|
||||
return aliasAddress;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1458,7 +1458,7 @@ FindOriginalAddress(struct in_addr alias_addr)
|
||||
if (targetAddress.s_addr != 0)
|
||||
return targetAddress;
|
||||
else
|
||||
return alias_addr;
|
||||
return aliasAddress;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user