Hello,
I have a website that uses JFBConnect to logon with Facebook credentials, it works perfectly. However, I have attempted to button-up my ports with iptables and have run into an issue where the auto-login times out.
If I simplify my iptables, I get a timeout initiating the auto-login feature:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
However, if I remove the "DROP all" directive (or flush all the rules to ACCEPT everything) the handshake works properly.
I realize that this is probably more of an iptables question, but I was hoping someone could explain how the JFBConnect handshake works so I can understand which rules need to be defined and implemented.
Thanks in advance