Solve CentOS -- "/proc/sys/net/ipv4/ip_forward" E667: Fsyn

Source: Internet
Author: User

Solve CentOS -- "/proc/sys/net/ipv4/ip_forward" E667: Fsyn

Vi/etc/sysctl. conf
Set
Net. ipv4.ip _ forward = 0
Change
Net. ipv4.ip _ forward = 1
If this option is not available in this file, add it.
Then run the command: # sysctl-p
Make it take effect.

[Plain] view plaincopy
  1. [Root @ liuyazhuang145 ~] # Sysctl-p
  2. Net. ipv4.ip _ forward = 1
  3. Net. ipv4.conf. default. rp_filter = 2
  4. Net. ipv4.conf. default. accept_source_route = 0
  5. Kernel. sysrq = 0
  6. Kernel. core_uses_pid = 1
  7. Net. ipv4.tcp _ syncookies = 1
  8. Kernel. msgmnb = 65536
  9. Kernel. msgmax = 65536
  10. Kernel. shmmax = 68719476736
  11. Kernel. shmall = 4294967296
  12. VMS. min_free_kbytes = 65536
  13. Kernel. panic_on_oops = 1
  14. Kernel. panic = 60
View again
[Root @ liuyazhuang145 ~] # Cat/proc/sys/net/ipv4/ip_forward
1

The original 0 is changed to 1.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.