
라우터에서 Mac으로의 포트 전달을 설정했습니다. 내 IP 주소를 입력하려고 하면 브라우저가 시간 초과되고 라우터가 재설정됩니다.
이제 NAS 서버로 포트 포워딩하면 모든 것이 잘 작동하고 웹 페이지가 제공됩니다.
포트 전달이 제대로 작동하도록 하여 Mac이 웹 서버 역할을 하도록 하고(Mac에서는 방화벽이 비활성화되어 있음) 다음을 입력할 때도 마찬가지입니다.
sudo ipfw 목록
포트 80이 허용되었습니다.
어떤 이유로 포트 80이 열려 있는지 확인하기 위해 온라인 서비스를 사용할 때 라우터가 다시 시작됩니다(내 Nas 서버로 포트 전달을 변경할 때는 그렇게 하지 않았지만 제대로 작동했습니다).
이것이 도움이 될지는 모르겠지만 라우터에서 내 로그를 확인한 결과 다음과 같은 메시지가 표시됩니다. 로그의 초기 시간을 무시하세요. 왜 그렇게 했는지는 모르겠지만 로그를 지우고 내 Mac에 액세스하려고 시도했는데 이것이 바로 통나무:
Jan 1 00:00:30 localhost syslog.info syslogd started: BusyBox v1.18.5
Jan 1 00:00:30 localhost user.info syslog: disable write rom conf.
Jan 1 00:00:34 localhost user.err syslog: silex/smbd.c:smbd_main(942)
Jan 1 00:00:34 localhost user.err syslog: smbd version 3.0.34 started.
Jan 1 00:00:35 localhost user.err syslog: printing/pcap.c:pcap_cache_reload(159)
Jan 1 00:00:35 localhost user.err syslog: Unable to open printcap file /etc/printcap for read!
Jan 1 00:00:35 localhost user.err syslog: printing/pcap.c:pcap_cache_reload(159)
Jan 1 00:00:35 localhost user.err syslog: Unable to open printcap file /etc/printcap for read!
Jan 1 00:00:35 localhost user.err syslog: silex/nmbd.c:nmbd_main(723)
Jan 1 00:00:35 localhost user.err syslog: Netbios nameserver version 3.0.34 started.
Jan 1 00:00:35 localhost user.err syslog: passdb/pdb_smbpasswd.c:startsmbfilepwent(241)
Jan 1 00:00:35 localhost user.err syslog: startsmbfilepwent_internal: file /usr/local/samba/private/smbpasswd did not exist. File successfully created.
Jan 1 00:00:37 localhost daemon.notice pppd[918]: pppd 2.4.1 started by root, uid 0
Jan 1 00:00:38 localhost daemon.info dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Jan 1 00:00:38 localhost daemon.info dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Jan 1 00:00:38 localhost daemon.info dhcpd: All rights reserved.
Jan 1 00:00:38 localhost daemon.info dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jan 1 00:00:38 localhost daemon.debug dhcpd: ip reservation not enabled
Jan 1 00:00:38 localhost daemon.info dhcpd: Wrote 0 leases to leases file.
Jan 1 00:00:38 localhost daemon.info dhcpd: Listening on Socket/br1/192.168.169.0/24
Jan 1 00:00:38 localhost daemon.info dhcpd: Sending on Socket/br1/192.168.169.0/24
Jan 1 00:00:38 localhost daemon.info dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Jan 1 00:00:38 localhost daemon.info dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Jan 1 00:00:38 localhost daemon.info dhcpd: All rights reserved.
Jan 1 00:00:38 localhost daemon.info dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jan 1 00:00:38 localhost daemon.debug dhcpd: subnet mathes LAN0, enable IP RESERVATION
Jan 1 00:00:39 localhost daemon.debug dhcpd: ip-reservation write lease hw(b8:8d:12:1a:30:58),ip(192.168.2.53)
Jan 1 00:00:39 localhost daemon.debug dhcpd: ip-reservation write lease hw(20:64:32:c2:88:b2),ip(192.168.2.19)
Jan 1 00:00:39 localhost daemon.info dhcpd: Wrote 2 leases to leases file.
Jan 1 00:00:39 localhost daemon.info dhcpd: Listening on Socket/br0/192.168.2.0/24
Jan 1 00:00:39 localhost daemon.info dhcpd: Sending on Socket/br0/192.168.2.0/24
Jan 1 00:00:39 localhost daemon.info dhcpd: DHCPINFORM from 192.168.2.18 via br0
Jan 1 00:00:39 localhost daemon.info dhcpd: DHCPACK to 192.168.2.18 (b8:8d:12:1a:30:58) via br0
Jan 1 00:00:29 localhost daemon.info dnsmasq[685]: started, version 2.58 cachesize 150
Jan 1 00:00:42 localhost daemon.warn dnsmasq[685]: overflow: 5 log entries lost
Jan 1 00:00:44 localhost daemon.info dnsmasq[1047]: started, version 2.58 cachesize 150
Jan 1 00:00:44 localhost daemon.info dnsmasq[1047]: compile time options: IPv6 GNU-getopt no-DBus no-i18n DHCP TFTP no-conntrack no-IDN
Jan 1 00:00:44 localhost daemon.info dnsmasq[1047]: read /etc/hosts - 2 addresses
Jan 1 00:00:44 localhost daemon.info dnsmasq[1047]: using nameserver XX.XXX.XXX.99#53
Jan 1 00:00:44 localhost daemon.info dnsmasq[1047]: using nameserver XX.XXX.XXX.97#53
Jan 1 00:00:45 localhost cron.info crond[1064]: crond: crond (busybox 1.18.5) started, log level 8
Feb 8 08:14:25 localhost user.info wanstatus: Internet Status: Connected
Feb 8 08:14:25 localhost user.info wanstatus: PING Success
Feb 8 08:14:29 localhost cron.err crond[1064]: time disparity of 6893773 minutes detected
미리 도움을 주셔서 감사합니다.
위의 IP 주소 중 일부가 XXX개 있지만 둘 다 주소가 비슷하고 마지막 두 숫자만 다릅니다.