Toggle navigation
Sunday Blog
All Posts
go
kubernetes
linux
python
ARCHIVE
DOCS
ABOUT
Sunday Blog
人生是一场刻意练习
Ubuntu 22.04 设置静态IP
ubuntu 22.04 setting static ip
cat /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network: ethernets: ens160: dhcp4: false addresses: - 192.168.77.3/24 ens192: dhcp4: false addresses: - 119.38.120.107/27 nameservers: addresses: - 223.5.5.5 routes: - to: default via: 119.38.120.1 version: 2 netplan apply
Posted by BlueFat on Thursday, March 23, 2023
Ubuntu UFW防火墙启用NAT共享上网
Ufw firewall enable nat shared Internet access
环境信息 内网 网卡接口: ens160 网段: 192.168.77.0/24 IP: 192.168.77.1 外网 网卡接口: ens160 打开内核转发 echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf sysctl -p 启动nat转发测试 非持久化 # 启动 # 适用动态IP 自动转成网卡I
Posted by BlueFat on Thursday, March 23, 2023
Trojan 转发
Trojan Forward
iptables转发 目前使用统计,trojan最多被封端口(如443),ip没太大问题。 这里使用iptables实现最简单的的动态端口! 将4
Posted by BlueFat on Wednesday, October 21, 2020
开心的蓝胖
QUICK LINKS
Pxhere
unsplash
FEATURED TAGS
ansible
bash
calico
containerd
docker
firewalld
flannel
grpc
https
iptables
keepalived
kernel
kubernetes
linux
lvs
mysql
network
nginx
prometheus
python
rabbitmq
rocketmq
shell
sort
ssh
tcp
tcpdump
ubuntu
ufw
性能
排序
正则表达式
算法
递归
闭包
FRIENDS
Sunday Docs
Ansible Wiki
K8S训练营
Kubernetes 实践指南