centos 7 firewall-cmd --panic-on idle [closed] - centos7

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Here I am exploring the security features, and when I enter "firewall-cmd --panic-on" to the CLI, the system just hangs idle.
Centos 7
Kernel 3.10
I think this is not supposed to happen, b/c as I read the documentation, I see I should be able to firewall-cmd --panic-off, but I cannot even ssh through another terminal unless I restart the server.
Is the system corrupt?
Is there a bug with "firewall-cmd --panic-on"?
How can I figure out the source of the problem?

--panic-on
Enable panic mode. All incoming and outgoing packets are dropped, active connections will expire. Enable this only if there are
serious problems with your network environment. For example if the
machine is getting hacked in.
As this switch drops all incoming connections and kills established active connections, so you can not issue --panic-off using ssh. You have to run firewall-cmd --panic-off using console access. running firewall-cmd --panic-on will apply configuration in runtime level so by simply restarting the server you can access ssh session. never run firewall-cmd --panic-on --permanent you can verify panic status by running firewall-cmd --query-panic

Related

Why doesn't the Ubuntu 22 installer get an IP address on an ESXi 6.7 VM? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 days ago.
Improve this question
Using ESXi 6.7 as the main VM host. Created a VM with the necessary hard disk, CPU and RAM requirements.
Network interface is configured as VMXNET3. However, when the installer gets to the network configuration step, it fails to get an IP address. If I choose the E1000, same result.
What do I need to do for the DHCP process to complete?
Other VM's on the same host are able to acquire IP address without any problems.

Why my school network blocking my login to aws ec2 with putty [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I tried to log in to my aws ec2 instance with putty. Every time I connect to my school wifi it keeps saying connection Time Out. But when I try to connect with my phone network it's working fine again.
I already set the security inbound rules to everyone, only myIP. but still not working.
Here is the error... "Network error!!!Connection Time Out"
Your School wifi must be operating behind a firewall and traffic is filtered. For example - in most companies only few sites are allowed to browse and rest all are blocked by firewall rules.
Port 22 is blocked in most of public networks. You can try connecting putty after connecting from your mobile network.

How to configure VMs to automatically start when the host is on [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm using VMware esxi 5.1.
I have several virtual machines and need to power on them automatically when the host machine is powered on. I tried to go to the configuration tab from vSphere client and checked "allow virtual machines to start and stop automatically with the system", I also set the default startup delay and the order of the virtual machines to turn on, but this did not work. If I restart the host, nothing happens and I need to manually start the VMs. Strange thing is that in the Automatic Startup order all of my VMs have "Startup" "disabled".
I couldn't do anything with this, may be I need to somehow enable it?
How can vSphere be configured such that machines start automatically upon host start-up?
You are halfway there. On your screenshot all of your PCs are shown as "Manual Startup". You need to click the Properties... link at the upper right of this Configuration tab. From there you can configure your machines by moving them up in Startup List to the Automatic Startup section. This also lets you set the boot order for your machines. If you don't care about order you can move them in to the Any Order section.

Is it possible to address localhost from linux ubuntu to a virtualbox virtual machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm working on Linux ubuntu, so to test the page on IE6/7/8 etc I run a virtual machine using virtual box; I also need to see how my localhost looks on IE in a windows virtual box environment).
but I dont want to re install my poroject on, lamp on the vm
In my real machine, I open the website simply using the URL local, how do I address this localhost from my Linux ubuntu to the virtual machine?
Right now my workaround is to use the IP address. Any better ideas?
In the default network configuration (NAT) for VirtualBox you can accesss the host machine with the IP 10.0.2.2, so in the browser you would use that instead of localhost. (I can't find this in the official documentation though?)

How to test internet application at local computer (windows-7)? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
This application sends data periodically to a server. What I need to do is setup a testing environment on the local developing machine so that I can check the correct packets are being sent in each situation. I thought a good approach would be a server VM set up on the local computer which would receive the packets and respond just like the real thing, but the problem is how do I route the packets of an application running on windows to a VM machine. I don't want to modify my application code. I just want to have windows pass on the packets it receives from the application to the VM or otherwise another application that will do the testing. Is this possible? If not, please let me know about any other solution(s) to this problem.
If you're running a decent VM you should be able to give it an IP address visible from the host, and configure it so that you can run web servers on it, ssh to it, etc.
Look at the networking features of your VM. Or find a tutorial on how to do this, such as this one for VirtualBox:
http://www.tolaris.com/2009/03/05/using-host-networking-and-nat-with-virtualbox/
Well it's some kind of a hack but you can use ARP Poisoning (man in the middle attack) to sniff packets. There is a tool named Cain & Abel which can do this for you. I've used this tool to sniff packets between two non-pc machines. Use at your own risk and if your anti-virus tool alerts, know that the tool has no virus but what it does is detected as one.
Edit: Please note that my approach doesn't require a VM server.