Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lance@lance-AcerOne:~$ sysctl -a |grep forw
- sysctl: permission denied on key 'fs.protected_hardlinks'
- sysctl: permission denied on key 'fs.protected_symlinks'
- sysctl: permission denied on key 'kernel.cad_pid'
- sysctl: permission denied on key 'kernel.usermodehelper.bset'
- sysctl: permission denied on key 'kernel.usermodehelper.inheritable'
- net.ipv4.conf.all.forwarding = 1
- net.ipv4.conf.all.mc_forwarding = 0
- net.ipv4.conf.default.forwarding = 1
- net.ipv4.conf.default.mc_forwarding = 0
- net.ipv4.conf.dns0.forwarding = 1
- net.ipv4.conf.dns0.mc_forwarding = 0
- net.ipv4.conf.dns1.forwarding = 1
- net.ipv4.conf.dns1.mc_forwarding = 0
- net.ipv4.conf.dns2.forwarding = 1
- net.ipv4.conf.dns2.mc_forwarding = 0
- net.ipv4.conf.eth0.forwarding = 1
- net.ipv4.conf.eth0.mc_forwarding = 0
- net.ipv4.conf.lo.forwarding = 1
- net.ipv4.conf.lo.mc_forwarding = 0
- net.ipv4.conf.mon/wlan0.forwarding = 1
- net.ipv4.conf.mon/wlan0.mc_forwarding = 0
- net.ipv4.conf.wlan0.forwarding = 1
- net.ipv4.conf.wlan0.mc_forwarding = 0
- net.ipv4.ip_forward = 1
- sysctl: permission denied on key 'net.ipv4.tcp_fastopen_key'
- net.ipv6.conf.all.forwarding = 0
- net.ipv6.conf.all.mc_forwarding = 0
- net.ipv6.conf.default.forwarding = 0
- net.ipv6.conf.default.mc_forwarding = 0
- net.ipv6.conf.eth0.forwarding = 0
- net.ipv6.conf.eth0.mc_forwarding = 0
- net.ipv6.conf.lo.forwarding = 0
- net.ipv6.conf.lo.mc_forwarding = 0
- net.ipv6.conf.mon/wlan0.forwarding = 0
- net.ipv6.conf.mon/wlan0.mc_forwarding = 0
- net.ipv6.conf.wlan0.forwarding = 0
- net.ipv6.conf.wlan0.mc_forwarding = 0
- lance@lance-AcerOne:~$ sudo sysctl -a |grep forw
- [sudo] password for lance:
- net.ipv4.conf.all.forwarding = 1
- net.ipv4.conf.all.mc_forwarding = 0
- net.ipv4.conf.default.forwarding = 1
- net.ipv4.conf.default.mc_forwarding = 0
- net.ipv4.conf.dns0.forwarding = 1
- net.ipv4.conf.dns0.mc_forwarding = 0
- net.ipv4.conf.dns1.forwarding = 1
- net.ipv4.conf.dns1.mc_forwarding = 0
- net.ipv4.conf.dns2.forwarding = 1
- net.ipv4.conf.dns2.mc_forwarding = 0
- net.ipv4.conf.eth0.forwarding = 1
- net.ipv4.conf.eth0.mc_forwarding = 0
- net.ipv4.conf.lo.forwarding = 1
- net.ipv4.conf.lo.mc_forwarding = 0
- net.ipv4.conf.mon/wlan0.forwarding = 1
- net.ipv4.conf.mon/wlan0.mc_forwarding = 0
- net.ipv4.conf.wlan0.forwarding = 1
- net.ipv4.conf.wlan0.mc_forwarding = 0
- net.ipv4.ip_forward = 1
- net.ipv6.conf.all.forwarding = 0
- net.ipv6.conf.all.mc_forwarding = 0
- net.ipv6.conf.default.forwarding = 0
- net.ipv6.conf.default.mc_forwarding = 0
- net.ipv6.conf.eth0.forwarding = 0
- net.ipv6.conf.eth0.mc_forwarding = 0
- net.ipv6.conf.lo.forwarding = 0
- net.ipv6.conf.lo.mc_forwarding = 0
- net.ipv6.conf.mon/wlan0.forwarding = 0
- net.ipv6.conf.mon/wlan0.mc_forwarding = 0
- net.ipv6.conf.wlan0.forwarding = 0
- net.ipv6.conf.wlan0.mc_forwarding = 0
- lance@lance-AcerOne:~$
Advertisement
Add Comment
Please, Sign In to add comment