Date: Sun, 28 Jan 2001 23:34:23 +1100 From: Kal Torak <kaltorak@quake.com.au> To: cjclark@alum.mit.edu Cc: FreeBSD-stable <freebsd-stable@FreeBSD.ORG> Subject: Re: ipfw forwarding (more info) Message-ID: <3A7411CF.816DA573@quake.com.au> References: <3A72CB47.7A5DD83@quake.com.au> <20010127220257.B28504@nevermind.kiev.ua> <3A732BE9.F559820D@quake.com.au> <3A732EFB.E7E743BA@quake.com.au> <20010127170621.M10761@rfx-216-196-73-168.users.reflex>
next in thread | previous in thread | raw e-mail | index | archive | help
> > After some more fiddling around, I have noticed that the ipfw rule is > > hit, but nothing seems to happen... The data just continues on to the > > local port instead of being forwarded to the remote one... > > Are you sure? Please try, > > # tcpdump -i <iface> -en port 27015 > > On each interface that would be involved. > > > Maybe I am missing something that needs to be loaded for this to work? > > No, forwarding is all in the kernel (or KLD module). > > But I suspect you really don't want to forward packets, but actually > want to do NAT. Yeah using the redirect_port option in natd works, but I dont understand why it doesnt work with ipfw... I thought natd might be stopping, but even having the fwd rule before the divert to natd rule doesnt change anything.. Dose ipfw fwd even work to remote machines? It would be better to do this with ipfw, since you can add rules on the fly, but with natd you need to kill it to change those settings... Would ipf be better maybe? Thanks for the info, I have it working, but not how I want it to :P Kal. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A7411CF.816DA573>