LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   For the Love of God, how do you open ports in linux please! (https://www.linuxquestions.org/questions/linux-networking-3/for-the-love-of-god-how-do-you-open-ports-in-linux-please-169313/)

vladdy2004 04-12-2004 05:32 PM

For the Love of God, how do you open ports in linux please!
 
Ok after three days of messing with this. If you have a linux Firewall and another ISP requires port 8087 to be opened to connected to their control panel What on earth is the file you edit?? I have tried iptables etc..there's another file somewhere that I edited before I reinstalled that did the trick but cannot rememember. I do remember that I added it to the "Safe
ports" section.

I typed this in and saved it and even rebooted to no avail.

iptables -A INPUT -p tcp --dport 8087 -j ACCEPT..

Did not work. If I plug in my dlink router it works fine! Where is this file that I edit??

Can anyone help please??

Thanks!

Gnuru 04-12-2004 06:11 PM

Presumably your ISP needs you to connect to their port 8087, rather than for them to connect to yours.

iptables -A OUTPUT -p tcp --dport 8087 --sport 1024:65535 -j ACCEPT
iptables -A INPUT -p tcp --sport 8087 --dport 1024:65535 -j ACCEPT


All times are GMT -5. The time now is 05:10 PM.