-
Notifications
You must be signed in to change notification settings - Fork 3
/
.bash_history
500 lines (499 loc) · 11 KB
/
.bash_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
sudo
sudo nano /home/ubuntuserver/Programs/dhcp_fix.sh
sudo systemctl edit --full dhcpcd.service
sudo systemctl restart dhcpcd
sudo systemctl edit --full dhcpcd.service
/usr/sbin/dhcpcd
sudo systemctl edit --full dhcpcd.service
ifconfig
sudo
sudo /etc/netplan/01-static.yaml /etc/netplan/01-static.yaml.old
sudo cp -rf /etc/netplan/01-static.yaml /etc/netplan/01-static.yaml.old
sudo nano /etc/netplan/01-static.yaml
sudo netplan
sudo netplan generate && sudo netplan try
ifconfig
sudo nano /home/ubuntuserver/Programs/dhcp_fix.sh
ifconfig
sudo nano /home/ubuntuserver/Programs/dhcp_fix.sh
sudo netplan generate
sudo netplan apply
ifconfig
sudo apt install ethtool
sudo ethtool --change eth0 speed 1000 duplex full autoneg off
ifconfig
sudo ethtool --change eth0 speed 1000 duplex full autoneg on
ifconfig
sudo nano /etc/netplan/01-static.yaml
sudo netplan generate
sudo netplan generate; sudo netplan apply
sudo nano /etc/netplan/01-static.yaml.old
sudo nano /etc/netplan/01-static.yaml
ifconfig
ifconfig
ifconfig
ifconfig
ifconfig
sudo nano /etc/netplan/01-static.yaml
ifconfig
sudo netplan generate; sudo netplan apply
sudo nano /etc/netplan/01-static.yaml
sudo netplan generate; sudo netplan apply
ping 1.1.1.1
cd Pihole-Slave-Install/
sudo git stash && sudo git pull
systemctl status fail2ban
systemctl status ctp-dns
sudo bash /home/ubuntuserver/Programs/sys_jail_status.sh
sudo lastb -a
exit
exit
sudo lastb -a
sudo touch /d
sudo rm /d
ifconfig
p
ifconfig
sudo ip route
sudo lastb -a
ping6 dns.google -I eth2
ping6 dns.google -I eth1
ping6 dns.google -I eth1
ping6 dns.google -I eth0
ping6 dns.google -I eth0
ping6 dns.google -I eth0
ping6 dns.google -I eth0
ifconfig eth2
ifconfig eth1
ifconfig eth
ifconfig eth1
ifconfig eth1
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
sudo reboot
ifconfig
ping6 dns.google -I eth0
ifconfig eth0
ping6 dns.google -I eth0
ping6 dns.google -I eth0
ping6 dns.google -I eth0
ifconfig eth0
ifconfig eth3
ifconfig eth2
ifconfig
dig dns.google -t aaa
dig dns.google -t aaaa
ping6 dns.google -I eth0
ping6 dns.google -I eth1
ping6 dns.google -I eth2
ifconfig
ifconfig eth2
ifconfig eth1
ifconfig eth0
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth0
ifconfig eth0
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth0
ifconfig eth0
ifconfig eth0
ifconfig eth0
ifconfig eth0
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth3
ifconfig eth0
ifconfig eth0
ifconfig eth0
ifconfig eth0
ifconfig eth3
ifconfig eth2
ifconfig eth2
ifconfig eth0
ping6 dns.google -I eth2
ping6 dns.google -I eth1
ping6 dns.google -I eth1
ping6 dns.google -I eth0
ping6 dns.google -I eth2
ifconfig eth2
ifconfig eth0
ping6 dns.google -I eth2
ifconfig eth2
ping6 dns.google -I eth2
ping6 dns.google -I eth2
sudo systemctl restart networking
sudo reboot
sudo reboot
sudo reboot
sudo reboot
sudo reboot
sudo reboot
sudo reboot
sudo reboot
sudo reboot
ifconfig
ping6 dns.google -I eth2
ping6 dns.google -I eth0
ctp-pihole -t
ping dns.google
ping6 dns.google
ifconfig eth2
ping6 dns.google -I eth0 -a
ifconfig
ifconfig eth2
ifconfig eth0
ifconfig eth2
ifconfig eth0
ctp-pihole -t
ifconfig
ifconfig eth0
ifconfig eth2
ifconfig eth0
ifconfig eth2
ping6 dns.google -I eth0 -a
ing6 dns.google -I eth0 -a
cd Pihole-Slave-Install/
sudo git stash && sudo git pull
ping6 dns.google -I eth0
ping6 dns.google -I eth0 -a
sudo ./copy_config.sh
ping fe80::6e3b:6bff:fe7e:ff36
ping6 fe80::6e3b:6bff:fe7e:ff36
sudo touch /d
sudo rm /d
ctp-dns -t
dig gcp.ctptech.dev
pihole status
ping6 dns.google -I eth0
ping6 dns.google -I eth0 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth2
ping6 dns.google -I eth2
ping6 dns.google -I eth2
ping6 dns.google -I eth2
ping6 dns.google -I eth0
ping6 dns.google -I eth0
exit
ping6 dns.google -I eth2
ctp-pihole -t
ping6 dns.google -I eth0 -a
htop
sudo nano /etc/default/grub
sudo update-grub
sudo nano /etc/default/grub
sudo update-grub
sudo reboot
ctp-pihole -t
ping6 dns.google -I eth0 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth0 -a
sudo nano /etc/default/grub
sudo nano /etc/default/grub
sudo update-grub
sudo grub-install
sudo grub-install /dev/sda1
sudo grub-install /dev/sda2
sudo grub-install /dev/sda3
sudo grub-install /dev/sda5
sudo grub-install /dev/sda
sudo reboot
ctp-pihole -t
ping6 dns.google -I eth0 -a
ifconfig eth2
sudo ip route
ping6 dns.google -I eth0 -a
ifconfig eth0
ping6 dns.google -I eth0 -a
ctp-pihole -t
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth0 -a
ping6 dns.google -I eth2 -a
ifconfig eth2
ifconfig eth0
ifconfig eth2
cacl
ping6 dns.google -I eth0 -a
ping6 dns.google -I eth2 -a
ping6 dns.google -I eth2
ping6 dns.google -I eth0
ctp-pihole -t
htop
killall ruby
sudo killall ruby
htop
ping6 dns.google -I eth0
ping6 dns.google -I eth2
cd Pihole-Slave-Install/
sudo git stash && sudo git pull
cd Pihole-Slave-Install/
sudo git stash && sudo git pull
sudo ./copy_config.sh
cd Pihole-Slave-Install/
sudo ./copy_config.sh
ctp-dns -t
tailscale status
curl curl https://controlplane.tailscale.com/derpmap/default
curl https://controlplane.tailscale.com/derpmap/default
curl https://controlplane.tailscale.com/derpmap/default | grep msp
exit
ctp-pihole -t
curl https://controlplane.tailscale.com/derpmap/defaul
tailscale status
dig home1.derp.ctptech.dev
dig home1.derp.ctptech.dev -t aaaa
tailscale status
dig home1.derp.ctptech.dev -t aaaa
tailscale status
tailscale status
tailscale status
tailscale status
tailscale status
tailscale status
tailscale status
tailscale status
tailscale status
tailscale status
dig home1.derp.ctptech.dev -t aaaa
dig home1.derp.ctptech.dev -t aaaa
tailscale status
tailscale status
ctp-pihole -t
cat ~/.git/-*
cat ~/.git*
ping 192.168.44.1 -I eth2
ping 192.168.42.1 -I eth2
ping6 dns.google -I eth2 -c 1000
ifconfig eth2
ping 1.1.1.1
ping 2.2.2.2
ctp-dns -qbl
ifconfig eth2
ping6 dns.google -I eth2 -c 1000
ping 192.168.44.249
ping 192.168.44.249 -a
ping 192.168.42.249 -a
ping 192..168.12.247
ping 192.168.12.247
ping 192.168.42.249 -a
ping 192.168.42.247 -a
ping 192.168.44.249
ping 192.168.44.249 -a
ping 192.168.42.247
ping 192.168.42.1
ing6 192.168.42.1 -I eth2 -c 1000
ping 192.168.42.1 -I eth2
ping 192.168.44.1 -I eth2
ping 192.168.42.1 -I eth0
ping 192.168.42.1 -I eth2
ping 192.168.44.1 -I eth2
ping 192.168.44.1 -I eth2 -a
sudo ip add show dev eth2
sudo ip add show dek 192.168.44.100/24 dev eth2
sudo ip add show del 192.168.44.100/24 dev eth2
sudo ip add del 192.168.44.100/24 dev eth2
ping 192.168.44.1 -I eth2 -a
sudo ip add show del 192.168.44.100/24 dev eth2
sudo ip add del 192.168.44.100/24 dev eth2
ping 192.168.44.1 -I eth2 -a
sudo ip add del 192.168.44.100/24 dev eth2
ping 192.168.44.1 -I eth2 -a
sudo nano /etc/netplan/01-static.yaml
sudo netplan generate && sudo netplan apply
ping 192.168.44.1 -I eth2 -a
sudo nano /etc/dhcpcd.conf
sudo systemctl restart dhcpcd
ping 192.168.44.1 -I eth2 -a
ifconfig eth2
sudo ip route eth2
sudo ip route
sudo nano /etc/dhcpcd.conf
sudo systemctl restart dhcpcd
ping 192.168.44.1 -I eth2 -a
sudo ip route eth2
sudo ip route
ping 192.168.44.1 -I eth2 -a
ping 192.168.42.1 -I eth2 -a
ping 192.168.44.1 -I eth2 -a
ping 192.168.42.1 -I eth2 -a
ping 192.168.44.1 -I eth2 -a
ping 192.168.42.1 -I eth2 -a
ping 192.168.42.1
ping 192.168.44.1
ping 192.168.44.1 -I eth2 -a
ping 192.168.42.1
ping 192.168.44.249
ping 192.168.44.249 -a
ping 192.168.44.249 -a eth00
ping 192.168.44.249 -a eth0
ping 192.168.44.249 -a
ping 192.168.44.249 -a -I eth0
ping 192.168.44.249 -a
ping 192.168.44.243
ping 192.168.44.243 -a
ping 192.168.44.249 -a
telnet 192.168.44.249
ping 192.168.44.249 -a
ifconfig
ping6 dns.google
ping6 dns.google -I eth2
ping6 dns.google -I eth2 -a
ping 2001:470:1f10:5ba::2 -a -I enx002275d6f169
ping 2001:470:1f10:5ba::2 -a -I eth1
ls
ifconfig eth2
telnet 192.168.44.249
ping 192.168.44.249
telnet 192.168.44.249
ping 192.168.44.249
ping 192.168.42.249
ping 192.168.42.178
ping 192.168.44.249 -a
ping 192.168.42.249
ping 192.168.42.178
ping 192.168.42.181
ping 192.168.42.178
ping 192.168.44.249 -a
ping 192.168.42.249 -a
nmap -T4 192.168.42.179
ping 192.168.42.249 -a
ping 192.168.42.250
ping 192.168.42.249 -a
ping 192.168.12.247
ping 192.168.44.247
ping 192.168.42.247
ping6 -a -I eth1 2001:470:1f10:5ba::2
ifconfig eth2
sudo ifconfig eth2 down
sudo ifconfig eth2 up
ifconfig eth2
sudo nano /etc/netplan/01-static.yaml
sudo nano /etc/dhcpcd.conf
sudo netplan generate && sudo netplan apply
ifconfig eth2
sudo nano /home/ubuntuserver/Programs/start_tailscale.sh
sudo bash /home/ubuntuserver/Programs/start_tailscale.sh
sudo nano /home/ubuntuserver/Programs/start_tailscale.sh
sudo tailscale up --advertise-routes=192.168.88.1
sudo tailscale up --advertise-routes=192.168.88.0/24
sudo tailscale up --advertise-routes=192.168.88.0/24 --accept-dns=false --accept-routes --advertise-exit-node
sudo bash /home/ubuntuserver/Programs/start_tailscale.sh
sudo bash /home/ubuntuserver/Programs/start_tailscale.sh
sudo tailscale up --advertise-routes=192.168.42.0/24,192.168.44.0/24 --accept-dns=false --accept-routes --advertise-exit-node
sudo bash /home/ubuntuserver/Programs/start_tailscale.sh
ping 192.168.42.1
sudo netplan generate && sudo netplan apply
sudo bash /home/ubuntuserver/Programs/start_tailscale.sh &
ifconfig eth2
ifconfig eth2
ping 192.168.88.1
sudo nano /etc/dhcpcd.conf
sudo netplan generate && sudo netplan apply
ping 192.168.88.1
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ping -a 192.168.88.1
ping -a 192.168.42/249
ping -a 192.168.42.249
ping -a 192.168.44.249
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ifconfig eth2
ping 192.168.88.1
ping 192.168.88.254
ping 192.168.88.252
ping 192.168.88.252
nmap -T4 192.168.88.252
ssh 192.168.88.252
ifconfig
ping 192.168.44.1
ping 192.168.42,1
ping 192.168.42.1
ping 192.168.4
ifconfig
sudo ifconfig eth2 down
sudo ifconfig eth2 up
ifconfig
ifconfig eth2
nmap -T4 192.168.44.0/24
nmap -T4 192.168.44.0/24 -p 23,22,443,80
nmap -T1 192.168.44.0/24 -p 23,22,443,80
nmap -T2 192.168.44.0/24 -p 23,22,443,80
ifconfig eth2
sudo netplan generate && sudo netplan try
ifconfig eth2
ping 192.168.88.1
ping 192.168.44.66
ping 192.168.44.243
ping 192.168.42.1
ping 192.168.88.1
ifconfig
sudo ifconfig eth2
sudo ifconfig eth2 down
sudo ifconfig eth2up
sudo ifconfig eth2 up
sudo ifconfig eth2
ping 192.168.42.1
exit
sudo ifconfig eth2
ping6 dns.google -I eth2
ifconfig eth2
ping6 dns.google -I eth2
ifconfig eth2
ping 192.168.44.247
ping 192.168.44.247 -a
pihole status
dig @ctp-vpn.local
dig @ctp-vpn.local +dnssec