teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

IPアドレスの一部をマスクしました

2020/07/07 10:10

投稿

zingbay
zingbay

スコア1

title CHANGED
File without changes
body CHANGED
@@ -267,7 +267,7 @@
267
267
  # DNS configuration
268
268
  #
269
269
 
270
- dns server 219.163.64.18
270
+ dns server 219.163.0.0
271
271
  dns private address spoof on
272
272
 
273
273
  #

1

ソースコードを<CODE>タグ内に編集しました。また、クライアントの設定を追記しています。

2020/07/07 10:10

投稿

zingbay
zingbay

スコア1

title CHANGED
File without changes
body CHANGED
@@ -22,16 +22,19 @@
22
22
  ・こういった検証方法があるが、試したか?
23
23
  といったご回答を頂けると助かります。
24
24
 
25
+
25
26
  ご参考までに、ルータのソースを記載します。
26
27
  ※グローバルip、パスワード類は変更しています。
27
- ### 該当のソースコード
28
+
28
- YAMAHA RTX830
29
+
29
- # If you want to clear ALL configuration to default,
30
+ ```# If you want to clear ALL configuration to default,
30
31
  # remove `#' of next line.
31
32
 
32
33
  clear configuration
34
+ clear log
35
+ clear arp
36
+ clear ip dynamic routing
33
37
 
34
-
35
38
  #
36
39
  # System configuration
37
40
  #
@@ -46,7 +49,7 @@
46
49
  #
47
50
 
48
51
  ip route default gateway pp 1
49
- ip route 61.126.180.xxx gateway pp 1
52
+ ip route 61.126.0.0 gateway pp 1
50
53
  ip route 192.168.10.0/24 gateway tunnel 1
51
54
 
52
55
  #
@@ -59,7 +62,7 @@
59
62
  #
60
63
 
61
64
  ip lan1 address 192.168.1.220/24
62
- ip lan3 address 219.163.0.0/29
65
+ ip lan2 address 219.163.0.17/29
63
66
 
64
67
  #
65
68
  # ISDN configuration
@@ -81,7 +84,7 @@
81
84
  pp always-on on
82
85
  pppoe use lan2
83
86
  pp auth accept pap chap
84
- pp auth myname foo baaa
87
+ pp auth myname foo@baa.ocn.ne.jp mdqg38
85
88
  ppp lcp mru on 1438
86
89
  ppp ccp type none
87
90
  ip pp mtu 1438
@@ -97,9 +100,9 @@
97
100
  #
98
101
  pp select anonymous
99
102
  pp bind tunnel1-tunnel2
100
- pp auth request mschap-v2
103
+ pp auth request chap mschap-v2
101
- pp auth username aaa aaa
104
+ pp auth username aa aa
102
- pp auth username bbb bbb
105
+ pp auth username bb bb
103
106
  ppp ipcp ipaddress on
104
107
  ppp ipcp msext on
105
108
  ppp ccp type mppe-any
@@ -120,7 +123,7 @@
120
123
  ipsec tunnel 101
121
124
  ipsec sa policy 101 1 esp 3des-cbc md5-hmac
122
125
  ipsec ike local address 1 192.168.1.220
123
- ipsec ike pre-shared-key 1 text __!__!
126
+ ipsec ike pre-shared-key 1 text hogehoge
124
127
  ipsec ike remote address 1 61.126.0.0
125
128
  tunnel enable 1
126
129
 
@@ -135,7 +138,7 @@
135
138
  ipsec ike keepalive use 2 off
136
139
  ipsec ike local address 2 192.168.1.220
137
140
  ipsec ike nat-traversal 2 on
138
- ipsec ike pre-shared-key 2 text _________!
141
+ ipsec ike pre-shared-key 2 text !!!!!!
139
142
  ipsec ike remote address 2 any
140
143
  l2tp tunnel disconnect time off
141
144
  l2tp keepalive use on 10 3
@@ -194,8 +197,8 @@
194
197
  #
195
198
 
196
199
  nat descriptor type 1 masquerade
197
- nat descriptor address outer 1 219.163.0.0
200
+ nat descriptor address outer 1 219.163.0.17
198
- nat descriptor address inner 1 219.163.0.0 192.168.1.1-192.168.1.254
201
+ nat descriptor address inner 1 219.163.0.17 192.168.1.1-192.168.1.254
199
202
  nat descriptor masquerade static 1 1 192.168.1.220 tcp 1723
200
203
  nat descriptor masquerade static 1 2 192.168.1.220 gre
201
204
  nat descriptor masquerade static 1 3 192.168.1.220 udp 500
@@ -264,7 +267,7 @@
264
267
  # DNS configuration
265
268
  #
266
269
 
267
- dns server 219.163.0.0
270
+ dns server 219.163.64.18
268
271
  dns private address spoof on
269
272
 
270
273
  #
@@ -340,4 +343,16 @@
340
343
  # If you want to save configuration to Nonvolatile memory,
341
344
  # remove `#' of next line.
342
345
  save
343
- #
346
+ #
347
+ syslog debug on
348
+ syslog notice on
349
+ #
350
+ restart
351
+ #```
352
+
353
+ また、端末側の設定は以下の通りです。
354
+ VPNの種類:事前共有キーを使ったL2TP/IPSEC
355
+ アダプタの設定は以下の通りです。
356
+ ・データの暗号化:暗号化が必要(サーバが拒否する場合は切断します)
357
+ ・プロトコル:PAP,CHAP,MS-CHAP V2をオン
358
+ ・ネットワーク->IPV4->IP設定->リモートネットワークでデフォルトゲートウェーを使うをオン