关于如何使用本项目永久保存ssh和静态路由的方法 #73
FerminYang
started this conversation in
Show and tell
Replies: 1 comment
-
礼貌询问一下,按照这样没有生效,直接执行命令欧克,`route add -net 192.168.100.0/24 gw 192.168.1.20`
看到了其他方法
> /etc/config/network 文件,在 config interface ‘lan’ 配置块下方
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
8 - {{{ Other functions }}},然后选择7 - Install permanent SSH等待执行完成。vim /etc/crontabs/patches/ssh_patch.sh在echo "ssh enabled" > /tmp/ssh_patch.log行上方添加1行,输入添加静态路由的指令,例如:
route add -net XX.0.0.0/8 gw 192.168.1.X保存后reboot,输入
route -n验证结果。Beta Was this translation helpful? Give feedback.
All reactions