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.
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
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
AOA
Good Morning!
first of all Congratulation to run a tremendous site, which help the needy and passionate people. I want to learn that but i cant find a right person.
Actually in our environment, we run Oracle Red-hat Linux 5.9.
I want to become a Linux administrator.
I have following experience of Oracle Red-hat Linux 5.9.
1. Linux Installation 5.9
2. Driver installation
3. IP Installation
4. How to set admin password
5. How to join domain
6. How to set system name
7. How to check system partition drives
8. How to access any specific folder
9. How to install specific software
10. How to off firewall
I would like to request the admin please, i want to do something new in Linux if anyone help me for learning...
My best wishes always with this side and specially for admin. you are really spread a right and useful information...
thanking you,
Best Regards,
Kamran Ali
I am an older, competent, windows user who would love to migrate to Linux. Unfortunately there is no easy path. Linux seems to be a program written by geeks who want it to be different, forcing a windows user wanting to move over to completely learn a new way to use the internet. Even moving to Apple is easier. To learn Linux is like forcing us to learn Chinese from scratch. That will not happen.
Unless a pathway, or a bridge, which is "somewhat" like windows is provided so we can assimilate into this new OS called Linux, I, we, will never really accept Linux to replace Windows. Even though we want to get away from Windows, there is no way to do it, because Linux is just too different to easily learn. I can play with Linux, but that is all I can do - play with it, not use it on a daily basis.
SAD.
And here we are, going to be forced to accept Windows 10 as the next OS, and I have nothing to say about it, for MS will soon kill Win7 like they killed XP, and force me to go to Win10, when I don't want to. I would love to use Linux, but the learning curve is just toooooo steep.
SAD
It would be nice to have a version which would make moving from Windows to Linux easy. The reality is, though, Linux is an OS for the younger geeks, or experienced programmer, not an OS for the avg user. Why can't that change? I realize this is an age old question, which has been around for years, but I'm realizing it is now becoming a reality I need to face.
Ok I'm really new at this . Not the old DOS I'm used to. I'm trying to setup my home server using Ubuntu 12.0.4, I've had no success. I have an actual raid sever I'm using. Loaded first HD with Ubuntu 12.0.4, now trying to setup so I can access from anywhere. Remember I'm a newbie so try and keep it simple until I learn Linux. I have my router setup for port forward using 192.168.100 port 21. everything I looked at so far is pretty complicated for a new user. Any help would be great.
hello all at linuxquestions
first off would just like to say how useful this resource is, Ive been setting up a VM server in lubuntu recently and this site has given me alot of help and helped me get it off the ground. Im certainly a linux noob and only been messing around in linux for a week, so please forgive me for any derpy terminology
anyway, I installed lubuntu onto a VM as an intention to use it as a server
to be honest it was an ISO I had lying around and due to it being "light" I just went for it
however I have since discovered ubuntu do a flavour known as "ubuntu server"
first off..
what is the difference between ubuntu server and regular ubuntu/lubuntu etc?
is it just that it does not load a full fat gui?
if there is a big diffrence would it be easy to "turn" lubuntu into ubuntu server? since they are sort of based off each other?
secondly, lubuntu loads up lxde upon boot, I was wondering if there was a way for it to just boot up without the gui with the option to turn it on via shell (startx etc)
this is because I have little ram to play with but I also like to use the GUI sometimes when needing to do certain admin stuff, for example I use steam via Wine to download steam games sometimes
I was pondering the idea of installing ubuntu server and then downloading the lxde desktop and going that route, but Im not sure if it would bring any benefit opposed to just modifiying my current lubuntu installation
any advise or tips would be welcome
thanks!
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
Hi all! Just joined. First post.
Looking around Amazon.com I see that there are a lot of books out there. I was wondering if there were a small number that were generally considered to be the best for a newbie to learn Ubuntu and the command line.
I am a Windows refugee having bought a clean machine from System76 in May 2014 with Ubuntu 14.04 LTS installed. I got my first computer back in the early 90's and actually liked DOS! Kind of full circle I guess.
Any suggestions are appreciated.
Thanks!
Kevin
I am appearing for RHCSA exam next week. I want to ask a simple question. CAN I DELETE FIREWALL RULE in RHCSA exam.
# service iptables stop
# iptables -F
# service iptables save
Any tips/suggestion for RHCSA exam would be really appreciated.
Thanks
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