Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何反馈问题,开新问题必看 #11

Closed
spiritLHLS opened this issue Aug 20, 2023 · 0 comments
Closed

如何反馈问题,开新问题必看 #11

spiritLHLS opened this issue Aug 20, 2023 · 0 comments

Comments

@spiritLHLS
Copy link
Member

spiritLHLS commented Aug 20, 2023

0.仅解决使用本套脚本出现的各种BUG,如果你需要自定义网关且与说明文档无关,那么请不要浪费彼此的时间,无法针对某些过于偏门的特殊情况去做适配

1.必须带上查询结果,如果是敏感信息,务必打码公网IP的最后几位数字,避免IP泄露,如果有条件,开设前后的以下命令输出都带上,如果没条件,仅带上开设后的信息也行

cat /etc/network/interfaces
systemctl is-active systemd-networkd
systemctl is-active networking
ip route
ip addr show
# 如果该命令不存在不查询也没问题
brctl show

2.如果是开设出的容器或者虚拟机无网络,务必带上开设过程中的日志输出(一般都有报错的)

然后在容器内执行以下命令截取最新的20行给我

cat /var/log/messages
cat /var/log/syslog

3.如果是IPV6相关问题,务必截图

systemctl status check-dns
systemctl status ndpresponder
journalctl -u ndpresponder

4.如果是SSH连接问题,容器/虚拟机内务必截图

cat /etc/ssh/sshd_config
sudo passwd -S root
sudo tail -n 50 /var/log/auth.log
cat /etc/pam.d/sshd
cat /etc/security/access.conf
cd /etc/ssh/sshd_config.d/
ls
# 这个路径下的文件都cat查询截图
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant