Online games based on others' servers, Dota 2, LoL, HoN.
I've put this line in /etc/rc.local for ip forwarding:
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
I cat those files and can get 1s back.
The strange thing is the games can be lunched and connected to the server but when try to connect (for watching or for playing), it simply tells "cannot establish connection". This error is found in every games we've tried. My second server, which setup same configuration but place in other location, doesn't have any problem at all.
The server is running Ubuntu Server 12.04, is there any filter software or anything? Maybe I should contact VPS provider?
here is iptables -L -n:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thank you, Michael! 🙂