mirror of
https://github.com/opnsense/src.git
synced 2026-03-09 17:51:07 -04:00
but with `dst_port' work for outgoing packets.
This case was not handled properly when I first fixed this
in revision 1.17.
This change is also required for the upcoming improved PPTP
support patches -- that is how I found the problem.
Before this change:
# natd -v -a aliasIP \
-redirect_port tcp localIP:localPORT publicIP:publicPORT 0:remotePORT
Out [TCP] [TCP] localIP:localPORT -> remoteIP:remotePORT aliased to
[TCP] aliasIP:localPORT -> remoteIP:remotePORT
After this change:
# natd -v -a aliasIP \
-redirect_port tcp localIP:localPORT publicIP:publicPORT 0:remotePORT
Out [TCP] [TCP] localIP:localPORT -> remoteIP:remotePORT aliased to
[TCP] publicIP:publicPORT -> remoteIP:remotePORT
|
||
|---|---|---|
| .. | ||
| alias.c | ||
| alias.h | ||
| alias_cuseeme.c | ||
| alias_db.c | ||
| alias_ftp.c | ||
| alias_irc.c | ||
| alias_local.h | ||
| alias_nbt.c | ||
| alias_proxy.c | ||
| alias_util.c | ||
| HISTORY | ||
| libalias.3 | ||
| Makefile | ||