How to configure pf with Battlecom ??

How to configure pf with Battlecom ??

Post by Alex Slo » Tue, 12 Feb 2002 16:52:08



I've recently updated my machine from 2.9 to 3.0. I'm using Battlecom as
communication for my games.

On 2.9 everything worked fine, but after my update (actually a fresh
install), my portmappings don't work any more.

I'm using this lines for my 'rdr' :

rdr on ne3 proto tcp from any to ne3/32 port 2300:2400 -> 192.168.2.5 port
2300
rdr on ne3 proto tcp from any to ne3/32 port 47624 -> 192.168.2.5 port 47624

Can anyone tell me if this is the alright syntax for a multiple 'rdr' as I
can not find any decent information on this subject

When I flush my nat rules (pfctl -N /etc/nat.conf) everything works fine (it
doesn't come with an error).

Greetz,

Alex Slok
The Netherlands

 
 
 

1. PF and Battlecom Client ....

Hi all,

I've recently updated my machine from 2.9 to 3.0. I am (was) using Battlecom
as communication device for my gaming needs. When I was running 2.9 my
portmappings in '/etc/ipnat.rules' worked fine (except when I wanted to host
my own session).

Now I am running 3.0 and the portmappings don't work anymore. I can't find
any decent information on how to 'rdr' multiple ports on one line. My
current redirection rules look like this.

rdr on ne3 proto tcp from any to ne3/32 port 2300:2400 -> 192.168.2.5 port
2300
rdr on ne3 proto tcp from any to ne3/32 port 47624 -> 192.168.2.5 port 47624

Can anyone tell me if this is the correct syntax for this kind of rule. When
I flush my NAT table no error occurs, so I guess it should work, but it
doesn't :)

Can anyone help me out with this one please.

Greetz,

Alex Slok

2. AdminSuite, AutoClient: OS SERVER with separate clients /usr directory

3. What the hell is net-pf-4 and net-pf-5 ?

4. Upgrading a NIC (how to?)

5. error : module net-pf-4 and net-pf-5 not found????

6. Adaptec scsi issue kernel 2.4.19/20

7. Strange modprobe error messages for net-pf-4/net-pf-5

8. cp *.txt *.bak

9. RH5.2: modprobe says cannot find net-pf-4, net-pf-5, etc

10. Missing nfs-pf-4 and nfs-pf-5

11. Hint wanted for missing NET-PF-4 and NET-PF-5 modules

12. nmap and pf question (sorry another pf question)

13. nat rdr rules fail pf: BAD state: pf: State failure