Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Linux中的ip forward

以linux當router,必需確定

/proc/sys/net/ipv4/ip_forward

中的內容是1,所以可以下:

#>echo 1 > /proc/sys/net/ipv4/ip_forward

不過每次開機,它都會重設。除了rc.local之外,是不是有方法讓它每次都可以是開啟的呢?

1 Answer

Rating
  • ?
    Lv 4
    2 decades ago
    Favorite Answer

    編輯 /etc/sysctl.conf 設定檔,你會找到你要的設定!

Still have questions? Get your answers by asking now.