Opening a port

Discussion in 'Systems Administration' started by Atmazphere, May 29, 2016.

Thread Status:
Not open for further replies.
  1. Hello,
    I've recently been trying to open 8192 on my OVH VPS, I opened 25565 successfully, but 8192 will not open.
    Here's the ports, there's 4 ports that are 8192. How do I remove them and add them correctly?

    upload_2016-5-29_18-24-55.png
     
  2. Just flush iptables and re-add everything
     
  3. I fixed, I restarted my VPS and it opened.
     
  4. That's like saying to uninstall a program, reset your PC and reinstall all your programs...

    OP, to remove a rule use iptables -D input
     
  5. I'm tired when I send that so I'll go sleep.. And I was tired by the math examn too..
     
  6. GeorgeHousley123

    Supporter

    You can unblock all ports by running "iptables -F".
     
  7. Try
    Code (Text):

    -I INPUT 1 -i eth0 -p tcp --dport 8192 -j ACCEPT
     
     
  8. just use ufw.

    Code (Text):
    apt-get install ufw
    ufw allow ssh
    ufw allow <your server port>
    ufw allow 8192
    ufw default deny incoming
    ufw default allow outgoing
    ufw enable
    then
    do 'ufw status' to check the rules.
     
  9. I already fixed this.
     
Thread Status:
Not open for further replies.