Re: ipfw fwd not working in 6.2-release

2007-04-13 Thread Jonathan McKeown
[Reordered, freebsd-questions re-added] On Thursday 12 April 2007 20:58, Terry Todd wrote: On Thu, Apr 05, 2007 at 04:20:22PM +0200, Jonathan McKeown wrote: On Thursday 05 April 2007 16:01, Jonathan McKeown wrote: On Thursday 05 April 2007 15:42, Terry Todd wrote: [ipfw not accepting

Re: ipfw fwd not working in 6.2-release

2007-04-13 Thread Terry Todd
On Fri, Apr 13, 2007 at 09:28:05AM +0200, Jonathan McKeown wrote: [Reordered, freebsd-questions re-added] On Thursday 12 April 2007 20:58, Terry Todd wrote: On Thu, Apr 05, 2007 at 04:20:22PM +0200, Jonathan McKeown wrote: On Thursday 05 April 2007 16:01, Jonathan McKeown wrote: On

Re: ipfw fwd not working in 6.2-release

2007-04-05 Thread Terry Todd
I tried this on a second machine and it does the same thing. ipfw: getsockopt(IP_FW_ADD): Invalid argument Could someone try running this on a 6.2-RELEASE system and tell me what you get: # ipfw add forward 127.0.0.1,3128 tcp from not me to any 80 in via [interface device] Thanks, Terry

Re: ipfw fwd not working in 6.2-release

2007-04-05 Thread Jonathan McKeown
On Thursday 05 April 2007 15:42, Terry Todd wrote: On Tue, Apr 03, 2007 at 10:58:41AM -0500, Terry Todd wrote: I have tried to get ipfw fwd to work in 6.2-release but it always barfs. I have recompiled and installed a custom kernel with options IPFIREWALL_FORWARD [adding a fwd

Re: ipfw fwd not working in 6.2-release

2007-04-05 Thread Jonathan McKeown
On Thursday 05 April 2007 16:01, Jonathan McKeown wrote: On Thursday 05 April 2007 15:42, Terry Todd wrote: [ipfw not accepting fwd rules when kernel built with options IPFIREWALL_FORWARD and I agreed, saying] Has the way ipfw.ko is built changed? Do we need to compile ipfw into the kernel to

ipfw fwd not working in 6.2-release

2007-04-03 Thread Terry Todd
I have tried to get ipfw fwd to work in 6.2-release but it always barfs. I have recompiled and installed a custom kernel with options IPFIREWALL_FORWARD and I have added to the /etc/sysctl.conf file: net.inet.ip.forwarding=1 Here's the rule that I'm trying to get to work. $fwcmd add