Difference between revisions of "Sysctl"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
  
 
[[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: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: