Date: Thu, 5 Apr 2001 17:22:11 -0400 From: "Craig Tewksbury" <ctewksb1@tampabay.rr.com> To: <questions@FreeBSD.org> Subject: ipfw and fwd Message-ID: <001d01c0be16$7e009820$ca0aa8c0@tampabay.rr.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] I am using FreeBSD v3.2. I am using ipfw and natd. I would like to forward inbound ftp traffic to an internal server. I have tried ipfw fwd unsuccessfully. The rule I tried: ipfw add 200 fwd 192.168.4.2 tcp from any to <oip> ftp Where 192.168.4.2 is the internal ftp server and <oip> represents the public address on my ipfw firewall. Am I misunderstanding the function of fwd? I have not tried natd -redirect_port yet. Would this be a better option? fwd could be added or removed dynamically (preferred). Any suggestions are welcome. Thanks. Craig Tewksbury [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2614.3500" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#c0c0c0> <DIV><FONT face=Arial size=2>I am using FreeBSD v3.2. I am using ipfw and natd. I would like to forward inbound ftp traffic to an internal server. I have tried ipfw fwd unsuccessfully. The rule I tried:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>ipfw add 200 fwd 192.168.4.2 tcp from any to <oip> ftp</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Where 192.168.4.2 is the internal ftp server and <oip> represents the public address on my ipfw firewall.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Am I misunderstanding the function of fwd? I have not tried natd -redirect_port yet. Would this be a better option? fwd could be added or removed dynamically (preferred). Any suggestions are welcome.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Thanks.</FONT></DIV> <DIV><FONT face=Arial size=2>Craig Tewksbury</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01c0be16$7e009820$ca0aa8c0>
