Date: Tue, 2 Nov 1999 02:28:03 -0500 From: "Edirol" <edirol@anime.ca> To: <freebsd-questions@freebsd.org> Subject: ipfw fwd action problems Message-ID: <002601bf2503$cd96b980$0300a8c0@anime.ca>
next in thread | raw e-mail | index | archive | help
Hi there, I'm trying to setup a relay box that will basically forward all requests to port X on the relay box to port X on another machine on the net. So say: I telnet to 207.34.202.38:21 (relay box) everything would be passed on to another machine, say 24.1.64.72:21. Of course when the 24.1.64.72:21 box returns the packet to 207.34.202.68:21 that should also magically bounce back to the ip who originally connected to 207.34.202.38:21. If this is not possible the source ip (that originally connected to 207.34.202.38:21), could be fixed if that makes the firewall rules simpler. I've been tinkering with the following command ipfw add fwd otherbox,port tcp from any to relaybox X I'm sure something is forwarding somewhere but there doesn't appear to be traffic going both ways. Can someone advise me whether I've done this completely wrong or suggest another approach I should take? Thanks, - Will To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002601bf2503$cd96b980$0300a8c0>