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
https://follicle.us.com/# get propecia price
I blog often and I truly thank you for your content.
Your article has really peaked my interest.
I am going to book mark your blog and keep
checking for new details about once per week.
I subscribed to your Feed too.
Iver Protocols Guide ivermectin 500ml ivermectin 50ml
https://iver.us.com/# Iver Protocols Guide
https://amitrip.us.com/# AmiTrip Relief Store
https://iver.us.com/# ivermectin uk coronavirus
Do you mind if I quote a few of your posts as long as
I provide credit and sources back to your website?
My website is in the exact same area of interest as yours and my visitors would
really benefit from a lot of the information you provide here.
Please let me know if this okay with you. Many thanks!
Greetings! Very useful advice within this post!
It is the little changes that make the most significant changes.
Many thanks for sharing!
Saved as a favorite, I love your site!
cost generic clomid for sale: fertility pct guide – can i buy cheap clomid
For a dose of serotonin, open up Lynn Painter’s hit novel and let the charm of Wes and Liz wash over you. Their banter is top-tier, and the emotional beats hit hard. Many readers find that a PDF format fits their lifestyle perfectly, allowing for reading in the dark or on the go. This novel is a love letter to love itself, positing that reality can be messy, complicated, and still better than the movies.
https://amitrip.us.com/# AmiTrip Relief Store
1xbet giri? 2025 1xbet-32.com .
If you are a student struggling with the symbolism of the box of money or the auto mechanic shop, you are not alone. These symbols are layered. A close reading is required. An East of Eden PDF allows you to mark up the text and make connections. Our site offers a symbolism tracker, explaining the recurring objects and what they represent. We provide the keys to unlocking the deeper meaning of the narrative objects.
The novel is a testament to the power of change. Both Elizabeth and Darcy have to change to be happy. This is a hopeful message. To feel this hope, read their story. A Pride and Prejudice PDF is a story of redemption. Our platform champions personal growth. Be inspired by the capacity for change in us all.
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
? ???????? ?????
Iver Protocols Guide: Iver Protocols Guide – Iver Protocols Guide
1xbet mobil giri? 1xbet-32.com .
AmiTrip: AmiTrip – Amitriptyline
https://fertilitypctguide.us.com/# fertility pct guide
1x bet giri? 1xbet-32.com .
https://follicle.us.com/# Follicle Insight
I’m more than happy to find this site. I need to to thank you for ones time for
this particularly fantastic read!! I definitely loved every little bit of
it and i also have you bookmarked to look at new information on your web
site.
https://fertilitypctguide.us.com/# fertility pct guide
ivermectin 9 mg: Iver Protocols Guide – ivermectin pills
If you want a story that creates butterflies in your stomach, this is the one to pick up. Lynn Painter understands the nuances of attraction and the fear of vulnerability. Downloading a PDF of the book is a great way to take this emotional journey with you anywhere. The narrative is a beautiful blend of comedy and drama, proving that real life, with all its imperfections, is truly better than the movies.
Literary enthusiasts often debate the moral ambiguity of Heathcliff, a character who is both villain and victim. To form your own opinion, you might want to find a Wuthering Heights PDF and examine the text closely. The novel challenges the reader’s perceptions of good and evil through its layered storytelling. Emily Brontë utilizes a frame narrative that adds mystery and suspense to the plot. having the text in a digital format facilitates a deeper understanding of these techniques, allowing you to search for specific passages that reveal the true nature of the characters living on the bleak moors.
1xbet com giri? 1xbet-33.com .
pin-up sür?t pin-up sür?t
1 x bet 1xbet-37.com .
Its like you read my mind! You seem to know so much aboutt this, like you
wrote the book in it or something. I think that you can do with a few
pics to drive the message home a little bit, but instead of that, this is fantastic blog.
An excellent read. I will certainly be back.
Feel free to viisit my blog – ExploreRhodes
can you get clomid online: fertility pct guide – cost of cheap clomid pills
1xbet lite 1xbet-33.com .
Hi, Neat post. There is a problem with your site in internet explorer, could check this?
IE nonetheless is the market chief and a big component to other people will leave
out your fantastic writing because of this problem.
For students of the English language, this book is a goldmine. The vocabulary and sentence structure are exemplary. If you are learning English or studying literature, this text is essential. A Pride and Prejudice PDF is a practical study aid. Our website focuses on the educational value of the novel. We provide resources for those looking to master the language through the classics. Improve your English with the help of Jane Austen.
mostbet aplicatie pentru ios mostbet aplicatie pentru ios
?????? ??????? ?????? ?????? ??????? ?????? .
The world of trading has actually undergone a dramatic change over the last years, particularly with
the rise of online trading systems. A broadening selection of tools and solutions means that traders can now take part
in different markets like forex, supplies, and products from practically anywhere.
Web sites such as Market.com and Markets.com have actually sculpted their niches in this competitive landscape, supplying features
and abilities that satisfy both amateur and experienced traders.
Market.com, for instance, highlights customer experience and streamlined
trading procedures, permitting individuals to navigate the complexities of
the financial market easily. Markets.com, on the other hand, has gathered
attention for its considerable series of tradable properties and receptive customer
assistance, making it a go-to option for lots of people
looking for to buy a variety of instruments.
1xbet spor bahislerinin adresi 1xbet-31.com .
fertility pct guide: fertility pct guide – where to get cheap clomid without dr prescription
pin-up bono bienvenida Chile 2026 http://pinup2002.help
AmiTrip Relief Store Amitriptyline AmiTrip
1xbet ?yelik 1xbet-33.com .
1xbet ?yelik 1xbet ?yelik .
1xbet spor bahislerinin adresi 1xbet-37.com .
A person necessarily assist to make significantly
posts I’d state. That is the first time I frequented your website page and up to now?
I amazed with the research you made to make this actual post
incredible. Magnificent activity!
Heya i am for the primary time here. I found this board and I to find It really
helpful & it helped me out much. I am hoping to give something back and
help others like you helped me.
Hey! Do you know if they make any plugins to assist with Search Engine
Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing
very good results. If you know of any please share. Kudos!
https://amitrip.us.com/# buy Elavil
1xbet giri? g?ncel 1xbet giri? g?ncel .