To understand better please look this short video
I can not solve a problem about a problem of dialogue between iptables and security group of EC2
The only way to connect to server using my elastic public is IP 35.156.xx.xx:27015 seems to set on EC2 this rule:
Custom UDP Rule UDP 27015 0.0.0.0/0
BUT this is not enough because I have to use this command from terminal to unlock connection
iptables -F
In one picture I set this configuration http:// i.imgur.com/X12Iq9X.png
But what is sense to clear all rules temporally ? Why flush all chains ? Is not dangerous ?
These rules from terminal are no effects
iptables -A INPUT -p udp --dport 27015 -j ACCEPT
iptables -P OUTPUT -p udp --dport 27015 -j ACCEPT
iptables -A INPUT -p tcp --dport 27015 -j ACCEPT
My relevant data is this - I copy on pastebin because it is little too long Link: http://pastebin.com/bmxcF2kV