I am trying to setup iptables + tunnel via ssh and just can't succeed with this.
I am trying to setup a tunnel:
ssh -N -f -L 8500:localhost:8500 root@<ip-of-the-server>
And the connection is dropped due to last row:
sudo iptables -A INPUT -j DROP
Question: what should I include in iptables to allow such a tunneling from specific IP ie my computer?