Date: Tue, 21 Aug 2001 10:31:45 +0100 From: Chris Hastie <lists@oak-wood.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Port redirection with natd Message-ID: <BW7Dh6EBqig7Ew0j@chris.oak-wood.co.uk> In-Reply-To: <Pine.BSF.4.21.0108201603000.88303-100000@cody.jharris.com> References: <uABoE0ArGVg7EwB6@chris.oak-wood.co.uk> <Pine.BSF.4.21.0108201603000.88303-100000@cody.jharris.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Aug 2001, Nick Rogness <nick@rogness.net> wrote >On Mon, 20 Aug 2001, Chris Hastie wrote: > >> Time to own up to my totally clueless credentials. I've been using >> FreeBSD, my first venture away from Mr Gates, since, oh, Saturday >> afternoon, and I haven't figured out this logging thing yet. Lots of >> things tell me how to log stuff, but I can't figure out where to find >> the logs they generate :( >> >> Instructions on 1) how to tell natd to log activity and 2) where to >> find the logs would be very much appreciated > > 1) include the "log" keyword in /etc/natd.conf > > 2) /var/log/alias.log > Thanks. I'm none the wiser for looking at a log I'm afraid. A lot of similar lines like this | icmp=0, udp=1, tcp=3, pptp=0, proto=0, frag_id=0 frag_ptr=0 / tot=4 (sock=0) which make little sense to me :( > What does `ipfw -a l` report? | rowan# ipfw -a l | 00050 161 17814 divert 8668 ip from any to any via xl0 | 00100 164 18720 allow ip from any to any via lo0 | 00200 0 0 deny ip from any to 127.0.0.0/8 | 00300 0 0 deny ip from 127.0.0.0/8 to any | 65000 988 491392 allow ip from any to any | 65535 3 984 deny ip from any to any >Is celandine reachable from your > natd machine and is the port listening on that machine? Yes and yes: | rowan# telnet celandine 25 | Trying 192.168.37.3... | Connected to celandine.oak-wood.co.uk. | Escape character is '^]'. | 220 mail.oak-wood.co.uk Ready for action (Mailtraq 1.1.6.1176/SMTP) Thanks for your help. This is certainly a steep learning curve for me. -- Chris Hastie 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?BW7Dh6EBqig7Ew0j>