NVR510でSMARTTALK+IPOE6(MAP-E)+光電話を使う設定

NVR510でSMARTTALK+IPOE6(MAP-E)+光電話を使う設定

やっと我が家も光回線になった。
今まではADSLで頑張ってましたが、コロナ影響で光環境が必要となったので、PLALA(OCN系)を導入

申込時に、ルータの希望をしたいと伝えても、それはできないとの一点張りでした。
しかし、光電話を入れると伝えてのが功をこうしたのか RX-600KIを工事業者が設置していきました。
事前に準備していたNVR510をセットアップしていきます。
まずは、小型ONUを引き抜きます。爪を立てて、小型ONUをもって引き抜きます。(慎重に..)
そして、NVR510に小型ONUを差し込みます。
後は、GUIによる設定を行うのですが、私はコマンド派なので、下記の設定で稼働しています。色付きの部分は各自で変更してください

**PLALA-ID** … プロバイダ接続情報のID
**PLALA-PASS** … プロバイダ接続情報のパスワード
***FUSION-IP-NO*** … FUSION SMARTALKの電話番号 050部分は除く
***NTT-TEL-NO*** … 光電話番号
 
下記の部分はNTTのエリアによって異なるかもしれません。NTT以外のIP着信をブロックするフィルターです。もし情報がありましたコメントください。
83行目 ip filter 200100 pass 118.177.0.0/16 192.168.0.1 tcp * 5060
84行目 ip filter 200101 pass 118.177.0.0/16 192.168.0.1 udp * 5060
 
 
user attribute connection=serial,telnet,remote,ssh,sftp,http gui-page=dashboard,lan-map,config login-timer=300
ip route default gateway pp 1 filter 500001 500003 gateway tunnel 1 hide
ip route 61.213.230.153 gateway pp 1
ipv6 route default gateway dhcp onu1
ipv6 prefix 1 dhcp-prefix@onu1::/64
ip lan1 address 192.168.0.1/24
ip lan1 secure filter in 100000 100001 100002 100003 100004 100005 100006 100007 100099
ipv6 lan1 address dhcp-prefix@onu1::1/64
ipv6 lan1 rtadv send 1 o_flag=on
ipv6 lan1 dhcp service server
switch control use lan1 on
description onu1 OCN_PLALA_IPV6
ip onu1 address dhcp
ipv6 onu1 address dhcp
ipv6 onu1 secure filter in 102000 102001 102002 102003
ipv6 onu1 secure filter out 102099 dynamic 102080 102081 102082 102083 102084 102085 102098 102099
ipv6 onu1 dhcp service client
ngn type onu1 ntt
pp select 1
description pp OCN_PLALA_IPV4_PPOE
pp keepalive interval 30 retry-interval=30 count=12
pp always-on on
pppoe use onu1
pppoe auto disconnect off
pp auth accept pap chap
pp auth myname **PLALAID**@plala.or.jp **PLALA-PASS**
ppp lcp mru on 1454
ppp ipcp ipaddress on
ppp ipcp msext on
ppp ccp type none
ip pp secure filter in 200003 200020 200021 200022 200023 200024 200025 200030 200032 200100 200101 200105 200106 200102
ip pp secure filter out 200013 200020 200021 200022 200023 200024 200025 200026 200027 200099 dynamic 200080 200081 200082 200083 200084 200085 200098 200099
ip pp nat descriptor 1000
pp enable 1
tunnel select 1
tunnel encapsulation map-e
tunnel map-e type ocn
ip tunnel mtu 1460
ip tunnel secure filter in 400003 400020 400021 400022 400023 400024 400025 400030 400032
ip tunnel secure filter out 400013 400020 400021 400022 400023 400024 400025 400026 400027 400099 dynamic 400080 400081 400082 400083 400084 400085 400098 400099
ip tunnel nat descriptor 20000
tunnel enable 1
ip filter 100000 reject-nolog * * udp,tcp 135 *
ip filter 100001 reject-nolog * * udp,tcp * 135
ip filter 100002 reject-nolog * * udp,tcp netbios_ns-netbios_dgm *
ip filter 100003 reject-nolog * * udp,tcp * netbios_ns-netbios_dgm
ip filter 100004 reject-nolog * * udp,tcp netbios_ssn *
ip filter 100005 reject-nolog * * udp,tcp * netbios_ssn
ip filter 100006 reject * * udp,tcp 445 *
ip filter 100007 reject * * udp,tcp * 445
ip filter 100099 pass * * * * *
ip filter 102099 pass * 192.168.0.1 tcp * 5060
ip filter 102100 pass * 192.168.0.1 udp * 5060
ip filter 102101 pass * 192.168.0.1 udp * 5004-5035
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.0.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.0.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.0.0/24 icmp * *
ip filter 200031 pass * 192.168.0.0/24 established * *
ip filter 200032 pass * 192.168.0.0/24 tcp * ident
ip filter 200033 pass * 192.168.0.0/24 tcp ftpdata *
ip filter 200034 pass * 192.168.0.0/24 tcp,udp * domain
ip filter 200035 pass * 192.168.0.0/24 udp domain *
ip filter 200036 pass * 192.168.0.0/24 udp * ntp
ip filter 200037 pass * 192.168.0.0/24 udp ntp *
ip filter 200039 reject-nolog * * * * *
ip filter 200045 reject-nolog * * established
ip filter 200050 pass * 61.213.230.153 * * *
ip filter 200099 pass * * * * *
ip filter 200100 pass 118.177.0.0/16 192.168.0.1 tcp * 5060
ip filter 200101 pass 118.177.0.0/16 192.168.0.1 udp * 5060
ip filter 200102 pass * * udp * 5004-5035
ip filter 200105 pass 61.213.230.153 192.168.0.0/24 tcp * 5060
ip filter 200106 pass 61.213.230.153/32 192.168.0.0/24 udp * 5060
ip filter 200107 pass-log * * udp * 5060
ip filter 400000 reject 10.0.0.0/8 * * * *
ip filter 400001 reject 172.16.0.0/12 * * * *
ip filter 400002 reject 192.168.0.0/16 * * * *
ip filter 400003 reject 192.168.0.0/24 * * * *
ip filter 400010 reject * 10.0.0.0/8 * * *
ip filter 400011 reject * 172.16.0.0/12 * * *
ip filter 400012 reject * 192.168.0.0/16 * * *
ip filter 400013 reject * 192.168.0.0/24 * * *
ip filter 400020 reject * * udp,tcp 135 *
ip filter 400021 reject * * udp,tcp * 135
ip filter 400022 reject * * udp,tcp netbios_ns-netbios_ssn *
ip filter 400023 reject * * udp,tcp * netbios_ns-netbios_ssn
ip filter 400024 reject * * udp,tcp 445 *
ip filter 400025 reject * * udp,tcp * 445
ip filter 400026 restrict * * tcpfin * www,21,nntp
ip filter 400027 restrict * * tcprst * www,21,nntp
ip filter 400030 pass * 192.168.0.0/24 icmp * *
ip filter 400031 pass * 192.168.0.0/24 established * *
ip filter 400032 pass * 192.168.0.0/24 tcp * ident
ip filter 400033 pass * 192.168.0.0/24 tcp ftpdata *
ip filter 400034 pass * 192.168.0.0/24 tcp,udp * domain
ip filter 400035 pass * 192.168.0.0/24 udp domain *
ip filter 400036 pass * 192.168.0.0/24 udp * ntp
ip filter 400037 pass * 192.168.0.0/24 udp ntp *
ip filter 400099 pass * * * * *
ip filter 500000 restrict * * * * *
ip filter 500001 pass 192.168.0.18 * * * *
ip filter 500002 pass-log * * * * domain
ip filter 500003 pass-log * 61.213.230.153/32 * * *
ip filter 500004 pass-log * 121.119.254.208 * * *
ip filter 500005 pass-log * * * * *
ip filter 500010 reject * * * * *
ip filter dynamic 200080 * * ftp
ip filter dynamic 200081 * * domain syslog=off
ip filter dynamic 200082 * * www syslog=off
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 syslog=off
ip filter dynamic 400080 * * ftp
ip filter dynamic 400081 * * domain
ip filter dynamic 400082 * * www
ip filter dynamic 400083 * * smtp
ip filter dynamic 400084 * * pop3
ip filter dynamic 400085 * * submission
ip filter dynamic 400098 * * tcp
ip filter dynamic 400099 * * udp
nat descriptor type 1000 masquerade
nat descriptor masquerade static 1000 1 192.168.0.1 tcp 5060
nat descriptor masquerade static 1000 2 192.168.0.1 udp 5060
nat descriptor masquerade static 1000 3 192.168.0.1 udp 5004-5035
nat descriptor type 1200 masquerade
nat descriptor address outer 1200 map-e
nat descriptor type 20000 masquerade
nat descriptor address outer 20000 map-e
ipv6 filter 102000 pass * * icmp6 * *
ipv6 filter 102001 pass * * tcp * ident
ipv6 filter 102002 pass * * udp * 546
ipv6 filter 102003 pass * * 4 * *
ipv6 filter 102099 pass * * * * *
ipv6 filter 200039 reject * *
ipv6 filter dynamic 102080 * * ftp
ipv6 filter dynamic 102081 * * domain
ipv6 filter dynamic 102082 * * www
ipv6 filter dynamic 102083 * * smtp
ipv6 filter dynamic 102084 * * pop3
ipv6 filter dynamic 102085 * * submission
ipv6 filter dynamic 102098 * * tcp
ipv6 filter dynamic 102099 * * udp
queue class filter 1 4 ip * * tcp,udp * 5060
queue class filter 2 4 ip * * udp * 5004-5035
syslog notice on
syslog debug on
telnetd host lan1
dhcp service server
dhcp server rfc2131 compliant except remain-silent
dhcp scope 1 192.168.0.2-192.168.0.64/24 expire 8:00 maxexpire 8:00
dhcp scope option 1 router=192.168.0.1 dns=192.168.0.1
dhcp client release linkdown on
dns host lan1
dns service recursive
dns service fallback on
dns cache use off
dns cache max entry 1024
dns server pp 1
dns server dhcp onu1
dns server select 100002 pp 1 a *.0038.net
dns server select 500000 dhcp onu1 any .
dns server select 500003 2001:4860:4860::8888 2606:4700:4700::1111 aaaa .
dns server select 500004 8.8.8.8 1.1.1.1 any .
dns private address spoof on
dns private name setup.netvolante.jp
schedule at 1 */* 00:00:00 * ntpdate ntp.nict.jp syslog
analog arrive number display 1 onanalog use 1 on
analog sip arrive permit 1 myname
analog sip call myname 1 sip:**NTT-TEL-NO**
analog sip call display name 1 **NTT-TEL-NO**
analog sip arrive myaddress 1 1 sip:**NTT-TEL-NO**
analog sip arrive myaddress 1 2 sip:**FUSION-IP-NO**
analog arrive number display 2 on
analog use 2 off
analog wait dial timer 2 3
analog sip arrive permit 2 off
analog sip call permit 2 off
analog supplementary-service pseudo call-waiting
analog extension emergency-call-dial type normal-number
analog extension dial prefix sip prefix="9#"
analog extension dial prefix port=1 sip server=1 prefix="5#"
analog extension dial prefix port=1 ngn onu1 prefix="0#"
analog extension dial prefix port=1 routing route-table=1 ngn lan2
analog extension dial prefix port=2 sip server=1 prefix="5#"
analog extension dial prefix port=2 ngn onu1 prefix="0#"
analog extension dial prefix port=2 routing route-table=1 ngn lan2
analog call route-table 1 name=FUSION 10 50 99 65535
analog call route 10 010* prohibit
analog call route 50 050* 050* server=1
analog call route 99 0990* prohibit
analog call route 65535 * ngn onu1
alarm entire off
sip use on
sip server 1 61.213.230.153 register udp sip:**FUSION-IP-NO**@smart.0038.net ***FUSION-IP-NO*** ***FUSION-PASS*** name=FUSION
sip server session timer 1 300 update=on refresher=uac
sip server display name 1 050**FUSION-IP-NO**
sip server register timer server=1 10 5
sip server dial number-only server=1 on
sip codec permit onu1 g711u
operation external-memory download permit off
external-memory syslog filename sd1:syslog.txt limit=20 backup=30
external-memory exec filename off
external-memory boot permit off
usbhost use off
statistics traffic on
statistics nat on
switch control mode off

 

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA