Citat:
Check if IP Forwarding is enabled
We have to query the sysctl kernel value net.ipv4.ip_forward to see if forwarding is enabled or not: Using sysctl:
sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0
or just checking out the value in the /proc system:
cat /proc/sys/net/ipv4/ip_forward
0
As we can see in both the above examples this was disabled (as show by the value 0).
Enable IP Forwarding on the fly
As with any sysctl kernel parameters we can change the value of net.ipv4.ip_forward on the fly (without rebooting the system):
sysctl -w net.ipv4.ip_forward=1
or
echo 1 > /proc/sys/net/ipv4/ip_forward
the setting is changed instantly; the result will not be preserved after rebooting the system.
edit.
Mislim da i ruter ima IPtable ali ne znam kako bi ih iscito i sta je otvoreno a sta zatvoreno, znam samo da sam zatvorio 23 za svaki slucaj iako je bio zatvoren u mojoj seriji rutera.
Vidis ovo postoi a ti nikad cuo, google zna sve, ima i za systemd kako ide samo treba da se nadje.
Problem je samo ubosti sta vazi a sta ne vazi, toliko je nevazecis uputstava za linux da je to vec horor, sad prednjace sa bacportom plasme 5.x a ono zadnje u backportu 5.6.5 a
oni daju uputstvo da iz tog repozitorijuma stavis 5.8.3 ili 5.7.5 koji ne postoje u tom repozitorijumu.
[Ovu poruku je menjao lega99 dana 18.11.2016. u 13:14 GMT+1]