dony71 Posted November 3, 2016 Posted November 3, 2016 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
martinayotte Posted November 3, 2016 Posted November 3, 2016 If you OPi doesn't act as a router between 2 ethernet ports, there is no reason to add port forwarding on the OPi. If the OPi is inside your network and works perfectly from inside, then your issue is really on your external router.
rodolfo Posted November 4, 2016 Posted November 4, 2016 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.
Recommended Posts