Jump to content

port forwarding does NOT work


dony71

Recommended Posts

I run mpd on port 6680 in OPi

No problem if reaching in local network (localhost:6680)

Now I try to reach from internet, but verifying with http://www.yougetsignal.com/tools/open-ports/

port is still closed. I try forwarding all other port in OPi like sshd port 22 also closed

I'm pretty sure I set correctly port forwarding in my router because my NAS can work with same iptables rule. It seems something wrong in OPi setting, but couldn't find out what's wrong. Anybody help?

 

#iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
 
#netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0            0         *:6680                               *:*                     LISTEN

 

Link to comment
Share on other sites

1. port forwarding on OPI not needed ( see above post by @martinayotte )

2. Make sure OPI is defined with static IP in /etc/network/interfaces and use this IP to configure port forwarding on the router.

3. Restart router after configuration changes

 

 

Good luck.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines