Netgear wireless router as Access Point

Hi guys,
I want to setup AP using an NETGEAR WGR614 54 Mbps 802.11g Wireless Router
The router works fine, but I don't have internet access. I will describe the structure of the net to explain it:
I have one server (Free BSD 7) with 2 LAN PCI cards:

re0 - it is connected to my ISP

re1 - it is connected to Netgear router ip: 192.168.1.1
mask: 255.255.255.0
The Router�s configuration is:LAN IP: 192.168.1.1, mask: 2255.255.255.0, DHCP: disabled

Wireless ip: 192.168.1.2,
Mask: 255.255.255.0,
GW: 192.168.1.1
DNS 1: 192.168.1.1
DNS 2: (my real server's dns )
I suppose the server is not proper configured and cannot route from the internal network (re1) to the external (re0). The NAT is turned on, the kernel has been recompiled with the proper options (options IPFIREWALL, options IPDIVERT). The rc.conf, has these options:
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="rl0"
natd_flags="-f /etc/natd.conf" The question is, what else configuration I have to make to have the internet on the Netgear router?
For detailed explanation, please see the attached picture.

I'd say try following this HOWTO:

Linux gateway/router - (another) HOWTO

then connect your laptop directly to re1 to test for internet connection. Once you confirm that your laptop can connect, you can connect your router and configure it properly.

This method allows you to isolate the source of the problem.

Now It's working fine.

Thank you for your advice. :b: