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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58866
@ -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…
Reference in New Issue
Block a user