惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
The Register - Security
The Register - Security
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
博客园_首页
U
Unit 42
T
Tailwind CSS Blog
G
GRAHAM CLULEY
F
Full Disclosure
V
Vulnerabilities – Threatpost
T
Tenable Blog
月光博客
月光博客
P
Privacy & Cybersecurity Law Blog
P
Privacy International News Feed
K
Kaspersky official blog
Scott Helme
Scott Helme
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
N
News and Events Feed by Topic
T
The Exploit Database - CXSecurity.com
N
News and Events Feed by Topic
有赞技术团队
有赞技术团队
Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
LINUX DO - 最新话题
Recorded Future
Recorded Future
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Help Net Security
Help Net Security
The GitHub Blog
The GitHub Blog
Cisco Talos Blog
Cisco Talos Blog
SecWiki News
SecWiki News
P
Proofpoint News Feed
Security Latest
Security Latest
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
罗磊的独立博客
S
Security Affairs
M
MIT News - Artificial intelligence
L
LINUX DO - 热门话题
美团技术团队
Simon Willison's Weblog
Simon Willison's Weblog
T
Threat Research - Cisco Blogs
Stack Overflow Blog
Stack Overflow Blog
Forbes - Security
Forbes - Security
Hugging Face - Blog
Hugging Face - Blog
博客园 - Franky
V
Visual Studio Blog

博客园 - 季枫

armbian安装python3.12 英语学习:byoungd / English-level-up-tips Public 为casaos系统安装openclaw,解决访问docker仓库的问题 玩客云 casaOS的armbian系统启动后无法联网(没有ip地址解决办法) 通达信K线解析 ubuntu xfce4 terminal 中文乱码 windows 替代fiddler wsl安装ubuntu 20子系统和桌面 玩客云 armbian+CasaOS设置国内的源地址 资金多空线 ffmpeg 抖音下载的音频和视频合并: ps里如何把字弄成复印效果 win11 程序不能启动用--no-sandbox windows 访问armbian SMBA被拒绝 玩客云casaOS实现家里华为路由器访问,用于控制IPTV设置,远程管理小孩看电视 解决windows子系统wsl ubuntu的随机mac问题 六西格玛设计 | 如何运用质量功能展开(QFD)进行设计 解决nginx反向代理 Location重定向到内网地址问题 黑神话boss手残打发 openwrt 作为二级路由器,实现IPV6中继(中国移动宽带发布私有nas、网站等服务) 解决armbain系统挂载移动硬盘NTFS只能读,不能写问题 移动宽带公网IPV6地址检查 nas 移动宽带使用IPV6访问(打通ipv6) Python中的tushare入门
windows系统安装ubuntu子系统,解决Easyconnect windows版本对监控软件的限制
季枫 · 2025-01-03 · via 博客园 - 季枫

1、验证是否能解决

  在苹果系统上安装easyconnect先试试,如果可以正常链接进入内网在继续

2、windows下安装ubuntu子系统

  https://blog.csdn.net/leishupei/article/details/119779889

  注意要点1:安装sudo apt-get install xorg 这个就可以了

  注意要点2:创建的账号(非root)远程桌面闪退,sudo passwd root,改root密码,用root用户登录远程桌面

        其它可以参考:https://blog.csdn.net/sereasuesue/article/details/122429762

  注意3:设置来源参考https://zhuanlan.zhihu.com/p/7107285821

      如何关闭运行中的Ubuntu:wsl --shutdown

3、安装中文字体、google chrome等

  参考:https://blog.csdn.net/qq_30712797/article/details/128885517

  注意:

4、安装easyconnect

  下载ubuntu的版本:https://download.sangfor.com.cn/download/product/sslvpn/pkg/linux_767/EasyConnect_x64_7_6_7_3.deb

        安装:sudo dpkg -i EasyConnect_x64_7_6_7_3.deb

  注意,启动用:sudo /usr/share/sangfor/EasyConnect/EasyConnect

  注意1:解决$ /usr/share/sangfor/EasyConnect/EasyConnect 错误:
    Segmentation fault (core dumped)

原因
系统的libpango版本太高,但EasyConnect依赖的版本更低

解决方案
下载对应的libpango版本
https://old.kali.org/kali/pool/main/p/pango1.0/
文件列表:
libpango-1.0-0_1.42.4-7_amd64.deb libpangocairo-1.0-0_1.42.4-7_amd64.deb libpangoft2-1.0-0_1.42.4-7_amd64.deb

将对应的libpango版本解压到/usr/share/sangfor/EasyConnect/EasyConnect目录
sudo dpkg -X libpango-1.0-0_1.42.4-7_amd64.deb /usr/share/sangfor/EasyConnect/
sudo dpkg -X libpangocairo-1.0-0_1.42.4-7_amd64.deb /usr/share/sangfor/EasyConnect/
sudo dpkg -X libpangoft2-1.0-0_1.42.4-7_amd64.deb /usr/share/sangfor/EasyConnect/

将/usr/share/sangfor/EasyConnect/usr/lib/x86_64-linux-gnu复制到/usr/share/sangfor/EasyConnect即可
sudo cp /usr/share/sangfor/EasyConnect/usr/lib/x86_64-linux-gnu/* /usr/share/sangfor/EasyConnect/

启动正常

  注意2:解决字体错误问题  

Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 90: Having multiple <family> in <alias> isn't supported and may not work as expected

https://blog.csdn.net/weixin_33810302/article/details/92026495

 注意3:

sudo apt install libgtk2.0-0
解决:
EasyConnect libraries: libgtk-x11-2.0.so.0: cannot open share...

 注意4:EasyConnect 链接后,vpn还是无法访问内网,发现域名无法解析

cat /etc/resolv.conf

;sangfor-dns-client
nameserver 127.0.0.1

  查看当前的名称服务器:resolvectl status

锁定:sudo chattr +i /etc/resolv.conf

https://blog.csdn.net/weixin_48405654/article/details/147825439

   注意5:

无法将磁盘“C:\Users\29646\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu24.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx”附加到 WSL2: 系统找不到指定的文件。 如图:
wsl

sudo apt-get update

  sudo apt-get install resolvconf

  创建配置文件

  sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolvconf/resolv.conf.d/head'

  sudo bash -c 'echo "nameserver 8.8.4.4" >> /etc/resolvconf/resolv.conf.d/head'

  应用更改:

  sudo resolvconf -u

注意7:ubuntu 域名服务

  sudo vim  /etc/wsl.conf

    [network]

    generateHosts = false
    generateResolvConf = false

  vi /etc/systemd/resolved.conf

  systemctl restart systemd-resolved

  systemctl enable systemd-resolved

  ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

 注意8:查看防火墙状态

  sudo ufw status verbose

注意9:卸载easyconnect

  dpkg -l | grep easyconnect

  sudo dpkg -r  easyconnect

 其它命令行:

systemctl status systemd-resolved 

sudo iptables-legacy -t nat -L -n

sudo iptables -t nat -L PREROUTING -n --line-numbers

sudo iptables -t nat -A PREROUTING -p udp --dport 53 -j DNAT --to-destination 127.0.0.53:53

sudo lsof -i UDP:53

 查询域名解析: nslookup okr.xfchat.xx.com 192.168.75.14