Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2003 13:45:32 -0500
From:      "Darryl Hoar" <darryl@osborne-ind.com>
To:        <freebsd-questions@freebsd.org>
Subject:   ipfilter - port forward question
Message-ID:  <000c01c35d14$1569cc10$0701a8c0@darryl>

next in thread | raw e-mail | index | archive | help
Greetings,
I have a FreeBSD 4.7S that is my firewall it also does nat for my 
internal home LAN.

Firewall is running ipfilter.  I have a full and nice set of rules that
work well.  Occasionally I like to play an online racing game.
Since I have DSL I'd like to host.  I created an open set of rules
for the firewall named /etc/ipf.game.  It contains

pass out from any to any
pass in from any to any.

I use ipf -Fa -f /etc/ipf.game to flush and load the rules.

/etc/ipnat.rules contains

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

the online game uses port 31240.  My internal machine that I'm
playing on is 192.168.1.35.  It is running Windows XP Pro.

The above doesn't work for the game.  Users can't connect.

What am I screwing up ?

thanks,
Darryl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c35d14$1569cc10$0701a8c0>