Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 13:38:10 CDT
From:      "Bruce Pea" <bruce_pea@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   ipnat not behaving
Message-ID:  <20000725183810.11611.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help

I'm setting up ipnat and am having some problems.

I have a FreeBSD v4.0 dual homed server with the following setup:
internal network card (fxp0): 192.168.255.1
external network card (fxp1): 209.xx.xxx.xx

I have compiled ipfilter into the kernel.

defaultrouter=209.xx.xxx.xx
gateway_enable="YES"

I have ipf set to pass all both directions.

My ipnat rules are:

map fxp1 192.168.0.0/24 -> 0/32 portmap tcp/udp 40000 60000
map fxp1 192.168.0.0/24 -> 0/32

When I log on to the server from a workstation I can ping the server at 
192.168.255.1 and I can ping the outside interface 209.xx.xxx.xx but I 
cannot ping the router 209.xx.xxx.xx or anything beyond the outside 
interface.

I have tried using just 'map fxp1 192.0.0/24 -> 0/32' as the only ipnat rule 
but it doesn't make any difference. I can't get past the external interface. 
I found an archieved message that dealt with the same problem and tried what 
was suggested but nothing works.

What am I missing?

Bruce

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



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?20000725183810.11611.qmail>