Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 16:23:59 +0200
From:      Janine C.Buorditez <johann@broadpark.no>
To:        questions@freebsd.org
Subject:   Because of NAT?
Message-ID:  <20021013162359.2a31f584.johann@broadpark.no>

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

My network is like this:

Name: Cisco 677i-DIR (ADSL-router/modem)
IP:   217.13.29.51
        |
        v
Name: Ninja (FreeBSD)
IP:   192.168.187.1
        |
        v
Name: Aegis (FreeBSD)
IP:   192.168.187.2

The Cisco router runs CBOS and apparently NAT. I have forwarded these ports to
Ninja. The address 10.0.0.2 (somehow it has to be that address) goes to Ninja's
lnc0.

set nat entry add 10.0.0.2 22 0.0.0.0 22 tcp
set nat entry add 10.0.0.2 25 0.0.0.0 25 tcp
set nat entry add 10.0.0.2 80 0.0.0.0 80 tcp
set nat entry add 10.0.0.2 53 0.0.0.0 53 tcp
set nat entry add 10.0.0.2 113 0.0.0.0 113 tcp
set nat entry add 10.0.0.2 1024-5000 0.0.0.0 1024-5000 tcp
set nat entry add 10.0.0.2 31337 0.0.0.0 31337 tcp

This should cover most things, shouldn't it? However I'm concerned the use of NAT
on my router and boxes has stirred shit up. For instance, I can only connect to
my OpenFTPD (on 31337) site locally. Connecting remotely gives me:

lftp test@ninja.terrabionic.com:~> ls
---- Connecting to ninja.terrabionic.com (217.13.29.51) port 31337
**** Socket error (Connection timed out) - reconnecting

Also I've been hearing people not getting ident requests from me.

This can not be a BIND issue can it? I find it odd why my hostname sometimes
doesn't resolve on EFNet, but on all the other networks I'm on.

NAT, it seems, has really made networking a lot harder for me than what I
deserve. I hope somebody understands my situation and are able to give useful
replies.

Thanks!

--janine

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?20021013162359.2a31f584.johann>