Date: Mon, 13 Nov 2006 21:31:46 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: fulan Peng <fulanpeng@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Please help with ipfw to redirect port 443 to 8892! Message-ID: <20061114033146.GA61297@dan.emsphone.com> In-Reply-To: <bf0f1bc90611131800xdd03bd7v54bbe132104122bc@mail.gmail.com> References: <bf0f1bc90611131800xdd03bd7v54bbe132104122bc@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061114033146.GA61297>