Difference between revisions of "Sysctl (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
 
[[KVM]] [[VNC]] remote viewer
 
[[KVM]] [[VNC]] remote viewer
 
  [[iptables]] -t nat -A PREROUTING -i eno1 -p tcp --dport 5900 -j DNAT --to 127.0.0.1:5900
 
  [[iptables]] -t nat -A PREROUTING -i eno1 -p tcp --dport 5900 -j DNAT --to 127.0.0.1:5900
  sysctl -w net.ipv4.ip_forward=1
+
  sysctl -w net.ipv4.[[ip_forward]]=1
 
  sysctl -p [[/etc/sysctl.conf]]
 
  sysctl -p [[/etc/sysctl.conf]]
  

Revision as of 10:17, 7 December 2020

Advertising: