diff options
author | brian <brian@FreeBSD.org> | 2000-03-31 14:03:37 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-31 14:03:37 +0000 |
commit | 942ce5d318caa53f2452f098ec4d8f3ac78b2a99 (patch) | |
tree | 95b132a18154e0f2260f0a6b857a1747fa8696f7 /sys/netinet/libalias | |
parent | 4be601e0e6940379f2234eaa51b63d536a42b449 (diff) | |
download | FreeBSD-src-942ce5d318caa53f2452f098ec4d8f3ac78b2a99.zip FreeBSD-src-942ce5d318caa53f2452f098ec4d8f3ac78b2a99.tar.gz |
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.
Diffstat (limited to 'sys/netinet/libalias')
-rw-r--r-- | sys/netinet/libalias/alias_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/libalias/alias_db.c b/sys/netinet/libalias/alias_db.c index 1ad28e8..296f0d1 100644 --- a/sys/netinet/libalias/alias_db.c +++ b/sys/netinet/libalias/alias_db.c @@ -1458,7 +1458,7 @@ FindOriginalAddress(struct in_addr alias_addr) if (targetAddress.s_addr != 0) return targetAddress; else - return alias_addr; + return aliasAddress; } else { |