# vi /etc/sysctl.conf
添加如下代码:
    net.ipv4.ip_forward=1
重启network服务
# systemctl restart network
 
查看是否修改成功
# sysctl net.ipv4.ip_forward

$ sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 1

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-30
  • 2021-12-23
  • 2021-10-12
猜你喜欢
  • 2021-11-24
  • 2022-03-05
  • 2022-01-20
  • 2021-07-23
  • 2021-10-28
  • 2021-11-28
相关资源
相似解决方案