Ya tienes Linux funcionando y puedes entrar a las paginas de internet pero….. alguien mas podría entrar a mi maquina ….. aquí tenemos una forma simple de instalar un firewall.
Vamos a explicar la manera fácil y rápida de poder poner tu firewall a funcionar en tan solo 1 minuto.
Primero verifica si tienes {es:iptables} instalado, si no lo tienes usas este código para instalarlo abres el Terminal y escribes:
sudo apt-get install iptables
Después usando el editor de tu preferencia (nano, pico, vi, gedit etc.) harás un script y lo pondrás en “/opt/scripts” y lo vas a llamar “iptables.script”
por ejemplo:
sudo gedit /opt/scripts/iptables.script
El código que pondrás sera:
#!/bin/bash
# descarga todos los enlaces
iptables -F# prepara las reglas de cada enlase pre-definido
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP# permite coneccion establecidas por paquetes que vienen de otras computadoras
iptables -A INPUT -m state –state RELATED,ESTABLISHED -j ACCEPT# no permite que nada mas entre
iptables -A INPUT -i eth+ -p udp -j DROP
iptables -A INPUT -i eth+ -p tcp -m tcp –syn -j DROP# acepta todo de localhost
iptables -A INPUT -i lo -j ACCEPT
Después que este guardado activas el iptables y sabrás si esta funcionando usando:
sudo iptables -L -V
Después generas otro pequeño “init script” para poder activarlo en “/etc/init.d/firewall” este sera el comando que pondras:
sudo gedit /etc/init.d/firewall
Dentro de este archivo colocas el siguiente codigo:
#!/bin/bash
if [[ $1 == start ]] ; then
sudo /opt/scripts/iptables.script
else
sudo iptables -F
fi
Por ultimo lo sincronizas con /etc/rc.* usando las herramientas de “update-rc.d” para que el firewall se active antes que el network:
update-rc.d firewall start 20 2 3 4 5 . stop 99 0 1 6
Y aquí tendrás un firewall simple para que tu computadora este mas segura (no es recomendable para los servidores ya que no dejara que ningún paquete entre).
Ultimos 10 Temas Por Ernesto
- Cables de Network/ Ethernet Cat6 - December 9th, 2019
- Website de la Semana: TechBench (Baja Windows 10 ISO directo de Microsoft) - December 7th, 2019
- Laptop de la semana - December 7th, 2019
- Regresamos en el 2019! - December 31st, 2018
- Programa de la Semana: Windows 7 Recovery CD - January 9th, 2014
- Averigua la información de tu servidor Linux via web - January 7th, 2014
- Baja tus Torrents anónimamente - January 5th, 2014
- Como comprimir un archivo en Ubuntu atravez del Terminal (SSH) - January 5th, 2014
- Actualiza tus Programas de forma fácil. - March 3rd, 2011
- Desactiva tu disco C:\ de ser Compatido "Share" en Windows - March 1st, 2011
I am no longer sure the place you’re getting your info, however great topic.
I needs to spend a while finding out much more or understanding more.
Thank you for excellent information I used to be searching for this
info for my mission.
liraglutide online orlistat
types of semaglutide orlistat
orlistat https://usobesityscience.org/glp-1-agonists/ side effects rybelsus
cheap liraglutide tirzepatide
Advancing Clinical Research in Metabolic Health and Weight Management https://usobesityscience.org/liraglutide-studies/ is rybelsus covered by insurance
buy liraglutide online AMRI
como tomar rybelsus para adelgazar Advancing Clinical Research in Metabolic Health and Weight Management
AMRI https://usobesityscience.org/tirzepatide-analysis/ rybelsus 14mg price
why am i not losing weight on rybelsus Advancing Clinical Research in Metabolic Health and Weight Management
rybelsus 3 mg buy online liraglutide
American Metabolic Research Institute https://usobesityscience.org/ 7 day semaglutide diet plan pdf
Sometimes I think about everything we went through and feel the need to write
it down after my dad chose to start a new life without us.
We lived in a small district in Berlin and our house used to mean safety.
But when the bills started to overflow, we began to lose control.
We tried to hold on, but in the end, we were forced to sell the house.
Her pain made me want to fight for us. I knew I couldn’t just sit there.
So I started reading everything I could online.
That’s when I came across stories of people using
cryptocurrencies and converting them safely into money through trusted platforms.
I told my mother she could explore that—not because I understood everything, but because I wanted to help.
She looked into it, researched for days, and eventually chose Paybis (Paybis).
She said it felt fast and simple.
She closed her eyes for a moment before confirming the transaction.
When it went through, I saw her shoulders relax for the first time in months.
From that moment, our life began to stabilize step by step.
My mom handled everything herself, but she always said my encouragement gave her courage.
I discovered that small ideas can change everything.
Today, we’re rebuilding our life piece by piece.
And every time my mom looks at me and smiles, she reminds me how everything changed the day she found the strength
to use Paybis to convert her crypto into something we could actually live on.
This journey shaped who I am.
cheap victoza liraglutide
victoza weight loss orlistat
liraglutide https://usobesityscience.org/glp-1-agonists/ semaglutide pills weight loss
semaglutide https://usobesityscience.org/tirzepatide-analysis/ cost rybelsus
liraglutide pharmacy semaglutide
buy liraglutide online orlistat
American Metabolic Research Institute https://usobesityscience.org/liraglutide-studies/ what happens if you take rybelsus with food
victoza delivery orlistat
can you take metformin and rybelsus together liraglutide
victoza orlistat
rybelsus fda American Metabolic Research Institute
Howdy! I understand this is sort of off-topic however I had to ask.
Does building a well-established website such as yours require a large amount of work?
I am completely new to blogging however I do write in my diary everyday.
I’d like to start a blog so I will be able to share
my experience and views online. Please let me know if you have any ideas or
tips for new aspiring bloggers. Thankyou!
us obesity science https://usobesityscience.org/liraglutide-studies/ semaglutide not working
Advancing Clinical Research in Metabolic Health and Weight Management https://usobesityscience.org/liraglutide-studies/ is semaglutide safe
semaglutide other names liraglutide
Ahaa, its good dialogue regarding this piece of writing
at this place at this weblog, I have read all that, so at this time me also commenting here.
semaglutide icd 10 tirzepatide
victoza generic semaglutide
Hi to all, it’s actually a pleasant for me to pay
a quick visit this web page, it contains useful Information.
which is better tirzepatide or semaglutide Advancing Clinical Research in Metabolic Health and Weight Management
rybelsus semaglutide tablets glp-1 agonists
Just wish to say your article is as amazing.
The clarity in your post is simply cool and i could assume you’re an expert on this subject.
Well with your permission allow me to grab your RSS feed to keep up to date with forthcoming
post. Thanks a million and please keep up the rewarding work.
Hi, i read your blog from time to time and i own a
similar one and i was just curious if you get a lot of spam remarks?
If so how do you prevent it, any plugin or anything you can recommend?
I get so much lately it’s driving me insane so any help is very much
appreciated.
victoza AMRI
glp-1 glp-1 agonists
semaglutide b12 American Metabolic Research Institute
best online semaglutide glp-1 agonists
It’s perfect time to make some plans for the future and it is
time to be happy. I’ve learn this put up and if I may just I
want to suggest you few interesting issues or suggestions.
Perhaps you could write subsequent articles referring to
this article. I wish to read even more issues approximately it!
glp-1 agonists https://usobesityscience.org/tirzepatide-analysis/ victoza generic
generic liraglutide AMRI
metformin vs rybelsus for weight loss glp-1 agonists
When I originally left a comment I appear to have clicked the -Notify me when new comments are added-
checkbox and now each time a comment is added I get 4 emails with
the exact same comment. There has to be a way
you are able to remove me from that service? Thanks!
There’s certainly a great deal to know about this subject.
I love all the points you have made.
glp-1 agonists https://usobesityscience.org/ liraglutide
Advancing Clinical Research in Metabolic Health and Weight Management https://usobesityscience.org/orlistat-clinical-review/ buy victoza online
glp 1 Advancing Clinical Research in Metabolic Health and Weight Management
?»?buy liraglutide orlistat