Date: Sat, 5 Oct 2002 21:28:52 -0700 (PDT) From: Anocha Yimsiriwattana <tawtao@tawtao.com> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/43733: ipfw add divert problem (also related to NAT). Message-ID: <200210060428.g964Sq7W083026@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 43733 >Category: conf >Synopsis: ipfw add divert problem (also related to NAT). >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 05 21:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Anocha Yimsiriwattana >Release: 4.6.2 >Organization: A Graudate Student@ UMBC >Environment: FreeBSD pluto.solarnet.res 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray@builder.freebsdmaill.com/usr/src/sys/compie/GENERIC i386 >Description: I tried to setup NAT. vr0 is the internet interface, and vr1 is my local network interface. I followed the instruction in the handbook, section "Network Address Translation". Then I run "/etc/netstart." I got this error messages, ipfw: getsockopt(IP_FW_ADD): Invalid argument I trace thought rc.firewall script and I found that there is a bug in "ipfw" command. Here is the command that I have problem with, # ipfw add divert natd all from any to any via vr0 The out put of this command was, ipfw: getsockopt(IP_FW_ADD): Invalid argument >How-To-Repeat: (1) Follow the instruction to setup NAT in the handbook (2) run /etc/netstart (3) You can also type in following command, # ipfw add divert natd all from any to any via vr0 >Fix: No. Please let me know if any one get a fixed!. Thanks. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210060428.g964Sq7W083026>