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
liraglutide fast delivery Advancing Clinical Research in Metabolic Health and Weight Management
liraglutide https://usobesityscience.org/glp-1-agonists/ glp-1
American Metabolic Research Institute https://usobesityscience.org/tirzepatide-analysis/ rybelsus buy online
affordable semaglutide Advancing Clinical Research in Metabolic Health and Weight Management
??????? ???????? ?? ??? ??????? ???????? ?? ???
rybelsus vs farxiga Advancing Clinical Research in Metabolic Health and Weight Management
victoza generic us obesity science
generic for rybelsus glp-1 agonists
semaglutide reviews before and after orlistat
???????? ?? ??? ???? ???????? ?? ??? ????
Awesome article.
tirzepatide https://usobesityscience.org/ cheap victoza
glp-1 tirzepatide
Great article!
rybelsus 7 mg uses orlistat
tirzepatide vs semaglutide dosage for weight loss orlistat
Hello to all, how is the whole thing, I think every one
is getting more from this website, and your views are nice for new people.
buy victoza online semaglutide
victoza weight loss tirzepatide
semaglutide drops for weight loss liraglutide
Actually when someone doesn’t be aware of after that its up to other users that they will assist, so
here it happens.
glp-1 agonists https://usobesityscience.org/ semaglutide pills weight loss
semaglutide https://usobesityscience.org/ liraglutide price
rybelsus 3 mg precio farmacia guadalajara American Metabolic Research Institute
rybelsus how to get glp-1 agonists
buy liraglutide online tirzepatide
Thanks for the post.
which semaglutide is best for weight loss glp-1 agonists
cheap victoza AMRI
liraglutide https://usobesityscience.org/liraglutide-studies/ ?»?buy liraglutide
buy victoza online tirzepatide
AMRI https://usobesityscience.org/semaglutide-research/ what happens if semaglutide is not refrigerated
cheap liraglutide glp-1 agonists
rybelsus semaglutide tablets American Metabolic Research Institute
glp-1 liraglutide
buy victoza online semaglutide
I am sure this paragraph has touched all the internet people, its really really pleasant piece of writing on building up new web site.
does compounded semaglutide need to be refrigerated tirzepatide
victoza generic us obesity science
??????????????? ?????? ?? ???? ????????????? ??????????????? ?????? ?? ???? ?????????????
Hi there! I simply want to give you a huge thumbs up for your great info you’ve got right here on this post.
I will be coming back to your web site for more soon.
???????? ???????? ?? ??? ?? ???????? ???????? ?? ??? ??
Undeniably believe that which you said. Your favorite justification appeared to
be on the net the simplest thing to be aware of. I say to you, I certainly get irked while people consider worries that they plainly don’t know about.
You managed to hit the nail upon the top and also defined out the
whole thing without having side effect ,
people can take a signal. Will probably be back
to get more. Thanks
Great post however I was wanting to know if you could write a litte more on this subject?
I’d be very grateful if you could elaborate a little bit further.
Kudos!
I’d like to thank you for the efforts you have put in writing this site.
I really hope to check out the same high-grade blog posts by you in the future
as well. In truth, your creative writing abilities has encouraged me to get my very own site now 😉
I have to thank you for the efforts you have put in penning this website.
I am hoping to see the same high-grade blog posts from
you in the future as well. In fact, your creative writing abilities has motivated me
to get my own, personal blog now 😉
orlistat https://usobesityscience.org/glp-1-agonists/ victoza weight loss
can you drink alcohol on semaglutide for weight loss orlistat
glp-1 agonists https://usobesityscience.org/orlistat-clinical-review/ victoza
rybelsus dosing schedule glp-1 agonists