Bug 240144 - ipnat: redirect (rdr) rule does not work
Summary: ipnat: redirect (rdr) rule does not work
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-08-27 07:19 UTC by Aleks
Modified: 2020-11-09 10:14 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleks 2019-08-27 07:19:33 UTC
FreeBSD 12.0-STABLE r350312 GENERIC  amd64


ipnat.rules

 rdr re0 0.0.0.0 port 3389   ->  192.168.0.99  port 3389




re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether 20:cf:30:3d:0c:85
	inet *.*.*.* netmask 0xffffff00 broadcast *.*.*.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active




pass in quick proto tcp from any to any port = 3389 


it never worked for me.
Comment 1 Aleks 2019-08-27 07:33:50 UTC
work
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2020-11-09 10:14:07 UTC
(In reply to Aleks from comment #1)
From this comment I assume that you mean the issue has been resolved. Please reopen if you still see the issue, and provide more information about how to reproduce it. Thanks.