Hello, i setup an open socks proxy on my remote vps:

Code:
ssh -f -N -D 0.0.0.0:1080 localhost
and then allowed only connections from IP of my home computer

Code:
iptables -A INPUT --src myhomeip -p tcp --dport 1080 -j ACCEPT
iptables -A INPUT -p tcp --dport 1080 -j REJECT
but it appears that im failing to connect websites running on non-standard ports like:2087, 8888, 10000 and from yesterday i dont connect at all. After server restart it worked some time, but then connection closed error and cant connect anything thru that proxy.

Can i anyhow veriffy what is happenning on my vps logs? Or i need to do different proxy command above to fix this issue?

iptables -L grep my IP as allowed, not blocked

thx