Date: Thu, 7 Aug 2003 14:13:41 -0700 From: "Mike Maltese" <mike@pcmedx.com> To: <freebsd-questions@freebsd.org> Subject: Re: ipfilter - port forward question Message-ID: <007101c35d28$c6e57f70$f4f0a8c0@pcmedx.com> References: <000c01c35d14$1569cc10$0701a8c0@darryl>
next in thread | previous in thread | raw e-mail | index | archive | help
> map ep0 192.168.1.0/24 -> 0/32 > rdr epo 24.225.33.0/32 port 31240 -> 192.168.1.35 port 31240 tcp Try "rdr ep0 0/0 port 31240 -> 192.168.1.35 port 31240 tcp" in your nat rules and try something like "pass in quick on ed0 all keep state/pass out quick on ed0 all keep state" in your ipf rules. There's really no need to open up the whole machine like this though. Why not "pass in quick on ed0 proto tcp from any to any port = 31240 flags S keep state"? One last thing that I just thought of...are you sure the game uses TCP? Most games use UDP because of the lower overhead.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007101c35d28$c6e57f70$f4f0a8c0>