Ftp Stops As Well As Firewall Stops

Hi,

I am running a centOS 6 server , with public ip as web-server. Sometimes the ftp service & firewall ( system-config-firewall) gets dead /crashed.

i have to start messagebus service in-order to start firewall.


what is the real cause of this issue ? Dos attack ?

netstat doesn't show any unusual ip connections


Similar Content



Firewall-cmd --state "not Running"

I have been flailing trying to get a web server running on Fedora 21.

Finally did so.

I have my iptables working (me thinks) as they should. I can connect from my Linux box (local) or from my Mac on the same network/subnet.

Problem is in my "travels" I have somehow trashed my firewall-cmd.

I was adding parameters to it w/o issue. E.G
firewall-cmd --zone=public --add-port=80/tcp --permanent
Then restarting firewall-cmd
firewall-cmd --realod

This was all working. I "fixed" my problem with connecting to my web server from other LAN workstations (iptables issues) and was going back to see if all was well. Now when I try to restart I get a:
FirewallD is not running
That from my "reload" command above.

Have I fixed my web server issue or is my world wide open att?

Assistance, as always, greatly appreciated.

Skip

Problem With Firewall. :(

Hi,
i have a index page in /var/www/html, from the local machine i can open the page as localhost or the machine name even the firewall is on or off, But when i type the ip of the machine in another LAN pc it automautically navigate to another folder say like 192.168.1.1 enter -> 192.168.1.1/newpage and gives out 404 error when the firewall is up but i get the page when the firewall is down what do i do?

Screen Sharing In Fedora 20

hi,

I am using fedora core 20. To access desktop from remote I followed the instructions mentioned in the website.

http://hex.ro/wp/blog/fedora-20-remo...rom-windows-7/

1. Settings -> System -> Sharing – enable Sharing then for Screen Sharing enable it and then enable all checkboxes
2. Added port in firewall
#firewall-cmd --add-service=vnc-server
3. Set the command
# gsettings set org.gnome.Vino require-encryption false

From other machine, using Tight vncviewer when I entered the IP address of this machine, I get full black screen. Please help me in this regards.

Thanks in advance.
uv.

Firewall Setup


I have an Intel x86_64 system running rhel 7.0 I want to use this system as a Firewall. The system has two NICs. one NIC is defined with the static IP address from my ISP. The other NIC is also static i.e. no dhcp, and is assigned a LAN addrs of 192.168.10.6 It is plugged into a switch (192.168.10.1) that has other three devices plugged in. Each with it's own hard-coded LAN address (Netmask is 255.255.255.0) I have two zones active in the firewall config External (using the static ip from the ISP) and Internal (using the IP addrs of 192.168.10.6) I'm forwarding the following two ports 80 & 443 in both zones. External zone: ports 80 & 443 are forwarded to my switch (192.168.10.1) Internal zone: ports 80 & 443 are forwarded to my static IP addrs from my ISP. I have IP masquerading turned on in the External zones. However none of the other workstations (Windows 7 professional) and my "smart" TV (netflix access) are able to access the internet. Again I'm NOT using any dhcp, all IP addresses are hard coded. I can ping any LAN address from any LAN node. The Linux FW machine can access the internet. I've read thru the RHEL 7.0 Security guide regarding setting up the firewall and I believe I have all the elements defined properly ... It just doesn't work. I have the same set of DNS values defined on all systems.
They are the three DNS servers assigned by my ISP. I have ipv4 forwarding active on my Linux system. I have masquerading "turned on" in the External zone. The resolv.conf file has the ip addresses of the DNS servers as well as my switch.
However the windows 7 systems and my "smart" TV cannot access the internet.
Anyone who's really familiar with rhel firewall-config GUI and has any suggestions please respond.
Thanks
Guy

Gufx Firewall Sufficiency

Hello!
I'm pretty new to the world of Linux. Right now I use Ubuntu Desktop 14.04 Later down the road I plan to install LAMP to try to run a web server.
Generally speaking, I prefer GUI (as most people, I guess), though I have no problem with CLI (remember myself in 1990 with MS-DOS).
As a regular user I don't think I really need a firewall in Ubuntu. Sticking to installation defaults is fine by me. But as an admin of a web server, I would think that I'm gonna need something beyond the Desktop ed. defaults security-wise. I'm aware of IPtables, of course. But to me it seems a little bit too much to learn, too steep of a learning curve right now. Then there's ufw.
And a GUI front-end of it, which is Gufw. Here opinions vary. Some say, I must learn IPtables, others think that Gufw does its job fine.
So what I'm asking here is not just an OPINION, but also a reasoning behind it. Real life example maybe etc.
Thank you.

Iptables Question

Hi,

So, I am learning meteor.js and signed up for a (cheap, i.e no support) VPS to host my Meteor app. Everything is running fine but I am trying to understand better how Linux works so here is my question:

I am running CentOS 7 on the VPS but it still uses iptables for its firewall.

I had to enable port 80 to access the web server. However, if I reboot the server, it stops working until I do
Code:
iptables -F

Then everything works. But I am thinking that -F might not be the best thing. I have changed the default SSH port from 22 to something else and that also works but I don't think I ever added it to the iptables rules.

If I do a port scan, the new SSH port is indicated as open as well as port 80 but others are closed as they are supposed to be.

Any idea what is doing on behind the scenes that requires iptables -F for the web access to work properly and if I shouldn't be doing iptables -F (I have it in the rc.local file), what is the right way of doing it?

(BTW, I am computer literate but not that familiar with Linux, which I am trying to learn now.)


Kamal

Why Did My Firewall Start

hi experts

i got a centos instance that I recently rebooted, after reboot I found the iptable is running. previously i had turned it off but for some reason it started again.

this is the run level for ip table:
Code:
0:off 1:off 2:on 3:on 4:on 5:on 6:off

I am trying to figure out if with this combo, iptable auto starts? because 6 is for system reboot and if it was off then that means it shouldn't be started right?

thanks

What Could Be Blocking Incoming Connections To My Program?

Hi all,
I am brand new to Linux, playing around a bit with different things to see how I can use it in the future. Here is my problem:

I have written a simple program in Ada that works well on windows. It opens a TCP port (20000) and listens for incoming connections. I tried it on my internal network and it works well. I can connect from other windows machines and even from my Linux machine.

Now I moved the program to Linux and compiled it there. It starts ok and then listens for the connections. I can connect to it from that same Linux machine but not from any other machine on my network.

I checked the firewall status on Linux with ufw status and it is disabled. I also tried to add a rule to the iptables with
iptables -A INPUT -p tcp --dport 20000 -j ACCEPT

but still nothing. I can not connect from another machine on my network. I also tried to open a simple telnet connection from a windows machine and that too is blocked. I thought without the firewall all incoming connections would be allowed but obviously something is not working as I thought.

Any help would be greatly appreciated

To Do Port Forwarding For Ssh In Centos

On my firewall I have mapped external port 2022 with internal port 22 for my public ip.
But when i do #ssh <my public ip> 2022
It shows error that verification failed.

Samba Won't Start/stop Via Webmin -- Ubuntu 12.04

I have a vps with Ubuntu 12.04 that I'm in the process of configuring. I have configued samba and been able to mount a share from my local computer to my samba share on my remote vps.

The issue is that when I go into the Samba server module and I click start, stop or restart it has no effect what so ever. I can ssh into the terminal and run $ sudo service smbd start and that will work (as well as stop/restart). However it will not work within Webmin.

I then went to the module configuration and changed the start command to: service smbd start and the same for the stop command (with "stop" though).

I then when to System > Running processes and saw that smbd is running however the list is showing "is running now" as NO. I click the start/stop button within this section and it doesn't work again.

Can anyone please help me figure this out?

Webmin 1.5.9
Ubuntu 12.04