Thursday, July 28, 2011

linux: set ip forwarding

set ip_forward flag
# echo "1" > /proc/sys/net/ipv4/ip_forward

or set ip_forward in /etc/sysctl.conf
# vi /etc/sysctl.conf
set:
net.ipv4.ip_forward = 1

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...