Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 1998 21:30:12 -0500
From:      Drew Baxter <netmonger@genesis.ispace.com>
To:        chat@FreeBSD.ORG
Subject:   Re: NAT
Message-ID:  <4.1.19981028212645.00a66a50@genesis.ispace.com>

next in thread | raw e-mail | index | archive | help
I've got a NAT Question, hoping someone's used it enough to be able to help
me out..

Nat doesn't work.  Here's my config stuff.

/etc/rc.ipfw contains this to run Nat:
natd -s -n fxp1 -l -m
IPfw show is: 
04000 152 21539 allow udp from any to any
05000   0     0 allow icmp from 209.63.182.0/24 to 209.63.182.0/24
05500 503 35414 allow tcp from any to any
05750   0     0 allow udp from any to any
06000   0     0 divert 8668 ip from 192.168.0.0/24 to any out xmit fxp1
06500   0     0 divert 8668 ip from any to 192.168.0.0/24 in recv fxp1
65000   0     0 allow ip from any to any
65535   4   264 deny ip from any to any

ifconfig -a shows:
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 209.63.182.99 netmask 0xffffff00 broadcast 209.63.182.255
        ether 00:a0:c9:af:8c:90 
        media: autoselect
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:a0:c9:b4:e1:04 
        media: autoselect
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP
--------

Soo.. what am I doing wrong?  I do a ping to 192.168.0.5 and it's
1.something ms, so that works fine.. I have gateway running, and divert is
enabled in the kernel..



---
Drew "Droobie" Baxter
Network Admin/Professional Computer Nerd(TM)
OneEX: The OneNetwork Exchange 207-942-0275
http://www.droo.orland.me.us
My Latest Kernel: FreeBSD 3.0-CURRENT (ONEEX) #14: Mon Oct 19 22:36:58 EDT 1998


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19981028212645.00a66a50>