I hereby claim:
- I am Myer921 on github.
- I am myer921 (https://keybase.io/myer921) on keybase.
- I have a public key whose fingerprint is 2DB8 4A2D 2903 D3DF 4C0D 4E0B 7749 5108 2DC7 5076
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# 隧道服务器前缀 | |
REMOTE_IP6="2402:f000:1:1501:200:5efe" | |
# 隧道服务器路由 | |
REMOTE_IP4="166.111.21.1" | |
#IFACE4=`ip route show|grep default|sed -e 's/^default.*dev \([^ ]\+\).*$/\1/'` | |
# 上面的方法略过时 我自己取了个巧 直接crul不就好了 | |
IP4=`curl http://members.3322.org/dyndns/getip` | |
# 创建 | |
ip tunnel add sit1 mode sit remote $REMOTE_IP4 local $IP4 |
Option Explicit | |
Dim objshell,path,DigitalID, Result | |
Set objshell = CreateObject("WScript.Shell") | |
'Set registry key path | |
Path = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\" | |
'Registry key value | |
DigitalID = objshell.RegRead(Path & "DigitalProductId") | |
Dim ProductName,ProductID,ProductKey,ProductData | |
'Get ProductName, ProductID, ProductKey |
# NMNET project 99-sysctl.conf version 1 | |
# ip forward 4+6 | |
net.ipv4.ip_forward=1 | |
net.ipv6.conf.all.forwarding=1 | |
# bbr | |
net.ipv4.tcp_congestion_control=bbr | |
# Penetrate | |
net.ipv4.conf.default.rp_filter = 2 | |
net.ipv4.conf.all.rp_filter = 2 |
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNsD1Y/dSXksdNZHvp87b34gABELkigflLy+y1dg6Z/A/vHmDSiHTOMeissDxzCPeRV/yuOLUDNT++t3hvKTJq4= ecdsa 256-081417 |
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ/YONNgNPTcB2kDADGD5nrj274br2BgcOEpbvJDAT1e ed25519 256-030718 |
# CatIO network iptables | |
wan= | |
iptables -F | |
iptables -X | |
iptables -t nat -F | |
iptables -t nat -X | |
iptables -P INPUT DROP | |
iptables -P OUTPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
# 允许端口 |
# thx http://zfox49.farbox.com/post/2017-01-13-2 | |
# create | |
tinc -n catio init node1 | |
tinc -n catio add Mode Switch | |
tinc -n catio add Interface catio | |
tinc -n catio add Cipher aes-256-cbc | |
nano /etc/tinc/catio/tinc-up | |
# start | |
tinc -n catio start |
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEt16BAKiCcQQ6MAK1G3ftnJJYHsTz1e9FIwIz6xXYA8 ed25519 256-051718 |
#!/bin/sh | |
# | |
# Build a chroot with a CentOS 6.5 base install. | |
# | |
CHROOT=/tmp/chroot | |
mkdir -p $CHROOT | |
mkdir -p $CHROOT/var/lib/rpm |