Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: natd error



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


From: "슬픈대구" <rataplan@xxxxxxxxxx>
Subject: Re: natd error
Date: Thu, 20 Feb 2003 00:05:10 +0900

> root# uname -a
> FreeBSD localhost 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Tue Feb 18 01:22:01
> KST 2003     root@xxxxxxxxx:/usr/obj/usr/src/sys/NAT  i386
> root#
> 
> 5.0을 설치하고 소스를 update하고 다시 세상만들기와 커널을 갱신했습니다.
> 
> * natd.conf
> ---------------
> /sbin/natd -p 8668 -n rl0 -redirect_address 192.168.0.1 0.0.0.0
> use_sockets
> same_ports
> #unregistered_only
> log_denied
> 
> ---------------
> 
> root# ipfw show
> 00100       7268     735152 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     104624   33959272 allow ip from any to any
> 65535          3        144 deny ip from any to any
> root#
> ---------------
> 
> /etc/services는 5.0 설치하고 나니 아무 내용도 들어있지 않더군요...

ipfw에 nat관련 설정이 안들어 있네요. /etc/natd.conf랑 다 없애고
/etc/rc.conf에

natd_enable="YES"
natd_interface="rl0"
firewall_enable="YES"
firewall_type="open"

이렇게 주고 다시 부팅해서 결과를 살펴 보세요. 그리고 /etc/services가
빈 파일이라니 이상하군요.

--
CHOI Junho <http://www.kr.FreeBSD.org/~cjh>     KFUG <cjh at kr.FreeBSD.org>
FreeBSD Project <cjh at FreeBSD.org>        Web Data Bank <cjh at wdb.co.kr>
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5
--
Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/>
To Unsubscribe: send mail to majordomo@xxxxxxxxxxxxxx
with "unsubscribe questions" in the BODY of the message



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2003/02/28 23:01:12 $
Powered by FreeBSD