質問編集履歴

2

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

2020/07/07 10:10

投稿

zingbay
zingbay

スコア1

test CHANGED
File without changes
test CHANGED
@@ -536,7 +536,7 @@
536
536
 
537
537
 
538
538
 
539
- dns server 219.163.64.18
539
+ dns server 219.163.0.0
540
540
 
541
541
  dns private address spoof on
542
542
 

1

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

2020/07/07 10:10

投稿

zingbay
zingbay

スコア1

test CHANGED
File without changes
test CHANGED
@@ -46,15 +46,17 @@
46
46
 
47
47
 
48
48
 
49
+
50
+
49
51
  ご参考までに、ルータのソースを記載します。
50
52
 
51
53
  ※グローバルip、パスワード類は変更しています。
52
54
 
53
- ### 該当のソースコード
55
+
54
-
55
- YAMAHA RTX830
56
+
56
-
57
+
58
+
57
- # If you want to clear ALL configuration to default,
59
+ ```# If you want to clear ALL configuration to default,
58
60
 
59
61
  # remove `#' of next line.
60
62
 
@@ -62,7 +64,11 @@
62
64
 
63
65
  clear configuration
64
66
 
65
-
67
+ clear log
68
+
69
+ clear arp
70
+
71
+ clear ip dynamic routing
66
72
 
67
73
 
68
74
 
@@ -94,7 +100,7 @@
94
100
 
95
101
  ip route default gateway pp 1
96
102
 
97
- ip route 61.126.180.xxx gateway pp 1
103
+ ip route 61.126.0.0 gateway pp 1
98
104
 
99
105
  ip route 192.168.10.0/24 gateway tunnel 1
100
106
 
@@ -120,7 +126,7 @@
120
126
 
121
127
  ip lan1 address 192.168.1.220/24
122
128
 
123
- ip lan3 address 219.163.0.0/29
129
+ ip lan2 address 219.163.0.17/29
124
130
 
125
131
 
126
132
 
@@ -164,7 +170,7 @@
164
170
 
165
171
  pp auth accept pap chap
166
172
 
167
- pp auth myname foo baaa
173
+ pp auth myname foo@baa.ocn.ne.jp mdqg38
168
174
 
169
175
  ppp lcp mru on 1438
170
176
 
@@ -196,11 +202,11 @@
196
202
 
197
203
  pp bind tunnel1-tunnel2
198
204
 
199
- pp auth request mschap-v2
205
+ pp auth request chap mschap-v2
200
-
206
+
201
- pp auth username aaa aaa
207
+ pp auth username aa aa
202
-
208
+
203
- pp auth username bbb bbb
209
+ pp auth username bb bb
204
210
 
205
211
  ppp ipcp ipaddress on
206
212
 
@@ -242,7 +248,7 @@
242
248
 
243
249
  ipsec ike local address 1 192.168.1.220
244
250
 
245
- ipsec ike pre-shared-key 1 text __!__!
251
+ ipsec ike pre-shared-key 1 text hogehoge
246
252
 
247
253
  ipsec ike remote address 1 61.126.0.0
248
254
 
@@ -272,7 +278,7 @@
272
278
 
273
279
  ipsec ike nat-traversal 2 on
274
280
 
275
- ipsec ike pre-shared-key 2 text _________!
281
+ ipsec ike pre-shared-key 2 text !!!!!!
276
282
 
277
283
  ipsec ike remote address 2 any
278
284
 
@@ -390,9 +396,9 @@
390
396
 
391
397
  nat descriptor type 1 masquerade
392
398
 
393
- nat descriptor address outer 1 219.163.0.0
399
+ nat descriptor address outer 1 219.163.0.17
394
-
400
+
395
- nat descriptor address inner 1 219.163.0.0 192.168.1.1-192.168.1.254
401
+ nat descriptor address inner 1 219.163.0.17 192.168.1.1-192.168.1.254
396
402
 
397
403
  nat descriptor masquerade static 1 1 192.168.1.220 tcp 1723
398
404
 
@@ -530,7 +536,7 @@
530
536
 
531
537
 
532
538
 
533
- dns server 219.163.0.0
539
+ dns server 219.163.64.18
534
540
 
535
541
  dns private address spoof on
536
542
 
@@ -683,3 +689,27 @@
683
689
  save
684
690
 
685
691
  #
692
+
693
+ syslog debug on
694
+
695
+ syslog notice on
696
+
697
+ #
698
+
699
+ restart
700
+
701
+ #```
702
+
703
+
704
+
705
+ また、端末側の設定は以下の通りです。
706
+
707
+ VPNの種類:事前共有キーを使ったL2TP/IPSEC
708
+
709
+ アダプタの設定は以下の通りです。
710
+
711
+ ・データの暗号化:暗号化が必要(サーバが拒否する場合は切断します)
712
+
713
+ ・プロトコル:PAP,CHAP,MS-CHAP V2をオン
714
+
715
+ ・ネットワーク->IPV4->IP設定->リモートネットワークでデフォルトゲートウェーを使うをオン