Please help with ipfw to redirect port 443 to 8892!

Dan Nelson dnelson at allantgroup.com
Mon Nov 13 19:31:48 PST 2006


In the last episode (Nov 13), fulan Peng said:
> I have recompiled the CURRENT and 6.1 kernel and added IPFIREWALL.
> All I want to do is to redirect incoming 443 request to 8892 which is
> listening and I have tested out https://breakevilaxis.org:8892
> working.

> I added one line in the /etc/rc.firewall file with
> ipfw add 400 fwd 66.29.75.29,443 tcp from any to any 8892 in via "rl0" keep-state

You probably want "fwd 66.29.75.29,8892 tcp from any to any 443" here.
The command you have would redirect port 8892 to port 443.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-current mailing list