(掲載日:2021年12月09日)
#ルーター #オンライン資格確認
今回は「オンライン資格確認 医療機関等向けポータルサイト」の「医療機関・薬局への導入におけるオンライン資格確認等システムとの接続に係る ネットワーク連携のパターンの参考例」に掲載されている「レセプトコンピュータ等端末に資格確認端末の機能を搭載する場合の構成例」をご紹介いたします。
下図は「医療機関・薬局への導入におけるオンライン資格確認等システムとの接続に係る ネットワーク連携のパターンの参考例」の構成例をもとに、設定例にあわせてIPアドレスなどを追加し、書き直したものになります。今回は「ルーターを1台に統合する場合」の構成例になります。
<LAN分割>
lan1.1とlan1.2の2ポートがオンライン資格確認、lan1.3とlan1.4の2ポートが既存機器向けNWを想定
vlan port mapping lan1.1 vlan1 vlan port mapping lan1.2 vlan1 vlan port mapping lan1.3 vlan2 vlan port mapping lan1.4 vlan2 lan type lan1 port-based-option=divide-network
<IPv6 IPoE(オンライン資格確認向け)>
IPv6はvlan1を使用してください(vlan2以降ではIPv6を使用できません)
フレッツ 光ネクストでインターネット接続(IPv6 IPoE)を使用するには、どうすればよいですか?
# RAプロキシ ngn type lan2 ntt ipv6 prefix 1 ra-prefix@lan2::/64 ipv6 vlan1 address ra-prefix@lan2::1/64 ipv6 vlan1 rtadv send 1 o_flag=on ipv6 vlan1 dhcp service server ipv6 lan2 dhcp service client ir=on # DHCPv6-PD ngn type lan2 ntt ipv6 route default gateway dhcp lan2 ipv6 prefix 1 dhcp-prefix@lan2::/64 ipv6 vlan1 address dhcp-prefix@lan2::1/64 ipv6 vlan1 rtadv send 1 o_flag=on ipv6 vlan1 dhcp service server ipv6 lan2 address dhcp ipv6 lan2 dhcp service client
<IPv4(オンライン資格確認向け)>
ip vlan1 address 192.168.100.1/24
<IPv4(既存機器向けNW/PPPoE)>
ip route default gateway pp 1 ip vlan2 address 192.168.200.1/24 pp select 1 pp keepalive interval 30 retry-interval=30 count=12 pp always-on on pppoe use lan2 pppoe auto disconnect off pp auth accept pap chap pp auth myname XXXX XXXX ppp lcp mru on 1454 ppp ipcp ipaddress on ppp ipcp msext on ppp ccp type none ip pp nat descriptor 1000 pp enable 1 nat descriptor type 1000 masquerade
<IPv4 DHCP>
dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.100.2-192.168.100.191/24 dhcp scope 2 192.168.200.2-192.168.200.191/24
<IPv6/IPv4 DNS>
TCPフォールバック未対応により、edns=onは必須(対象DNSサーバはedns0に対応している模様)
# 共通 dns host vlan1 vlan2 dns service recursive dns service fallback on dns private address spoof on
# NTT東日本用 dns server select 1 2404:1a8:7f01:a::3 edns=on 2404:1a8:7f01:b::3 edns=on any flets-east.jp dns server select 10 2404:1a8:f583:d00::53:1 edns=on 2404:1a8:f583:d00::53:2 edns=on any base.oqs-pdl.org dns server select 11 2404:1a8:f583:d00::53:1 edns=on 2404:1a8:f583:d00::53:2 edns=on any onshikaku.org dns server select 12 2404:1a8:f583:d00::53:1 edns=on 2404:1a8:f583:d00::53:2 edns=on any lineauth.mnw dns server select 13 2404:1a8:f583:d00::53:1 edns=on 2404:1a8:f583:d00::53:2 edns=on any managedpki.ne.jp dns server select 14 2404:1a8:f583:d00::53:1 edns=on 2404:1a8:f583:d00::53:2 edns=on any cybertrust.ne.jp dns server select 15 2404:1a8:f583:d00::53:1 edns=on 2404:1a8:f583:d00::53:2 edns=on any secomtrust.net dns server select 99 pp 1 any .
# NTT西日本用 dns server select 1 2001:a7ff:5f01::a edns=on 2001:a7ff:5f01:1::a edns=on any flets-west.jp dns server select 10 2001:a7ff:f014:d00::53:1 edns=on 2001:a7ff:f014:d00::53:2 edns=on any base.oqs-pdl.org dns server select 11 2001:a7ff:f014:d00::53:1 edns=on 2001:a7ff:f014:d00::53:2 edns=on any onshikaku.org dns server select 12 2001:a7ff:f014:d00::53:1 edns=on 2001:a7ff:f014:d00::53:2 edns=on any lineauth.mnw dns server select 13 2001:a7ff:f014:d00::53:1 edns=on 2001:a7ff:f014:d00::53:2 edns=on any managedpki.ne.jp dns server select 14 2001:a7ff:f014:d00::53:1 edns=on 2001:a7ff:f014:d00::53:2 edns=on any cybertrust.ne.jp dns server select 15 2001:a7ff:f014:d00::53:1 edns=on 2001:a7ff:f014:d00::53:2 edns=on any secomtrust.net dns server select 99 pp 1 any .
<IPv6フィルター>
ipv6 lan2 secure filter in 100999 101000 101001 101002 ipv6 lan2 secure filter out 101099 dynamic 101098 101099 ipv6 filter 100999 reject * * icmp6 128 * ipv6 filter 101000 pass * * icmp6 * * ipv6 filter 101001 pass * * tcp * ident ipv6 filter 101002 pass * * udp * 546 ipv6 filter 101099 pass * * * * * ipv6 filter dynamic 101098 * * tcp ipv6 filter dynamic 101099 * * udp
<IPv4フィルター(vlan1)>
# 資格確認端末から既設NWへの通信を遮断する ip filter 100001 pass 192.168.200.0/24 192.168.100.0/24 * * ip filter 100002 pass * 192.168.100.1 * * ip filter 100003 pass * * udp dhcpc dhcps ip filter 100004 pass 192.168.100.1 192.168.100.0/24 udp dhcps dhcpc ip filter 100099 reject * * * ip filter dynamic 100051 192.168.200.0/24 192.168.100.0/24 tcp ip filter dynamic 100052 192.168.200.0/24 192.168.100.0/24 udp ip filter dynamic 100053 192.168.200.0/24 192.168.100.0/24 ping ip vlan1 secure filter in 100002 100003 100099 ip vlan1 secure filter out 100001 100004 dynamic 100051 100052 100053
<IPv4フィルター(PPPoE)>
pp select 1 ip pp secure filter in 200003 200020 200021 200022 200023 200024 200025 200030 200032 ip pp secure filter out 200013 200020 200021 200022 200023 200024 200025 200026 200027 200099 dynamic 200080 200081 200082 200083 200084 200085 200098 200099 pp enable 1 ip filter 200000 reject 10.0.0.0/8 * * * * ip filter 200001 reject 172.16.0.0/12 * * * * ip filter 200002 reject 192.168.0.0/16 * * * * ip filter 200003 reject 192.168.200.0/24 * * * * ip filter 200010 reject * 10.0.0.0/8 * * * ip filter 200011 reject * 172.16.0.0/12 * * * ip filter 200012 reject * 192.168.0.0/16 * * * ip filter 200013 reject * 192.168.200.0/24 * * * ip filter 200020 reject * * udp,tcp 135 * ip filter 200021 reject * * udp,tcp * 135 ip filter 200022 reject * * udp,tcp netbios_ns-netbios_ssn * ip filter 200023 reject * * udp,tcp * netbios_ns-netbios_ssn ip filter 200024 reject * * udp,tcp 445 * ip filter 200025 reject * * udp,tcp * 445 ip filter 200026 restrict * * tcpfin * www,21,nntp ip filter 200027 restrict * * tcprst * www,21,nntp ip filter 200030 pass * 192.168.200.0/24 icmp * * ip filter 200031 pass * 192.168.200.0/24 established * * ip filter 200032 pass * 192.168.200.0/24 tcp * ident ip filter 200033 pass * 192.168.200.0/24 tcp ftpdata * ip filter 200034 pass * 192.168.200.0/24 tcp,udp * domain ip filter 200035 pass * 192.168.200.0/24 udp domain * ip filter 200036 pass * 192.168.200.0/24 udp * ntp ip filter 200037 pass * 192.168.200.0/24 udp ntp * ip filter 200099 pass * * * * * ip filter 500000 restrict * * * * * ip filter dynamic 200080 * * ftp ip filter dynamic 200081 * * domain ip filter dynamic 200082 * * www ip filter dynamic 200083 * * smtp ip filter dynamic 200084 * * pop3 ip filter dynamic 200085 * * submission ip filter dynamic 200098 * * tcp ip filter dynamic 200099 * * udp
<その他>
telnetd service off schedule at 1 */* 00:00 * ntpdate ntp.base.oqs-pdl.org httpd host vlan1 statistics traffic on
ご相談・お問い合わせ