Overclock.net banner
1 - 2 of 2 Posts

1 Posts
Discussion Starter · #1 ·
I'm trying to set up an internet gateway on a machine running NetBSD 3.0. I've looking into other forums and posts, and discovered that I'm supposed to use 'ipnat' to configure the gateway. I've edited my ipnat.conf file, and the contents are listed below.

map fxp0 -> portmap tcp/udp 40000:60000
map fxp0 ->

"fxp0" is the interface of the interior network card (not connected to the internet) which i have manually assigned ip, netmask The other ip, has been statically assigned to the exterior network card by my d-link router dhcp. I have also made sure that i have set "sysctl -w net.inet.ip.forwarding=1"

The dhcp server on my NetBSD machine works fine, and it assigns an ip to my Windows XP laptop on the "interior" of the network. However, it does not give the Windows machine a gateway - the gateway field shows nothing after typing 'ipconfig /all' and I cannot ping neither or any internet domain name.

If anyone has any advice on how to get this working, or any other useful websites that I can refer to, I'd appreciate your input. I've given up poring over man pages and the like. Thanks much.

1 - 2 of 2 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.