My VPS 1 Firewall issue - Printable Version +- Post4VPS Forum | Free VPS Provider (https://post4vps.com) +-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion) +--- Forum: VPS Support (https://post4vps.com/Forum-VPS-Support) +--- Thread: My VPS 1 Firewall issue (/Thread-My-VPS-1-Firewall-issue) |
My VPS 1 Firewall issue - Melvin - 07-09-2019 i don't know whats wrong with my vps 1 firewall it's blocking each site trying to connect it even i tired to change the os multiple time i doesn't work i really need a quick solution for my issue my primary issue is i installed agent on my vps and tired to connect it with different OGP web panel on a different site my os centos centos-7.6-x86_64 RE: My VPS 1 Firewall issue - chanalku91 - 07-09-2019 You have to open the port on your vps so that OGP can connect to its daemon! Exp firewall-cmd --zone=public --add-port=12345/tcp -permanent firewall-cmd --reload RE: My VPS 1 Firewall issue - Manal - 07-09-2019 The most common solution for one of the most common problem for ogp is Check if your ogp agent online. Check if you've restarted your machine after installing agent (if not, do it) and then start again(if not set to auto start on boot). RE: My VPS 1 Firewall issue - Melvin - 07-09-2019 (07-09-2019, 01:02 AM)chanalku91 Wrote: You have to open the port on your vps so that OGP can connect to its daemon! i switched the os now for debain 9 could you give me the commands again RE: My VPS 1 Firewall issue - chanalku91 - 07-09-2019 Um, by default Debian lets the connection open! But if you really need it you can use the command iptables -A INPUT -p tcp --dport 8080 ACCEPT RE: My VPS 1 Firewall issue - Rehan - 07-11-2019 I am facing same problem.I am unable to host my gaming server on VPS.I don't know what is problem.I asked many of my gaming friends and they told me that i should open port. I tried adding rule with " sudo ufw allow port " also tried disabling the ufw " sudo ufw disbale ". I don't know what is the problem.I was going to start a new thread for the same problem then i found this so i thought i should ask here in the same thread. Here is the full information about i tried. Used the ufw for opening port. Code: sudo ufw allow port Code: sudo ufw disable I searched the forum and found a tutorial about iptables configurations.I found a guide about its configuration. https://post4vps.com/thread-2643.html In that thread i started the steps to secure firewall.Unfortunately on step two when i input the command Code: iptables -P OUTPUT ACCEPT I have not started another thread cuz @Melvin is facing same problem.So posted a reply here. @chanalku91 i used that command. ( I am using Ubuntu ) It shows bad arguments " ACCEPT " About my Gaming Server, i am sure that is fine cuz i tested it on 2 different VPS's.I have tried all methods i found on Google Search.I think maybe Host4Fun has blocked gameserver. RE: My VPS 1 Firewall issue - Mashiro - 07-11-2019 (07-11-2019, 11:53 AM)Rehan Wrote: I searched the forum and found a tutorial about iptables configurations.I found a guide about its configuration. Have you paid attention to the explanation of the commands that was under the commands? Code: Incoming traffic is blocked by default unless allowed through additional rules. --> Incoming = INPUT --> iptables -P INPUT DROP That means you have executed the command when directly connected via SSH. That's a bad idea if you understand what "blocking traffic" means and have read the explanation for the commands. As soon as you run "iptables -P INPUT DROP" all incoming traffic is instantly dropped. This cuts all connections including SSH instantly. Be careful! It would have been better if you would have ran these commands through a VNC or emergency console that is provided by the control panel of your VPS or a script that runs all the commands and therefore unlocks traffic to port 22 and etc. RE: My VPS 1 Firewall issue - Melvin - 07-12-2019 any other solution ? nonne solved my issue as i said i installed the web panel on a web hosting and agent on my vps the issue that i face is The Agent that is controlling this server is offline IP RE: My VPS 1 Firewall issue - Rehan - 07-12-2019 (07-12-2019, 02:09 PM)Melvin Wrote: any other solution ? nonne solved my issue as i said i installed the web panel on a web hosting and agent on my vps the issue that i face is The Agent that is controlling this server is offline IP I think that there is nothing left to find.I searched google and tried every single solution in google top 10 search result.I also asked my gaming experts none of the method works.My gaming server is only visible to me.I tried disabling the firewall, enabling and opening ports with different methods i found on google.Its almost 4 days i am trying to search for the solution. Nothing works i am sick tired and decided to buy an alternate for gaming server and use this for blogging.I am still searching for solution and if i find, i shall share. RE: My VPS 1 Firewall issue - Melvin - 07-12-2019 (07-12-2019, 05:00 PM)Rehan Wrote: I think that there is nothing left to find.I searched google and tried every single solution in google top 10 search result.I also asked my gaming experts none of the method works.My gaming server is only visible to me.I tried disabling the firewall, enabling and opening ports with different methods i found on google.Its almost 4 days i am trying to search for the solution. Nothing works i am sick tired and decided to buy an alternate for gaming server and use this for blogging.I am still searching for solution and if i find, i shall share. @deanhills won't believe when i told him there is no solution for such a problem we want the solution, we tired a lot but after a hole week of searching and trying and reforming the vps thousand time its the time to give up and ask for a change really disappointing. |