From edf104fcb548693cf85bfef557d6945f8f1117c2 Mon Sep 17 00:00:00 2001 From: Aaron Chen Date: Thu, 10 Nov 2022 12:23:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=85=B3=E4=BA=8E=E7=A7=81?= =?UTF-8?q?=E6=9C=89dns=E6=96=B9=E9=9D=A2=E7=9A=84=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...1安装FreeSWITCH1.10-参照ClueCon官方文档.md | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/freeswitch/Debian11安装FreeSWITCH1.10-参照ClueCon官方文档.md b/freeswitch/Debian11安装FreeSWITCH1.10-参照ClueCon官方文档.md index 4a1d967..5d4eef8 100644 --- a/freeswitch/Debian11安装FreeSWITCH1.10-参照ClueCon官方文档.md +++ b/freeswitch/Debian11安装FreeSWITCH1.10-参照ClueCon官方文档.md @@ -57,48 +57,6 @@ PasswordAuthentication yes /etc/init.d/ssh restart ``` -### 添加静态路由解决个别IP无法被本机PING通的问题 - -```shell -vim /etc/network/interfaces -``` - -在`iface ens192 inet static`配置段的后面添加两行 - -```ini - up ip route add 183.211.245.35/32 via 183.211.245.1 - down ip route del 183.211.245.35/32 via 183.211.245.1 -``` - -修改后的完整配置应该类似下面: - -```ini -iface ens192 inet static - address 183.211.245.51/25 - gateway 183.211.245.1 - up ip route add 183.211.245.35/32 via 183.211.245.1 - down ip route del 183.211.245.35/32 via 183.211.245.1 -``` - -### 配置DNS - -```shell -vim /etc/resolv.conf -``` - -文件内容如下: - -```ini -nameserver 112.4.0.55 -nameserver 221.131.143.69 -``` - -修改配置后重启网卡(具体设备名称因机而异): - -```shell -ifdown ens192 && ifup ens192 -``` - ### 在Debian系统里启用ll命令 ```shell