Difference between revisions of "Sysctl"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
* <code>sysctl -a</code>
 
* <code>sysctl -a</code>
  
 +
 +
[[KVM]] [[VNC]] remote viewer
 +
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 -p /etc/sysctl.conf
  
  

Revision as of 10:59, 26 January 2020

  • sysctl -a


KVM VNC remote viewer

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 -p /etc/sysctl.conf


See also

Advertising: