{"id":6627,"date":"2018-08-27T02:17:01","date_gmt":"2018-08-26T17:17:01","guid":{"rendered":"https:\/\/y2tech.net\/blog\/?p=6627"},"modified":"2018-09-10T21:08:42","modified_gmt":"2018-09-10T12:08:42","slug":"upnp-openhome-music-server-vol-7","status":"publish","type":"post","link":"https:\/\/y2tech.net\/blog\/audio\/digital-audio\/upnp-openhome-music-server-vol-7-6627\/","title":{"rendered":"UPnP\/OpenHome Music Server \u306e\u81ea\u4f5c\uff08\u305d\u306e\uff17\uff09"},"content":{"rendered":"<h3>APU2C4\u3092\u30eb\u30fc\u30bf\u3068\u3057\u3066\u6a5f\u80fd\u3055\u305b\u308b\uff08\u5fdc\u7528\u7de8\uff1aNAPT IP\u30de\u30b9\u30ab\u30ec\u30fc\u30c9\uff09<\/h3>\r\n<br>\r\n<p>\u4eca\u56de\u306f\u3001\u524d\u56de\u306eNAT\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u5f15\u304d\u7d9a\u304d\u3001NAPT(IP\u30de\u30b9\u30ab\u30ec\u30fc\u30c9\uff09\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u30aa\u30fc\u30c7\u30a3\u30aa\u5c02\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u69cb\u7bc9\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/APU2C4-Audio-Router-NAPT.png\" alt=\"APU2C4 Audio Router NAPT\" width=\"604\" height=\"444\" class=\"size-full wp-image-6630\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/APU2C4-Audio-Router-NAPT.png 604w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/APU2C4-Audio-Router-NAPT-320x235.png 320w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/>\r\n<br>\r\n<span>APU2C4\u306e3\u756a\u76ee\u306e\u30dd\u30fc\u30c8\u3092\u4f7f\u3063\u3066NAPT\u306b\u3088\u308b\u6e96\u30aa\u30fc\u30c7\u30a3\u30aa\u5c02\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u4f5c\u3063\u3066\u307f\u308b<\/span>\r\n<br>\r\n<\/div>\r\n<br>\r\n<br>\r\n<p>\u4eca\u56de\u306eNAPT\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u5b9f\u9a13\u3067\u306f\u30013\u756a\u76ee\u306e\u30dd\u30fc\u30c8(&#8220;eth2&#8221;) \u3068LAN\u5074\u30dd\u30fc\u30c8(&#8220;eth0&#8221;)\u3068\u306e\u9593\u3067NAPT\u5909\u63db\u3092\u884c\u3046\u3053\u3068\u306b\u3059\u308b\uff0e\u524d\u56de\u306eNAT\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u304c\uff11\u5bfe\uff11\u306e\u53cc\u65b9\u5411\u5909\u63db\u3067\u3042\u3063\u305f\u306e\u306b\u5bfe\u3057\u3001\u4eca\u56de\u306eNAPT\u30eb\u30fc\u30bf\u3067\u306fLAN\u5074\u304b\u3089\u306f\u30aa\u30fc\u30c7\u30a3\u30aa\u5c02\u7528\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u7f6e\u304b\u308c\u305f\u6a5f\u5668\u985e\u306b\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u7570\u306a\u3063\u3066\u3044\u308b\uff0e<\/p>\r\n<br>\r\n<p>\u4f55\u3082\u308f\u3056\u308f\u3056\u81ea\u5206\u3067Linux\u3092\u4f7f\u3063\u305f\u9762\u5012\u306a\u30eb\u30fc\u30bf\u3092\u4f5c\u3089\u306a\u304f\u3066\u3082\u3001NAPT\u6a5f\u80fd\u306e\u3042\u308b\u5bb6\u5ead\u7528\u306e\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u30922\u53f0\u7528\u610f\u3057\u305d\u308c\u3089\u3092\u30bf\u30f3\u30c7\u30e0\u306b\u7e4b\u3052\u3070\u305d\u308c\u306a\u308a\u306e\u52b9\u679c\u306f\u3042\u308b\u306e\u3060\u304c\u3001LAN\u5074\u304b\u3089\u3082\u3046\u4e00\u6bb5\u5185\u5074\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u7528\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u4e8b\u304c\u56f0\u96e3\u306a\u305f\u3081\u3001\u4f7f\u3044\u52dd\u624b\u304c\u3068\u3066\u3082\u60aa\u3044\u306e\u3060\uff0e<\/p>\r\n<br>\r\n<p>\u5bb6\u5ead\u7528\u306e\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u306eNAPT\u6a5f\u80fd\u306f\u4e00\u3064\u306e\u30b0\u30ed\u30fc\u30d0\u30ebIP\u30a2\u30c9\u30ec\u30b9\u3092\u52b9\u679c\u7684\u306b\u5229\u7528\u3059\u308b\u4e8b\u304c\u4e3b\u76ee\u7684\u306e\u305f\u3081\u3001\u4e00\u822c\u7684\u306aWEB\u3084\u30e1\u30fc\u30eb\u306a\u3069\u306e\u7528\u9014\u306b\u306f\u5411\u3044\u3066\u3044\u308b\u306e\u3060\u304c\u3001NFS\u3084SMB\/CIFS\u306a\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d3\u30b9\u3068\u306f\u3068\u3066\u3082\u76f8\u6027\u304c\u60aa\u304f\u3001\u3053\u308c\u3089\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u3084\u9014\u4e2d\u306b\u4ecb\u5728\u3059\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u306a\u3069\u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001\u4e00\u822c\u7684\u306a\u5bb6\u5ead\u7528\u306e\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u3067\u306fWAN\u5074\uff08\u5916\u5074\uff09\u3068LAN\u5074\uff08\u5185\u5074\uff09\u3068\u306e\u9593\u3067\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d3\u30b9\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u305d\u308c\u306a\u308a\u306e\u30b9\u30ad\u30eb\u304c\u8981\u6c42\u3055\u308c\u308b\uff0e<\/p>\r\n<br>\r\n<p>\u52ff\u8ad6\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3059\u308bNAS\u3084&#8221;Kazoo&#8221;\u3084&#8221;fidata&#8221;\u306a\u3069\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30a2\u30d7\u30ea\u3092\u30aa\u30fc\u30c7\u30a3\u30aa\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u914d\u4e0b\u306b\u7f6e\u3051\u3070\u9762\u5012\u306a\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u306a\u304f\u4f7f\u3044\u52dd\u624b\u306f\u6539\u5584\u3055\u308c\u308b\u306e\u3060\u304c\u3001\u4eca\u5ea6\u306f\u3053\u308c\u3089\u306e\u6a5f\u5668\u304c\u767a\u3059\u308b\u4f59\u8a08\u306a\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u304c\u30aa\u30fc\u30c7\u30a3\u30aa\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u6c5a\u67d3\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u97f3\u8cea\u5411\u4e0a\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u30de\u30a4\u30ca\u30b9\u306b\u50cd\u3044\u3066\u3057\u307e\u3046\uff0e<\/p>\r\n<br>\r\n<p>\u3068\u3044\u3046\u8a33\u3067\u3001\u4eca\u56de\u306fNAPT\u306e\u5f31\u70b9\u3092\u30ab\u30d0\u30fc\u3059\u308b\u3088\u3046\u306a\u5f62\u3067APU2C4\u306bNAPT\u6a5f\u80fd\u3092\u642d\u8f09\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<p>\u3055\u3066\u3001NAPT\u6a5f\u80fd\u306e\u5229\u7528\u3067\u554f\u984c\u3068\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d3\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3068\u5404\u7a2e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30a2\u30d7\u30ea\u306e\u7f6e\u304d\u5834\u6240\u3060\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d3\u30b9\u306b\u95a2\u3057\u3066\u306f\u3001APU2C4\u81ea\u4f53\u306bNFS\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4eca\u56de\u306fNAPT\u306e\u5185\u5074\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u3067\u3082\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3060\uff0e\u4f46\u3057\u3001LAN\u5074\u306b\u7f6e\u304b\u308c\u305fNAS\u88c5\u7f6e\uff08\u4e0a\u8a18\u306e\u56f3\u3067\u306f Synology NAS\uff09\u3078\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3053\u3068\u306b\u7559\u610f\u3057\u3066\u6b32\u3057\u3044\uff0e\u307e\u305f\u3001\u5404\u7a2e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30a2\u30d7\u30ea\u306fLAN\u5074\u306b\u7f6e\u3044\u305f\u307e\u307e\u306e\u72b6\u614b\u3067\u4f7f\u3046\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<br>\r\n<h4>NAPT\u6a5f\u80fd\u306e\u5b9f\u88c5<\/h4>\r\n<br>\r\n<p>APU2C4\u306e3\u756a\u76ee\u306e\u30dd\u30fc\u30c8\u306bNAPT\u6a5f\u80fd\u3092\u5b9f\u88c5\u3059\u308b\u306e\u306f\u3001\u524d\u56de\u306eNAT\u6a5f\u80fd\u306e\u5b9f\u88c5\u3068\u540c\u3058\u3088\u3046\u306b\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u6a5f\u80fd\u3092\u4f7f\u3046\uff0e\u524d\u56de\u306eNAT\u6a5f\u80fd\u306e\u5b9f\u88c5\u3067\u306f\u30013\u3064\u306e\u30dd\u30fc\u30c8\u3092\u5168\u3066 \u6a19\u6e96\u3067\u5099\u308f\u3063\u3066\u3044\u308b&#8221;trusted&#8221; \u3068\u3044\u3046\u30be\u30fc\u30f3\u306b\u5272\u308a\u5f53\u3066\u305f\u306e\u3067\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3068\u3057\u3066\u306f\u5b8c\u5168\u306a\u30b9\u30eb\u30fc\uff08\u5168\u30d1\u30b1\u30c3\u30c8\u3092\u8a31\u53ef\u3059\u308b\uff09\u72b6\u614b\u3067\u3042\u3063\u305f\uff0e\u4eca\u56de\u306fLAN\u5074\u304b\u3089NAPT\u306e\u5185\u5074\u3078mpd\u306a\u3069\u306e\u7279\u5b9a\u306e\u901a\u4fe1\u3092\u8a31\u53ef\uff08\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\uff09\u3055\u305b\u308b\u305f\u3081\u306b\u3001LAN\u5074\uff08&#8221;eth0&#8243;\uff09\u3092\u5225\u306a\u30be\u30fc\u30f3\u306b\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<p>LAN\u5074\uff08&#8221;eth0&#8243;\uff09\u306b\u5272\u308a\u5f53\u3066\u308b\u30be\u30fc\u30f3\u540d\u3092\u3068\u308a\u3042\u3048\u305a &#8220;lan_trusted&#8221; \u3068\u3059\u308b\u304c\u540d\u524d\u306f\u4f55\u3067\u3082\u826f\u3044\uff0e\u3053\u306e\u30be\u30fc\u30f3\u306e\u632f\u308b\u821e\u3044\u306f&#8221;trusted&#8221; \u3068\u5168\u304f\u540c\u3058\u6271\u3044\u3068\u3059\u308b\uff0e\u6a19\u6e96\u306e\u30be\u30fc\u30f3\u306b\u95a2\u3059\u308b\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306f\u3001&#8221;\/usr\/lib\/firewalld\/zones&#8221; \u914d\u4e0b\u306b \u201d\u30be\u30fc\u30f3\u540d.xml\u201d\u3068\u3044\u3046\u540d\u524d\u3067\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u304c\u7f6e\u304b\u308c\u3066\u3044\u308b\uff0e\u81ea\u5206\u5c02\u7528\u306e\u30be\u30fc\u30f3\u5b9a\u7fa9\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001&#8221;\/etc\/firewalld\/zones&#8221; \u914d\u4e0b\u306b\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u3051\u3070\u826f\u3044\uff0e<\/p>\r\n<br>\r\n<p>\u4eca\u56de\u306f \u6a19\u6e96\u306e&#8221;trusted&#8221; \u306e\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb &#8220;\/usr\/lib\/firewalld\/zones\/trusted.xml&#8221; \u306e\u5185\u5bb9\u3092\u5358\u7d14\u306b\u30b3\u30d4\u30fc\u3057\u3066\u540d\u524d\u3060\u3051\u3092\u4ed8\u3051\u66ff\u3048\u3066 &#8220;\/etc\/firewalld\/zones\/lan_trusted.xml&#8221; \u3092\u4f5c\u6210\u3059\u308b\uff0e\u540c\u69d8\u306bNAT\u7528\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30be\u30fc\u30f3\u3092&#8221;nat_trusted&#8221;\u3001NAPT\u7528\u306e\u30be\u30fc\u30f3\u3092 &#8220;napt_trusted&#8221; \u3068\u3057\u3066\u304a\u304f\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\n[root@jukebox2 ~]# cp \/usr\/lib\/firewalld\/zones\/trusted.xml \/etc\/firewalld\/zones\/lan_trusted.xml \r\n[root@jukebox2 ~]# cp \/usr\/lib\/firewalld\/zones\/trusted.xml \/etc\/firewalld\/zones\/nat_trusted.xml \r\n[root@jukebox2 ~]# cp \/usr\/lib\/firewalld\/zones\/trusted.xml \/etc\/firewalld\/zones\/napt_trusted.xml \r\n\r\n[root@jukebox2 ~]# cat \/etc\/firewalld\/zones\/lan_trusted.xml  \uff1c\uff1d\uff1d\u3000\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<zone target=\"ACCEPT\">\r\n  <short>Trusted<\/short>\r\n  <description>All network connections are accepted.<\/description>\r\n<\/zone>\r\n\r\n[root@jukebox2 ~]# nmcli c mod eth0 connection.zone lan_trusted\u3000\uff1c\uff1d\uff1d\u3000\"eth0\"\u306e\u30be\u30fc\u30f3\u3092\u5909\u66f4\u3059\u308b\r\n[root@jukebox2 ~]# nmcli c mod eth1 connection.zone nat_trusted\r\n[root@jukebox2 ~]# nmcli c mod eth2 connection.zone napt_trusted\r\n\r\n[root@jukebox2 ~]# systemctl restart network\u3000\u3000\uff1c\uff1d\uff1d\u3000\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u518d\u8d77\u52d5\u3059\u308b\r\n\r\n[root@jukebox2 ~]# firewall-cmd --reload   \uff1c\uff1d\uff1d\u3000\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u8a2d\u5b9a\u3092\u53cd\u6620\u3055\u305b\u308b\r\nsuccess\r\n[root@jukebox2 ~]# firewall-cmd --get-active-zone\u3000\u3000\uff1c\uff1d\uff1d\u3000\u73fe\u5728\u306e\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30be\u30fc\u30f3\u3092\u78ba\u8a8d\r\nnat_trusted\r\n  interfaces: eth1\r\nnapt_trusted\r\n  interfaces: eth2\r\nlan_trusted\r\n  interfaces: eth0\r\n[root@jukebox2 ~]# \r\n<\/code><\/pre>\r\n<br>\r\n<p>3\u3064\u306e\u30dd\u30fc\u30c8\u304c\u6240\u5c5e\u3059\u308b\u30be\u30fc\u30f3\u540d\u3092\u5909\u66f4\u3057\u305f\u3068\u3053\u308d\u3067\u3001NAPT\u306b\u95a2\u3059\u308b\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30eb\u30fc\u30eb\u3092\u8ffd\u52a0\u3059\u308b\uff0e\u524d\u56de\u306eNAT\u306f\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30eb\u3068\u3044\u3046\u8a2d\u5b9a\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u3057\u3066\u3044\u308b\u304c\u3001\u4eca\u56de\u306eNAPT\u3067\u306f\u30be\u30fc\u30f3\u306b\u5bfe\u3057\u3066NAPT\u306e\u30eb\u30fc\u30eb\u3068\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u30eb\u30fc\u30eb\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\n[root@jukebox2 ~]# firewall-cmd --direct --get-all-rules   \uff1c\uff1d\uff1d\u3000\u73fe\u5728\u306e\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30eb\u306e\u8a2d\u5b9a\u5185\u5bb9\u3092\u78ba\u8a8d\r\nipv4 nat POSTROUTING_direct 0 -s 192.168.10.101 -j SNAT --to 192.168.100.51\r\nipv4 nat PREROUTING_direct 0 -d 192.168.100.51 -j DNAT --to 192.168.10.101\r\n[root@jukebox2 ~]#\r\n\r\n[root@jukebox2 ~]# firewall-cmd --zone=lan_trusted --query-masquerade\r\nno\r\n[root@jukebox2 ~]# firewall-cmd --zone=nat_trusted --query-masquerade\r\nno\r\n[root@jukebox2 ~]# firewall-cmd --zone=napt_trusted --query-masquerade\r\nno\r\n\r\n[root@jukebox2 ~]# firewall-cmd --zone=napt_trusted  --add-masquerade --permanent\r\nsuccess\r\n[root@jukebox2 ~]# firewall-cmd --zone=lan_trusted  --add-masquerade --permanent\r\nsuccess\r\n[root@jukebox2 ~]# firewall-cmd --reload\r\nsuccess\r\n[root@jukebox2 ~]# firewall-cmd --zone=napt_trusted --query-masquerade\r\nyes\r\n[root@jukebox2 ~]# firewall-cmd --zone=lan_trusted --query-masquerade\r\nyes\r\n\r\n<\/code><\/pre>\r\n<br>\r\n<p>\u524d\u56de\u3068\u540c\u69d8\u3001\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3084\u8a2d\u5b9a\u306e\u7d30\u304b\u3044\u5185\u5bb9\u306b\u3064\u3044\u3066\u306f\u6c17\u306b\u3059\u308b\u3053\u3068\u7121\u304f\u3001\u5358\u7d14\u306a\u304a\u307e\u3058\u306a\u3044\u3068\u3057\u3066\u5b9f\u884c\u3057\u3066\u6b32\u3057\u3044\uff0e\u3053\u306e\u72b6\u614b\u3067\u3001&#8221;eth2&#8243; \u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306e\u6a5f\u5668\u304b\u3089\u5916\u90e8\u306e\u5bb6\u5ead\u5185LAN(&#8220;eth0&#8243;\u5074)\u3084\u66f4\u306b\u5916\u5074\uff08\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\uff09\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3078\u901a\u4fe1\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u308b\u7b48\u3060\uff0e\u52ff\u8ad6\u3001\u3053\u306e\u72b6\u614b\u3067\u306f &#8220;eth2&#8221; \u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u5916\u90e8\u65b9\u5411\u3078\u306e\u4e00\u65b9\u7684\u306a\u901a\u4fe1\uff08outbound: \u767a\u4fe1\u63a5\u7d9a\uff09\u3057\u304b\u8a31\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u5bb6\u5ead\u5185LAN(&#8220;eth0&#8243;\u5074)\u304b\u3089\u306f&#8221;eth2&#8221; \u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306f\u4e00\u5207\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u72b6\u614b\u3060\uff0e<\/p>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/TestPCNetworkSettings.png\" alt=\"TestPC Network Settings 2\" width=\"670\" height=\"581\" class=\"size-full wp-image-6635\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/TestPCNetworkSettings.png 670w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/TestPCNetworkSettings-320x277.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/TestPCNetworkSettings-640x555.png 640w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/> \r\n<br>\r\n<span>Test PC\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092192.168.20.101\/24 \u306b\u8a2d\u5b9a\u3057\u3066NAPT\u6a5f\u80fd\u3092\u30c6\u30b9\u30c8<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/ExternalWebAccess.png\" alt=\"External Web Access Test\" width=\"640\" height=\"400\" class=\"size-full wp-image-6636\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/ExternalWebAccess.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/ExternalWebAccess-320x200.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/>\r\n<br>\r\n<span>LAN\u5074\u306b\u7f6e\u304b\u308c\u305f&#8221;smokeping&#8221;\u30b5\u30fc\u30d0\u3084\u5916\u90e8\u306e\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30b5\u30a4\u30c8\u3078\u3082\u554f\u984c\u7121\u304f\u63a5\u7d9a\u3067\u304d\u3066\u3044\u308b<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/TestPCNFSMountedVolume.png\" alt=\"TestPC NFS Mounted Volume\" width=\"633\" height=\"324\" class=\"size-full wp-image-6637\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/TestPCNFSMountedVolume.png 633w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/TestPCNFSMountedVolume-320x164.png 320w\" sizes=\"auto, (max-width: 633px) 100vw, 633px\" \/> \r\n<br>\r\n<span>\u52ff\u8ad6\u3001APU2C4\u4e0a\u306eNFS\u30dc\u30ea\u30e5\u30fc\u30e0\u3082\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3060<\/span>\r\n<br>\r\n<\/div>\r\n<br>\r\n<h4>LAN\u5074\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u7d4c\u8def\u306e\u8a2d\u5b9a\uff08\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\uff1a\u9759\u7684NAPT\uff09<\/h4>\r\n<br>\r\n<p>NAPT\u6a5f\u80fd\u304c\u4e0a\u624b\u304f\u5b9f\u88c5\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001LAN\u5074\u304b\u3089NAPT\u306e\u5185\u5074\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306e\u6a5f\u5668\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306b\u7a74\u3092\u958b\u3051\u308b\uff08\u901a\u4fe1\u3092\u8a31\u53ef\u3055\u305b\u308b\uff09\u8a2d\u5b9a\u3092\u5b9f\u65bd\u3059\u308b\u3053\u3068\u306b\u3057\u3088\u3046\uff0e\u4eca\u56de\u306fNAT\/NAPT\u3067\u884c\u3063\u305f\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u3082\u3046\u5c11\u3057\u7c21\u5358\u306a\u30be\u30fc\u30f3\u9593\u306b\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u8ee2\u9001\u30eb\u30fc\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<p>\u30aa\u30fc\u30c7\u30a3\u30aa\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30ec\u30a4\u30e4\u30fc\u304c\u4f7f\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u5fdc\u3058\u305f\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u8a2d\u5b9a\uff08mpd\u306e\u5834\u5408\u3001TCP\/6600\uff09\u3092\u884c\u3048\u3070\u826f\u3044.\u4eca\u56de\u306f\u4f8b\u3068\u3057\u3066\u3001\u30c6\u30b9\u30c8PC\u4e0a\u306eWEB\u30b5\u30fc\u30d0\uff08TCP\/80\uff09\u306b\u5bfe\u3059\u308b\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<p>\u5148\u306b\u3001LAN\u5074(&#8220;eth0&#8221;) \u306e\u30be\u30fc\u30f3\u3092 &#8220;lan_trusted&#8221; \u306b\u5909\u66f4\u3057\u305f\u306e\u306f\u3001LAN\u5074\u306e\u30be\u30fc\u30f3\u3060\u3051\u306b\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u8a2d\u5b9a\u3092\u9069\u7528\u3055\u305b\u305f\u304b\u3063\u305f\u305f\u3081\u3067\u30013\u3064\u306e\u30dd\u30fc\u30c8\u304c\u540c\u3058&#8221;trusted&#8221;\u3068\u3044\u3046\u30be\u30fc\u30f3\u8a2d\u5b9a\u3067\u306f\u5185\u5074\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5bfe\u3057\u3066\u3082\u9069\u7528\u3055\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308a\u3001\u304a\u304b\u3057\u306a\u4e8b\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3060\uff0e<\/p>\r\n<br>\r\n<p>LAN\u5074(&#8220;eth0&#8221;)\u306e\u30be\u30fc\u30f3\u306b\u5bfe\u3057\u3066\u3001\u30c6\u30b9\u30c8PC(192.168.20.101)\u5b9b\u306eWEB\u30a2\u30af\u30bb\u30b9\u8981\u6c42HTTP(TCP\/80)\u304c\u5c4a\u3044\u305f\u3089\u3001\u305d\u308c\u3092\u30aa\u30fc\u30c7\u30a3\u30aa\u7528\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5074(&#8220;eth2&#8243;\uff09\u306b\u305d\u306e\u307e\u307e\u8ee2\u9001\u3059\u308b\u8a2d\u5b9a\uff08\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\uff09\u3092\u65bd\u3059\uff0e\u3053\u306e\u305f\u3081\u306e\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u30b3\u30de\u30f3\u30c9\u306f\u3001&#8221;# firewall-cmd &#8211;zone=ext-trusted &#8211;permanent &#8211;add-forward-port=port=80:proto=tcp:toport=80:toaddr=192.168.20.101&#8221; \u306e\u3088\u3046\u306b\u306a\u308b\u3060\u308d\u3046\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\n[root@jukebox2 ~]# firewall-cmd --permanent --zone=lan_trusted --add-forward-port=port=80:proto=tcp:toport=80:toaddr=192.168.20.101\r\nsuccess\r\n[root@jukebox2 ~]# firewall-cmd --permanent --zone=lan_trusted --add-forward-port=port=6600:proto=tcp:toport=6600:toaddr=192.168.20.101\r\nsuccess\r\n[root@jukebox2 ~]# firewall-cmd --reload\r\nsuccess\r\n[root@jukebox2 ~]# firewall-cmd  --list-all --zone=lan_trusted\r\nlan_trusted (active)\r\n  target: ACCEPT\r\n  icmp-block-inversion: no\r\n  interfaces: eth0\r\n  sources: \r\n  services: \r\n  ports: \r\n  protocols: \r\n  masquerade: yes\r\n  forward-ports: port=80:proto=tcp:toport=80:toaddr=192.168.20.101\r\n\tport=6600:proto=tcp:toport=6600:toaddr=192.168.20.101\r\n  source-ports: \r\n  icmp-blocks: \r\n  rich rules: \r\n\t\r\n[root@jukebox2 ~]# firewall-cmd  --list-all --zone=napt_trusted\r\nnapt_trusted (active)\r\n  target: ACCEPT\r\n  icmp-block-inversion: no\r\n  interfaces: eth2\r\n  sources: \r\n  services: \r\n  ports: \r\n  protocols: \r\n  masquerade: yes\r\n  forward-ports: \r\n  source-ports: \r\n  icmp-blocks: \r\n  rich rules: \r\n\t\r\n[root@jukebox2 ~]# \r\n<\/code><\/pre>\r\n<br>\r\n<P>\u3010\u6ce8\u8a18\u3011\u30be\u30fc\u30f3 &#8220;lan_trusted&#8221; \u306b\u5bfe\u3057\u306680\u756a\u30dd\u30fc\u30c8\u3092\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u3067NAPT\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e192.168.20.101 \u3078\u8ee2\u9001\u3059\u308b\u8a2d\u5b9a\u3092\u884c\u3046\u3068\u3001NAT\u7528\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u914d\u4e0b\u306b\u7f6e\u3044\u305fVolumio2\u306b\u5bfe\u3057\u3066\u3001LAN\u5074\u304b\u3089WEB\u30b3\u30f3\u30bd\u30eb\u3092\u63a5\u7d9a\u3059\u308b\u5834\u5408\u306b\u554f\u984c\u304c\u767a\u751f\u3059\u308b\uff0e\u3053\u308c\u306f\u3001Volumio2\u306eWEB\u30b3\u30f3\u30bd\u30fc\u30eb\u304cAJAX\u3092\u591a\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001LAN\u5074\u306eWEB\u30d6\u30e9\u30a6\u30b6\u3068Volumio2\u3068\u306e\u9593\u3067\u3001NAT\u4e2d\u7d99IP(192.168.100.51)\u3092\u4ecb\u3055\u305a\u306b\u76f4\u63a5Volumio2\uff08192.168.10.101\uff09\u3068 tcp:80 \u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u5f35\u3063\u3066\u3057\u307e\u3046\uff0e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u8a2d\u5b9a\u3067 tcp:80 \u3092192.168.20.101 \u3078\u8ee2\u9001\u3059\u308b\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3044\u308b\u306e\u3067\u3001Volumio2\uff08192.168.10.101\uff09\u3078\u306fAJAX\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u5f35\u308c\u306a\u3044\u306e\u3067\u3001AJAX\u304c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066WEB\u30b3\u30f3\u30bd\u30fc\u30eb\u753b\u9762\u304c\u3044\u3064\u307e\u3067\u7d4c\u3063\u3066\u3082\u3000\u201d\u3050\u308b\u3050\u308b\u201d\u3000\u72b6\u614b\u306e\u307e\u307e\u306b\u306a\u3063\u3066\u3057\u307e\u3046\uff0e<\/p>\r\n<br>\r\n<p>\u3053\u308c\u3092\u907f\u3051\u308b\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001NAT\u5074\u306eVolumio2(192.168.10.101)\u306b\u5bfe\u3059\u308b\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u3066\u304a\u3051\u3070\u826f\u3044\u3060\u308d\u3046\uff0e<\/p>\r\n<pre><code class=\"language-Markup\">\r\n[root@jukebox2 ~]# firewall-cmd --permanent --zone=lan_trusted --add-forward-port=port=80:proto=tcp:toport=80:toaddr=192.168.10.101\r\nsuccess\r\n[root@jukebox2 ~]# firewall-cmd  --list-all --zone=lan_trusted\r\nlan_trusted (active)\r\n  target: ACCEPT\r\n  icmp-block-inversion: no\r\n  interfaces: eth0\r\n  sources: \r\n  services: \r\n  ports: \r\n  protocols: \r\n  masquerade: yes\r\n  forward-ports: port=6600:proto=tcp:toport=6600:toaddr=192.168.20.101\r\n\tport=80:proto=tcp:toport=80:toaddr=192.168.20.101\r\n\tport=80:proto=tcp:toport=80:toaddr=192.168.10.101\r\n  source-ports: \r\n  icmp-blocks: \r\n  rich rules: \r\n\t\r\n[root@jukebox2 ~]# \r\n<\/code><\/pre>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/HTTPPortforwardingTest.png\" alt=\"HTTP Port-forwarding Test\" width=\"674\" height=\"487\" class=\"size-full wp-image-6640\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/HTTPPortforwardingTest.png 674w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/HTTPPortforwardingTest-320x231.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/HTTPPortforwardingTest-640x462.png 640w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/> \r\n<br>\r\n<span>Test PC\u4e0a\u306eWEB\u30b5\u30fc\u30d0\u306bLAN\u5074\u306eiMac\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b<br>\uff08\u3053\u306e\u5834\u5408\u306eIP\u30a2\u30c9\u30ec\u30b9\u306f\u3001&#8221;eth0&#8243; \u306b\u4ed8\u3051\u3089\u308c\u305f\u5b9fIP\u30a2\u30c9\u30ec\u30b9\uff09<\/span>\r\n<br>\r\n<\/div>\r\n<br>\r\n<p>\u4eca\u56de\u306f\u3001\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3060\u3051\u8aac\u660e\u3057\u305f\u304c\u3001\u5b9f\u969b\u306bVolumio\u306a\u3069\u306empd\u30aa\u30fc\u30c7\u30a3\u30aa\u30d7\u30ec\u30a4\u30e4\u30fc\u3092\u7e4b\u3050\u5834\u5408\u306e\u8a2d\u5b9a\u306f\u5225\u9014\u8aac\u660e\u3059\u308b\u4e88\u5b9a\u3060\uff0e\u4eca\u56de\u306f\u3001\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u307f\u305f\u304c\u3001\u524d\u56de\u306eNAT\u8a2d\u5b9a\u304c\u7406\u89e3\u3067\u304d\u3066\u3044\u308c\u3070\u3001\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u306f\u306a\u304f\u3066NAT\u3067\u8a2d\u5b9a\u3057\u3066\u3082\u5168\u304f\u554f\u984c\u7121\u3044\u3053\u3068\u304c\u304a\u89e3\u308a\u3060\u308d\u3046\u304b\uff0e\u524d\u56de\u306eNAT\u306eIP\u3068\u306f\u5225\u306eIP(\u4f8b\u3048\u3070192.168.100.52\uff09\u3092\u8a2d\u5b9a\u3057\u3066\u3001\u5b9b\u5148\u3092 192.168.20.xxx \u3068\u3059\u308c\u3070\u826f\u3044\uff0e<\/p>\r\n<br>\r\n<br>\r\n<h4>DHCP\u30b5\u30fc\u30d0\u3001DNS\u30d7\u30ed\u30ad\u30b7\u6a5f\u80fd\u306e\u5b9f\u88c5<\/h4>\r\n<br>\r\n<p>\u3055\u3066\u3001NAPT\u3068\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u6a5f\u80fd\u3092\u5b9f\u88c5\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001DHCP\u30b5\u30fc\u30d0\u3001DNS\u30d7\u30ed\u30ad\u30b7\u6a5f\u80fd\u3092\u8ffd\u52a0\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u3088\u3046\uff0e\u52ff\u8ad6\u3001\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u884c\u3046\u306b\u306f\u3001\u30aa\u30fc\u30c7\u30a3\u30aa\u30d7\u30ec\u30a4\u30e4\u30fc\u5074\u306fIP\u30a2\u30c9\u30ec\u30b9\u56fa\u5b9a\u3067\u306a\u3051\u308c\u3070\u96e3\u3057\u3044\uff08\u6d6e\u52d5IP\u30a2\u30c9\u30ec\u30b9\u306b\u5bfe\u5fdc\u3055\u305b\u308b\u306b\u306f\u304b\u306a\u308a\u9ad8\u5ea6\u306a\u30c6\u30af\u30cb\u30c3\u30af\u304c\u5fc5\u8981\uff09\u306e\u3060\u304c\u3001\u914d\u4e0b\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u30a4\u30c3\u30c1\u3092\u7f6e\u304d\u3001\u7121\u7ddaLAN\u306e\u30a2\u30af\u30bb\u30b9\u30dd\u30a4\u30f3\u30c8\u3084\u5916\u4ed8\u3051NAS\u306a\u3069\u3092\u7f6e\u3044\u3066\u3001\u7c21\u6613\u30aa\u30fc\u30c7\u30a3\u30aa\u5c02\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u60f3\u5b9a\u3060\uff0e\u52ff\u8ad6\u3001\u97f3\u8cea\u7684\u306b\u306f\u597d\u307e\u3057\u304f\u306f\u306a\u3044\u306e\u3060\u304c\u3001\u305d\u308c\u3088\u308a\u3082\u4f7f\u3044\u52dd\u624b\u306e\u5411\u4e0a\u3092\u76ee\u6307\u3059\u3068\u3044\u3046\u65b9\u5411\u6027\u3060\uff0e<\/p>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/APU2C4-Media-Network.png\" alt=\"APU2C4 Media Network Router\" width=\"663\" height=\"504\" class=\"size-full wp-image-6644\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/APU2C4-Media-Network.png 663w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/APU2C4-Media-Network-320x243.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/APU2C4-Media-Network-640x487.png 640w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/> \r\n<br>\r\n<span>\u4eca\u56de\u306eNAPT\u6a5f\u80fd\u306b\u3088\u308b\u30aa\u30fc\u30c7\u30a3\u30aa\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5229\u7528\u30a4\u30e1\u30fc\u30b8<\/span>\r\n<br>\r\n<\/div>\r\n<br>\r\n<p>\u666e\u901a\u306e\u5bb6\u5ead\u7528\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u306b\u306f\u3001DHCP\u30b5\u30fc\u30d0\u3001DNS\u30d7\u30ed\u30ad\u30b7\u6a5f\u80fd\u304c\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30e6\u30fc\u30b6\u306fIP\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u3084DNS\u306e\u8a2d\u5b9a\u306a\u3069\u3092\u610f\u8b58\u3059\u308b\u3053\u3068\u7121\u304f\u7c21\u5358\u306b\u4f7f\u3048\u308b\u306e\u3060\u304c\u3001\u4eca\u56de\u306f\u3067\u304d\u308b\u3060\u3051\u7c21\u5358\u306b\u3053\u308c\u3089\u306e\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\uff0eLinux OS \u306a\u306e\u3067DHCP\u30b5\u30fc\u30d0\u3068DNS\u30b5\u30fc\u30d0\u3092\u500b\u5225\u306b\u5b9f\u88c5\u3059\u308c\u3070\u826f\u3044\u3060\u3051\u306e\u8a71\u306a\u306e\u3060\u304c\u3001\u4eca\u56de\u306f\u3053\u308c\u3089\u306e\u6a5f\u80fd\u3092\u4e00\u4f53\u5316\u3057\u305f &#8220;dnsmasq&#8221; \u3068\u3044\u3046\u7c21\u6613\u578b\u306eDNS\u30d5\u30a9\u30ef\u30fc\u30c0\uff06DHCP\u30b5\u30fc\u30d0\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u6709\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u4f7f\u3063\u3066\u3053\u308c\u3089\u306e\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<p>&#8220;dnsmasq&#8221;\u306e\u5b9f\u88c5\u306f\u7c21\u5358\u3067\u3001&#8221;yum -y install dnsmasq&#8221; \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051\u3060\uff0e\u5f8c\u306f\u3001&#8221;\/etc\/hosts&#8221; \u306b\u95a2\u9023\u3059\u308b\u30db\u30b9\u30c8\u540d\u3068IP\u30a2\u30c9\u30ec\u30b9\u306e\u7d44\u307f\u3042\u308f\u305b\u3092\u8ffd\u8a18\u3057\u3001&#8221;dnsmasq&#8221;\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb &#8220;\/etc\/dnsmasq.conf&#8221; \u306b\u5fc5\u8981\u306a\u8a2d\u5b9a\u3092\u66f8\u304d\u8fbc\u3080\u3060\u3051\u3060\uff0e\u4f46\u3057\u3001&#8221;\/etc\/dnsmasq.conf&#8221;\u306e\u4e2d\u8eab\u304c\u81a8\u5927\uff08\u7d041000\u884c\uff09\u3067\u96d1\u7136\u3068\u3057\u3066\u3044\u3066\u3001\u5fc5\u8981\u306a\u8a2d\u5b9a\u9805\u76ee\u3092\u63a2\u3057\u51fa\u3059\u306e\u304c\u5927\u5909\u3060\uff0e<\/p>\r\n<br>\r\n<p>\u4eca\u56de\u3001&#8221;\/etc\/dnsmasq.conf&#8221;\u306b\u8a2d\u5b9a\u3057\u305f\u9805\u76ee\u3068\u3057\u3066\u3001<br>\r\n\u3000no-dhcp-interface=eth0    \uff08115\u884c\u76ee\u3042\u305f\u308a\uff09<br>\r\n\u3000domain=openhome.home.yoko,192.168.20.0\/24  \uff08144\u884c\u76ee\u3042\u305f\u308a\uff09<br>\r\n\u3000dhcp-range=192.168.20.101,192.168.20.150,255.255.255.0,12h  \uff08157\u884c\u76ee\u3042\u305f\u308a\uff09<br>\r\n\u3000dhcp-option=option:router,192.168.20.254  \uff08339\u884c\u76ee\u3042\u305f\u308a\uff09<br>\r\n\u3000dhcp-option=option:netmask,255.255.255.0  (\u8ffd\u52a0\uff09<br>\r\n\u3000dhcp-option=option:ntp-server,133.243.238.243,133.243.238.163 \uff08343\u884c\u76ee\u3042\u305f\u308a\uff09<br>\r\n<br>\r\n\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\uff0e&#8221;no-dhcp-interface&#8221; \u306fDHCP\u30b5\u30fc\u30d0\u6a5f\u80fd\u3092\u9664\u5916\u3059\u308b\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u6307\u5b9a\u3067\u3001LAN\u5074(&#8220;eth0&#8221;)\u3092\u9664\u5916\u3057\u3066\u3044\u308b\uff0e\u3053\u308c\u306f\u3001\u65e2\u306b\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u5074\u3067DHCP\u30b5\u30fc\u30d0\u6a5f\u80fd\u304c\u50cd\u3044\u3066\u3044\u308b\u306e\u3067\u3001DHCP\u30b5\u30fc\u30d3\u30b9\u306e\u5bfe\u8c61\u304b\u3089\u9664\u5916\u3057\u3066\u3044\u308b\uff0e\u539f\u5247\u3068\u3057\u3066\u3001DHCP\u30b5\u30fc\u30d0\u306f\u540c\u3058LAN\u30bb\u30b0\u30e1\u30f3\u30c8\u5185\u306b1\u3064\u3057\u304b\u7f6e\u3044\u3066\u306f\u3044\u3051\u306a\u3044\u304b\u3089\u3060\uff0e\u9664\u5916\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u3001LAN\u5074\u306e\u6a5f\u5668\u304c\u6df7\u4e71\u3057\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u5927\u6df7\u4e71\u3068\u306a\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\uff0e\u3053\u308c\u3089\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u81ea\u5206\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5408\u308f\u305b\u3066\u9069\u5b9c\u5909\u66f4\u3059\u308c\u3070\u826f\u3044\u3060\u308d\u3046\uff0e<\/p>\r\n<br>\r\n<p>&#8220;dnsmasq&#8221;\u304c\u4fbf\u5229\u306a\u306e\u306f\u3001\u30db\u30b9\u30c8\u5074(APU2C4\u306eCentOS7\uff09\u306e&#8221;\/etc\/resolv.conf&#8221;\u60c5\u5831\u3092\u53c2\u7167\u3057\u3066\u3001\u4e0a\u4f4d\u5074\uff08\u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\uff09\u306bDNS\u30af\u30a8\u30ea\u30fc\u3092\u9001\u3063\u3066\u304f\u308c\u308b\u6a5f\u80fd\uff08DNS\u30d7\u30ed\u30ad\u30b7\uff09\u3092\u7c21\u5358\u306b\u5b9f\u88c5\u3057\u3066\u304f\u308c\u308b\uff0e\u4eca\u56de\u306f\u3001LAN\u5074(&#8220;eth0&#8221;)\u306eDHCP\u306b\u3088\u308b\u8a2d\u5b9a\u3067\u5f97\u3089\u308c\u305f\u4e0a\u4f4d\uff08\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\uff09\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308bDNS\u30b5\u30fc\u30d0\u60c5\u5831\u304c\u3001\u305d\u306e\u307e\u307e&#8221;dnsmasq&#8221;\u306eDNS\u30d5\u30a9\u30ef\u30fc\u30c0\u306b\u5f15\u304d\u7d99\u304c\u308c\u308b\u3053\u3068\u306b\u306a\u308b\uff0e\u3053\u306e\u5834\u5408\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u914d\u4e0b\u306b\u7f6e\u304b\u308c\u305fDHCP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u306f\u3001&#8221;eth2&#8243;\u306eIP\u30a2\u30c9\u30ec\u30b9\u304c\u305d\u306e\u307e\u307eDNS\u30b5\u30fc\u30d0\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u306a\u308b\uff0e\u52ff\u8ad6\u3001DNS\u60c5\u5831\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u304cDHCP\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308c\u3070\u3001\u81ea\u52d5\u3067\u8a2d\u5b9a\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001\u30e6\u30fc\u30b6\u306f\u4f55\u3082\u610f\u8b58\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\n[root@jukebox2 network-scripts]# yum -y install bind-utils\u3000\u3000\uff1c\uff1d\uff1d\u3000DNS\u95a2\u9023\u306e\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.jaist.ac.jp\r\n * epel: mirror.dmmlabs.jp\r\n * extras: ftp.jaist.ac.jp\r\n * updates: ftp.jaist.ac.jp\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package bind-utils.x86_64 32:9.9.4-61.el7 will be installed\r\n--> Processing Dependency: bind-libs = 32:9.9.4-61.el7 for package: 32:bind-utils-9.9.4-61.el7.x86_64\r\n\r\n\u3000\u9014\u4e2d\u7701\u7565\r\n\r\nInstalled:\r\n  bind-utils.x86_64 32:9.9.4-61.el7                                                                                                                 \r\nDependency Installed:\r\n  bind-libs.x86_64 32:9.9.4-61.el7                                                                                                                  \r\n\r\nComplete!\r\n\r\n[root@jukebox2 network-scripts]# cat \/etc\/resolv.conf\u3000\u3000\uff1c\uff1d\uff1d\u3000\u540d\u524d\u89e3\u6c7a\u306e\u8a2d\u5b9a\u72b6\u6cc1\u3092\u78ba\u8a8d\r\n# Generated by NetworkManager\r\nsearch home.yoko\r\nnameserver 192.168.100.11\r\nnameserver 192.168.100.20\r\nnameserver 2404:1a8:7f01:a::3\r\n# NOTE: the libc resolver may not support more than 3 nameservers.\r\n# The nameservers listed below may not be recognized.\r\nnameserver 2404:1a8:7f01:b::3\r\n\r\n[root@jukebox2 network-scripts]# yum install dnsmasq\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.riken.jp\r\n * epel: ftp.riken.jp\r\n * extras: ftp.riken.jp\r\n * updates: ftp.riken.jp\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package dnsmasq.x86_64 0:2.76-5.el7 will be installed\r\n--> Finished Dependency Resolution\r\n\r\n\u3000\u9014\u4e2d\u7701\u7565\r\n\r\nTransaction test succeeded\r\nRunning transaction\r\n  Installing : dnsmasq-2.76-5.el7.x86_64                                                                                                        1\/1 \r\n  Verifying  : dnsmasq-2.76-5.el7.x86_64                                                                                                        1\/1 \r\n\r\nInstalled:\r\n  dnsmasq.x86_64 0:2.76-5.el7                                                                                                                       \r\n\r\nComplete!\r\n[root@jukebox2 network-scripts]# \r\n[root@jukebox2 network-scripts]# vi \/etc\/hosts\u3000\u3000\uff1c\uff1d\uff1d\u3000\"\/etc\/hosts\" \u306b\u5fc5\u8981\u306a\u9805\u76ee\u3092\u8ffd\u52a0\r\n\r\n\u3000\uff0e\uff0e\uff0e\r\n\u3000\r\n[root@jukebox2 network-scripts]# cat \/etc\/hosts\r\n127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4\r\n::1         localhost localhost.localdomain localhost6 localhost6.localdomain6\r\n192.168.10.254 mpd-gw\r\n192.168.20.254 openhome-gw\r\n\r\n[root@jukebox2 network-scripts]# \r\n\r\n[root@djukebox2]# vi \/etc\/dnsmasq.conf   \uff1c\uff1d\uff1d\u3000\"\/etc\/dnsmasq.conf\" \u306b\u5fc5\u8981\u306a\u9805\u76ee\u3092\u8a2d\u5b9a\r\n\u3000\r\n\u3000\uff0e\uff0e\uff0e\r\n\u3000\r\n[root@jukebox2]# systemctl start dnsmasq\r\n[root@jukebox2 ]# systemctl enable dnsmasq\r\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/dnsmasq.service to \/usr\/lib\/systemd\/system\/dnsmasq.service.\r\n[root@jukebox2]# \r\n\r\n[root@jukebox2]# systemctl status dnsmasq   \uff1c\uff1d\uff1d\u3000\"dnsmasq\" \u306e\u7a3c\u50cd\u72b6\u6cc1\u3092\u78ba\u8a8d\r\n\u25cf dnsmasq.service - DNS caching server.\r\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/dnsmasq.service; enabled; vendor preset: disabled)\r\n   Active: active (running) since Sat 2018-08-25 21:09:52 JST; 13h ago\r\n Main PID: 1205 (dnsmasq)\r\n   CGroup: \/system.slice\/dnsmasq.service\r\n           \u2514\u25001205 \/usr\/sbin\/dnsmasq -k\r\n\r\nAug 25 21:09:52 jukebox2 dnsmasq[1205]: using nameserver 2404:1a8:7f01:b::3#53\r\nAug 25 21:09:52 jukebox2 dnsmasq[1205]: read \/etc\/hosts - 4 addresses\r\nAug 25 21:09:55 jukebox2 dnsmasq-dhcp[1205]: DHCPDISCOVER(eth2) 00:16:cb:8f:24:6c\r\nAug 25 21:09:55 jukebox2 dnsmasq-dhcp[1205]: DHCPOFFER(eth2) 192.168.20.115 00:16:cb:8f:24:6c\r\nAug 25 21:09:56 jukebox2 dnsmasq-dhcp[1205]: DHCPREQUEST(eth2) 192.168.20.115 00:16:cb:8f:24:6c\r\nAug 25 21:09:56 jukebox2 dnsmasq-dhcp[1205]: DHCPACK(eth2) 192.168.20.115 00:16:cb:8f:24:6c MB13W\r\nAug 26 07:46:46 jukebox2 dnsmasq-dhcp[1205]: DHCP packet received on eth2 which has no address\r\nAug 26 07:46:47 jukebox2 dnsmasq-dhcp[1205]: DHCPREQUEST(eth2) 192.168.20.115 00:16:cb:8f:24:6c\r\nAug 26 07:46:47 jukebox2 dnsmasq-dhcp[1205]: DHCPACK(eth2) 192.168.20.115 00:16:cb:8f:24:6c MB13W\r\nAug 26 07:52:49 jukebox2 dnsmasq-dhcp[1205]: DHCPRELEASE(eth2) 192.168.20.115 00:16:cb:8f:24:6c\r\n[root@jukebox2 network-scripts]# \r\n<\/code><\/pre>\r\n<br>\r\n<p>\u524d\u56de\u306eNAT\u3068\u4eca\u56de\u306eNAPT\u306b\u3088\u308b\u30aa\u30fc\u30c7\u30a3\u30aa\u5c02\u7528\u30eb\u30fc\u30bf\u306e\u4f5c\u6210\u306b\u3064\u3044\u3066\u8981\u70b9\u304c\u7406\u89e3\u3067\u304d\u305f\u3067\u3042\u308d\u3046\u304b\uff0eLinux OS \u306e\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u6a5f\u80fd\u3092\u99c6\u4f7f\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u3001\u591a\u5c11Linux\u3092\u5f04\u3063\u305f\u7a0b\u5ea6\u306e\u77e5\u8b58\u3067\u306f\u3001\u592a\u5200\u6253\u3061\u3067\u304d\u306a\u304b\u3063\u305f\u3068\u601d\u3046\uff0e\u3053\u306e\u8fba\u306f\u65e5\u9803Linux\u3092\u6271\u3063\u3066\u3044\u308b\u5c02\u9580\u306eIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3082\u56f0\u96e3\u3092\u6975\u3081\u308b\u7b87\u6240\u306a\u306e\u3067\u3001\u5185\u5bb9\u304c\u308f\u304b\u3089\u306a\u304f\u3066\u3082\u3042\u307e\u308a\u6c17\u306b\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\uff0e\u4eca\u56de\u306e\u5185\u5bb9\u3092\u304d\u3061\u3093\u3068\u7406\u89e3\u3067\u304d\u308b\u4eba\u306f\u5c02\u9580\u306eIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3060\u3051\u304b\u3082\u3057\u308c\u306a\u3044\uff0e\uff0e\uff0e\uff0e<\/p>\r\n<br>\r\n<p>\u6b21\u56de\u306f\u3001\u97f3\u8cea\u7684\u306a\u9762\u3067\u306f\u6709\u5229\u306ampd\u3092\u3001UPnP\/OpenHome\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u4f7f\u3063\u3066\u5e02\u8ca9\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30ec\u30a4\u30e4\u30fc\u7684\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u4ed5\u7d44\u307f\u3092\u3001\u4eca\u56de\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u7528\u30eb\u30fc\u30bf\u306b\u5c0e\u5165\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3059\u308b\u3053\u3068\u306b\u3059\u308b\uff0e\u3053\u308c\u306b\u3088\u308a\u3001&#8221;Kazoo&#8221;\u3084&#8221;ifidata&#8221;\u306a\u3069\u306e\u30dd\u30d4\u30e5\u30e9\u30fc\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30aa\u30fc\u30c7\u30a3\u30aa\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u901a\u3058\u3066mpd\u30d7\u30ec\u30a4\u30e4\u30fc\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u308a\u3001\u4f7f\u3044\u52dd\u624b\u304c\u5411\u4e0a\u3059\u308b\uff0e<p>\r\n<br>\r\n<hr \/>\r\n<h4>\u5b9f\u9a13\u541b(NAT\u7de8\uff09<\/h4>\r\n<br>\r\n<p>\u5148\u305a\u306f\u3001\u5bb6\u5ead\u5185LAN\u4e0a\u306eiMac\u304b\u3089NAT\u30eb\u30fc\u30bf\u914d\u4e0b\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u306b\u7f6e\u304b\u308c\u305fMPD\u30d7\u30ec\u30a4\u30e4\u30fc(lightMPD)\u306b\u5bfe\u3057\u3066\u304d\u3061\u3093\u3068\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u78ba\u304b\u3081\u3066\u307f\u3088\u3046\uff0elightMPD\u306e\u8a2d\u5b9a\u3092\u4eca\u56de\u306eNAT\u5909\u63db\u306e\u4ed5\u69d8\u306b\u5408\u308f\u305b\u3066\u3001IP\u30a2\u30c9\u30ec\u30b9\u3092 192.168.10.101\uff08255.255.255.0\uff09\u306b\u8a2d\u5b9a\u3059\u308b\uff0egateway\u306f 192.168.10.254\u3001DNS\u30b5\u30fc\u30d0\u306fLAN\u5074\u306b\u7f6e\u304b\u308c\u305fDNS\u30b5\u30fc\u30d0 192.168.100.11 \u3068\u3057\u3066\u3044\u308b\uff0e&#8221;lightmpd.conf&#8221; \u306e\u5185\u5bb9\u3092\u4e0b\u8a18\u306b\u793a\u3059\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\n#\r\n[network]\r\n\tinterface=eth0\r\n\taddress=192.168.10.101\r\n\tnetmask=255.255.255.0\r\n\tgateway=192.168.10.254\r\n\tnameserver=192.168.100.11\r\n\tdomain=music.home.yoko\r\n\r\n[ntp]\r\n\tserver=ntp.nict.jp\r\n\tntpd=no\r\n\ttimezone=Asia\/Tokyo\r\n\r\n[nas:NASMusic]\r\n\ttype=nfs\r\n\thost=192.168.100.20\r\n\tremotedir=volume2\/NASData2T\r\n\tproto=tcp\r\n\trsize=65536\r\n\twsize=65536\r\n#\r\n#[nas:NASID2]\r\n#\ttype=cifs\r\n#\thost=nashost2\r\n#\tremotedir=audio_data\r\n#\tremoteuser=usrid\r\n#\tremotepass=passwd\r\n#\tiocharset=utf8\r\n#       file_mode=0644\r\n#       dir_mode=0755\r\n#       rsize=61440\r\n#       wsize=65536\r\n\r\n#[mpd]\r\n#\tload_module=mpd-0.19.14rt-native-dsd\r\n#\tdb_file=\/tmp\/tag_cache\r\n#\tsticker_file=\/tmp\/sticker.sql\r\n#\tlog_file=\/dev\/null\r\n\t\r\n[mpd]\r\n\tload_module=mpd-0.19.14rt-native-dsd\r\n\tmusic_directory=NASMusic\/Music\r\n\tplaylist_directory=NASMusic\/MPD\/mpd-cubox\/playlists\r\n\tdb_file=NASMusic\/MPD\/mpd-cubox\/tag_cache\r\n\tsticker_file=NASMusic\/MPD\/mpd-cubox\/sticker.sql\r\n#\tlog_file=NASMusic\/MPD\/mpd-cubox\/mpd.log\r\n\tlog_file=\/dev\/null\r\n\r\n[httpd]\r\n#  yes | no\r\n\tenable=yes\r\n\tport=80\r\n\r\n[ympd]\r\n#  yes | no\r\n\tenable=yes\r\n\twebport=8080\r\n\tmpdport=6600\r\n\r\n[telnetd]\r\n#  yes | no\r\n\tenable=yes\r\n\tport=23\r\n\r\n[webconsole]\r\n#  yes | no\r\n#  start page:   http:\/\/thishost:${port}\/index.html\r\n\tenable=yes\r\n\tport=9000\r\n\r\n[cpuaffinity]\r\n#  0   normal\r\n#  1   cpu1:    usb irq handler\r\n#  2   cpu1:    usb irq hadnler\r\n#      cpu2:    mpd\r\n\ttype=2\r\n\r\n\r\n[irqpriority]\r\n#       upper usb port (default)\r\n#\t2184000.usb=FIFO:99\r\n#\tlower usb port\r\n#\t2184200.usb=FIFO:99\r\n\r\n\r\n[debug]\r\n\tinterfaces=yes\r\n\tresolvconf=yes\r\n\tntpd=yes\r\n\tntpconf=yes\r\n\tifconfig=yes\r\n\tcards=yes\r\n\tmounts=yes\r\n\tps=yes\r\n\tmpdversion=yes\r\n\tdate=yes\r\n\tntpq=yes\r\n\tmusic=no\r\n\tmessages=yes\r\n\tsave=no\r\n<\/code><\/pre>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/CantataMPD-NAT-Test.png\" alt=\"Cantata MPD-NAT Test\" width=\"670\" height=\"408\" class=\"size-full wp-image-6651\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/CantataMPD-NAT-Test.png 670w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/CantataMPD-NAT-Test-320x195.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/CantataMPD-NAT-Test-640x390.png 640w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/>\r\n<br>\r\n<span>iMac\u4e0a\u306eMPD\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff08Cantata\uff09\u3067\u554f\u984c\u7121\u304f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u4e8b\u3092\u78ba\u8a8d<\/span>\r\n<br>\r\n<\/div>\r\n<br>\r\n<p>\u3053\u306e\u5834\u5408\u306e\u3001MPD\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff08Cantata\uff09\u306e\u8a2d\u5b9a\u306f\u7c21\u5358\u3067\u3001MPD\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u63a5\u7d9a\u5148\u3092\u5358\u306bLAN\u5074\u306eNAT\u5909\u63db\u7528\u30a2\u30c9\u30ec\u30b9\u306b\u8a2d\u5b9a\u3059\u308c\u3070\u826f\u3044\uff0e\u52ff\u8ad6\u4f7f\u3044\u52dd\u624b\u306f\u3001MPD\u30d7\u30ec\u30a4\u30e4\u30fc\u304cLAN\u5074\u306b\u7f6e\u304b\u308c\u3066\u3044\u308b\u5834\u5408\u3068\u9055\u3044\u306f\u306a\u3044\uff0e\u3064\u3044\u3067\u306b\u3001\u4e16\u9593\u3067\u306f\u30dd\u30d4\u30e5\u30fc\u30e9\u30fc\u306aMPD\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3042\u308b\u3001&#8221;Volumio2&#8243; \u3067\u3082\u8a66\u3057\u3066\u307f\u3088\u3046\uff0e<\/p>\r\n<br>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioNATPlayback.png\" alt=\"Volumio2 NAT Playback\" width=\"660\" height=\"532\" class=\"size-full wp-image-6660\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioNATPlayback.png 660w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioNATPlayback-320x258.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioNATPlayback-640x516.png 640w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/> \r\n<br>\r\n<span>Volumio2\u306eWEB\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3082\u540c\u3058IP(192.168.100.51)\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3060<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioDirectAccess.png\" alt=\"Volumio Direct Access\" width=\"660\" height=\"551\" class=\"size-full wp-image-6662\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioDirectAccess.png 660w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioDirectAccess-320x267.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioDirectAccess-640x534.png 640w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/>\r\n<br>\r\n<span>\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u60c5\u5831\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308c\u3070\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u5b9fIP(192.168.10.101)\u3067\u3082\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3060<\/span>\r\n<br>\r\n<br>\r\n<\/div>\r\n<br>\r\n<p>\u4eca\u56de\u306eNAT\u306b\u3088\u308b\u30a2\u30af\u30bb\u30b9\u3067\u306f\u3001LAN\u5074\u306b\u4f5c\u6210\u3057\u305f\u7384\u95a2\u30dd\u30fc\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9\uff08192.168.100.51)\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u304c\u3001IP\u30eb\u30fc\u30bf\u3068\u3057\u3066\u3082\u6a5f\u80fd\u3057\u3066\u3044\u308b\u306e\u3067\u3001MPD\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u5b9fIP\u30a2\u30c9\u30ec\u30b9\uff08192.168.10.101\uff09\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3082\u7e4b\u3050\u3053\u3068\u306f\u53ef\u80fd\u3060\uff0e\u4f46\u3057\u3001MPD\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08192.168.10.0\/24)\u306b\u5bfe\u3059\u308b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30fc\u30d6\u30eb\u304c\u4e0a\u4f4d\u306e\u30eb\u30fc\u30bf\uff08\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\uff09\u3084iMac\u306a\u3069\u306eLAN\u5074\u306e\u6a5f\u5668\u306b\u6b63\u3057\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308c\u3070\u306e\u8a71\u3067\u3042\u308b\uff0e\u4eca\u56de\u306f\u3001APU2C4\u306eLAN\u5074\uff08&#8221;eth0&#8243;)\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u56fa\u5b9aIP\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u306a\u304f\u3001DHCP\u306b\u3088\u308b\u81ea\u52d5\u8a2d\u5b9a\u306b\u3057\u3066\u3042\u308b\u306e\u3067\u3001\u4e0a\u4f4d\u5074\u306e\u30eb\u30fc\u30bf\u306bMPD\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08192.168.10.0\/24)\u306b\u5bfe\u3059\u308b\u5b9b\u5148(Gateway)\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u306e\u306f\u73fe\u5b9f\u7684\u3067\u306f\u306a\u3044\uff0e<\/p>\r\n<br>\r\n<p>LAN\u5074\u306b\u4f5c\u6210\u3057\u305f\u7384\u95a2\u30dd\u30fc\u30c8\uff08192.168.100.51)\u306fAPU2C4\u306eLAN\u5074\uff08&#8221;eth0&#8243;)\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u4f9d\u5b58\u3057\u306a\u3044\u306e\u3067\u3001\u5e38\u306b\u56fa\u5b9a\u3055\u308c\u3066\u3044\u308b\u7384\u95a2\u30dd\u30fc\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070\u826f\u3044\uff0e<\/p>\r\n<br>\r\n<hr \/>\r\n<h4>\u5b9f\u9a13\u541b\uff08NAPT\u7de8\uff09<\/h4>\r\n<br>\r\n<p>NAT\u306e\u5834\u5408\u3068\u540c\u3058\u3088\u3046\u306b &#8220;Volumio2&#8221; \u3067\u5b9f\u9a13\u74b0\u5883\u3092\u4f5c\u308b\u304c\u3001&#8221;Volumio2&#8243;\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092 192.168.20.101 \u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304f\uff0eNAPT\u30dd\u30fc\u30c8(&#8220;eth2&#8221;)\u306e\u5148\u306b\u5bb6\u5ead\u7528\u306eL2SW\u3092\u63a5\u7d9a\u3057\u3001\u305d\u3053\u304b\u3089 &#8220;Volumio2&#8221; \u3068\u30c6\u30b9\u30c8\u7528\u306ePC(DHCP\u3067\u8a2d\u5b9a\uff09\u3092\u7e4b\u3044\u3067\u3044\u308b\uff0e<\/p>\r\n<br>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/PK51610.jpg\" alt=\"NAPT MPD Test\" width=\"640\" height=\"427\" class=\"size-full wp-image-6665\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/PK51610.jpg 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/PK51610-320x214.jpg 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/>\r\n<br>\r\n<span>NAPT\u74b0\u5883\u3067\u306eMPD\u30c6\u30b9\u30c8\u7528\u306bL2SW\u3092\u7e4b\u3044\u3067\u5b9f\u9a13<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/CantataNAPT-Test.png\" alt=\"Cantata NAPT Test\" width=\"660\" height=\"440\" class=\"size-full wp-image-6666\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/CantataNAPT-Test.png 660w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/CantataNAPT-Test-320x213.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/CantataNAPT-Test-640x427.png 640w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/>\r\n<br>\r\n<span>Cantata\u306e\u8a2d\u5b9a\u3067\u306f\u3001LAN\u5074(&#8220;eth0&#8221;)\u306e\u30dd\u30fc\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3059\u308b<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioWEBConsoleNAPT.png\" alt=\"Volumio WEB Console \" width=\"660\" height=\"440\" class=\"size-full wp-image-6670\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioWEBConsoleNAPT.png 660w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioWEBConsoleNAPT-320x213.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioWEBConsoleNAPT-640x427.png 640w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/> \r\n<br>\r\n<span>Volumio2\u306eWEB\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30af\u30bb\u30b9\u3082\u554f\u984c\u7121\u3044\u3088\u3046\u306b\u601d\u3048\u305f\u304c\uff0e\uff0e\uff0e<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioNAPTXHRError.png\" alt=\"Volumio NAPT XHR Error\" width=\"660\" height=\"419\" class=\"size-full wp-image-6669\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioNAPTXHRError.png 660w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioNAPTXHRError-320x203.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioNAPTXHRError-640x406.png 640w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/> \r\n<br>\r\n<span>LAN\u5074\u306eiMac\u304b\u3089Volumio2\u306eWEB\u30b3\u30f3\u30bd\u30fc\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306b\u554f\u984c\u767a\u751f<\/span>\r\n<br>\r\n<br>\r\n<\/div>\r\n<p>LAN\u5074\u306eiMac\u304b\u3089Volumio2\u306eWEB\u30b3\u30f3\u30bd\u30fc\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u539f\u56e0\u3067\u3042\u308b\u304c\u3001WEB\u30d6\u30e9\u30a6\u30b6\u306eDeveloper\u30c4\u30fc\u30eb\u3067\u3001\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066\u3044\u308b\u7b87\u6240\u3092\u63a2\u3057\u305f\u7d50\u679c\u3001AJAX\u306e\u51e6\u7406\u90e8\u5206(XHR)\u304c\u6a5f\u80fd\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u305f\uff0eAJAX\u901a\u4fe1\u304c\u884c\u308f\u308c\u3066\u3044\u306a\u3044\u306e\u3060\uff0e\u3053\u306e\u539f\u56e0\u306f\u7c21\u5358\u3067\u3001LAN\u5074\u306eiMac\u306eWEB\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u5b9f\u884c\u3055\u308c\u308b AJAX Java\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3001Volumio2\u30b5\u30fc\u30d0\u3068AJAX\u3067\u901a\u4fe1\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\u304c\u3001\u305d\u306e\u5b9b\u5148IP\u30a2\u30c9\u30ec\u30b9\u304cVolumio2\u30b5\u30fc\u30d0\u306e\u5b9f\u30a2\u30c9\u30ec\u30b9(192.168.20.101\uff09\u3068\u306a\u3063\u3066\u3044\u308b\u70ba\u3067\u3042\u308b\uff0eiMac\u5074\u304cVolumio2\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08192.168.20.0\/24\uff09\u306b\u95a2\u3059\u308b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u60c5\u5831\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u30c7\u30d5\u30a9\u30eb\u30fc\u30c8\u30eb\u30fc\u30c8\u306b\u5411\u3051\u3089\u308c\u305f\u304c\u3001\u4e0a\u4f4d\u306e\u30eb\u30fc\u30bf\uff08NEC IX2215\uff09\u306b\u3082Volumio2\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08192.168.20.0\/24\uff09\u306b\u95a2\u3059\u308b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u60c5\u5831\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u304b\u3089\u3060\uff0e<\/p>\r\n<br>\r\n<p>\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u4e00\u756a\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001\u4e0a\u4f4d\u306e\u30eb\u30fc\u30bf\uff08NEC IX2215\uff09\u306bVolumio2\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08192.168.20.0\/24\uff09\u306b\u95a2\u3059\u308b\u5b9b\u5148\u3092\u767b\u9332\u3059\u308c\u3070\u826f\u3044\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\nix2215(config)# show run\r\n! NEC Portable Internetwork Core Operating System Software\r\n! IX Series IX2215 (magellan-sec) Software, Version 9.5.11, RELEASE SOFTWARE\r\n! Compiled Mar 10-Fri-2017 19:04:04 JST #2\r\n! Current time Aug 27-Mon-2018 00:59:24 JST\r\n!\r\nhostname ix2215\r\ntimezone +09 00\r\n!\r\nntp server 133.243.238.164\r\nntp server 2001:3a0:0:2006::87:123\r\nntp server 2001:3a0:0:2001::27:123\r\nntp interval 3600\r\n!\r\nip ufs-cache enable\r\nip route default Tunnel0.0\r\nip route 10.11.12.0\/24 192.168.100.1\r\nip route 192.168.10.0\/24 192.168.100.167\r\n!\r\n!\r\nipv6 ufs-cache enable\r\nipv6 dhcp duid-list duid-ll-ge0 00:03:00:01:00:60:b9:e3:db:fe\r\nipv6 dhcp duid-list duid-ll-ge1 00:03:00:01:00:0d:5e:c4:c3:4c\r\nipv6 dhcp enable\r\n\r\n\u3000\uff0e\uff0e\uff0e\r\n\r\nix2215(config)# ip route 192.168.20.0\/24  192.168.100.167\u3000\uff1c\uff1d\uff1d NAPT\u5074\u3078\u306e\u9759\u7684\u7d4c\u8def\u3092\u8ffd\u52a0\r\nix2215(config)# show run\r\n! NEC Portable Internetwork Core Operating System Software\r\n! IX Series IX2215 (magellan-sec) Software, Version 9.5.11, RELEASE SOFTWARE\r\n! Compiled Mar 10-Fri-2017 19:04:04 JST #2\r\n! Current time Aug 27-Mon-2018 02:06:48 JST\r\n!\r\n!\r\nhostname ix2215\r\ntimezone +09 00\r\n!\r\n\r\nntp server 133.243.238.164\r\nntp server 2001:3a0:0:2006::87:123\r\nntp server 2001:3a0:0:2001::27:123\r\nntp interval 3600\r\n\r\n!\r\nip ufs-cache enable\r\nip route default Tunnel0.0\r\nip route 10.11.12.0\/24 192.168.100.1\r\nip route 192.168.10.0\/24 192.168.100.167\r\nip route 192.168.20.0\/24 192.168.100.167\r\n!\r\n!\r\nipv6 ufs-cache enable\r\nipv6 dhcp duid-list duid-ll-ge0 00:03:00:01:00:60:b9:e3:db:fe\r\nipv6 dhcp duid-list duid-ll-ge1 00:03:00:01:00:0d:5e:c4:c3:4c\r\nipv6 dhcp enable\r\n<\/code><\/pre>\r\n<br>\r\n <br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioConsoleOniMac.png\" alt=\"Volumio WEB Console On iMac\" width=\"660\" height=\"584\" class=\"size-full wp-image-6672\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioConsoleOniMac.png 660w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioConsoleOniMac-320x283.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2018\/08\/VolumioConsoleOniMac-640x566.png 640w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/> \r\n<br>\r\n<span>\u4eca\u5ea6\u306f\u7121\u4e8biMac\u306eWEB\u30d6\u30e9\u30a6\u30b6\u304b\u3089Volumio2\u306eWEB\u30b3\u30f3\u30bd\u30fc\u30eb\u3078\u30a2\u30af\u30bb\u30b9\u3067\u304d\u305f<\/span>\r\n<br>\r\n<\/div>\r\n  ","protected":false},"excerpt":{"rendered":"\u524d\u56de\u306eNAT\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u5f15\u304d\u7d9a\u304d\u3001NAPT(IP\u30de\u30b9\u30ab\u30ec\u30fc\u30c9\uff09\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u30aa\u30fc\u30c7\u30a3\u30aa\u5c02\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u69cb\u7bc9\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\uff0e","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[713],"tags":[816,820],"class_list":["post-6627","post","type-post","status-publish","format-standard","hentry","category-digital-audio","tag-napt","tag-820"],"_links":{"self":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/6627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/comments?post=6627"}],"version-history":[{"count":2,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/6627\/revisions"}],"predecessor-version":[{"id":6755,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/6627\/revisions\/6755"}],"wp:attachment":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/media?parent=6627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/categories?post=6627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/tags?post=6627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}