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
?????? ?????????? http://www.melbet90162.help
strategie aviator 1win strategie aviator 1win
best mail order pharmacy FormuLine Pharmacy trustworthy online pharmacy
SteadyMeds: ?»?canadian pharmacy uk delivery – canadian medications
1win terms and conditions https://1win21894.help
Hi there! I know this is kinda off topic but I was wondering which blog platform are you using for this website?
I’m getting sick and tired of WordPress because I’ve
had problems with hackers and I’m looking at alternatives for another platform.
I would be awesome if you could point me in the direction of a good platform.
mostbet pul tushmayapti https://mostbet20814.help
http://steadymedspharmacy.com/# SteadyMeds
recommended canadian pharmacies: canadian pharmacy ltd – pharmstore canada
http://accessbridgepharmacy.com/# AccessBridge
mines game 1win mines game 1win
https://steadymedspharmacy.shop/# SteadyMeds
mostbet rasmiy promo kod http://www.mostbet20814.help
how to install 1win app on iphone how to install 1win app on iphone
mostbet uzcard yechish mostbet uzcard yechish
farmacia mexicana en chicago AccessBridge Pharmacy AccessBridge Pharmacy
SteadyMeds pharmacy: vipps approved canadian online pharmacy – SteadyMeds pharmacy
?????? Zona-Novinki — ??? ???? ????? ??????? ????? ??? ???????
?????? ??? ???????, ????? ????? ??????? ??? ????????, ???? ?????, ?????? ?????? ??????? ? ????????, ? ???????, ??? ??????????, ??? ? ?? ????? ? ????? ??????? ??? ?? ?????????, ?????????? ?????????? ??? ? ????????? ??? ?????? ??????, ??????? ????? ??? ??? ??????. ???????? ?? ? Zona-Novinki ??????, ??? ? ???? ???? ?????????? ???????? ?????? ?????? 2026
?? ??????? ???? ?????? ?? ??? ????, ????? ???????? ???? ??????????? ?????. ???? ?????? — ????????? ???? ?????. ?? ?????, ??? ?? ?????? ? ????????: ?????????? ?????, ????? ??????? ??? ???????? «?????????» ???? ? ??????, ?? ???????? ?? ????? ?????. ??????? ?? ???????? ???? ?????? ??, ??? ??????? «????????»: ?????? ??????? 2026 ????, ??????? ????????? ? Instagram ? Telegram, ????, ?? ??????? ?? ????? ????????? ????, ? ???????, ??????? ?? ?? ??????? ?? ?????? ?? ???????? ?????????? ??-?? ??????????????? ??????.
1win stare server https://1win26495.help
melbet ???????? ??????????? https://melbet90162.help/
MRKT ????? CS2 ?????? ??? ?????
????? ?????? ? ?????? Valve ???????????? ????? ???????? ?????????, ??? ?????? ????? ???????? ???????? ? ?????????? ?????????. ????????? ???? ???????? ???????? ???? ?????? ? ????? ??????? ???????????? ????????.
??? ????? MRKT ?????
??? MRKT ?????????? ???????? ????? ??????? ?????????, ? ?? ????? ?????????? ????????. ????? ??????? ?????????? ?????? ????????, ?? ??????? ??????????????.
??? ???????? ?????
??? ?????? ????? ????? ????????? ???????? ????????:
– ????????? ?????? ?? ????????
– ??????? ?????????? ?????????
– ????? ?????? ?? ???????????
Factory New ???????? ????, ????? ??? Battle Scarred ????? ?????????.
?????? ??? ? ???????
????? ??????????????? ????? ??????? ??????? ?????????. ???? ??????? ?? ??????? ? ?????. ????? ?????????? ?????? ?????? ????? ?????????? ????.
????????? ?????, ???? ?? ?????????? ????.
???????????? ??? ????????
? ?????? ? ?????? ???????????? ?????? ???????? ?????????:
– ??????????? ??????????? ?????
– ????????? ?????????????? ??????
– ????????? ??????
????? ??????????? ????????????, ??????? ?????????? ?????? ????????.
?????????? ? ?????
????????? ???????? ????? ????????? ??? ??????. ?????? ???? ?? ???????? ?????? ? ???????? ???? ??
?????? ????? ???????? ????????????, ??????? ????? ?????????????? ??????.
?????????? ????????
????? ?????? ??????????:
– Buff
– ??????????? ????????
– ?????? ??????
?????? ????????? ????? ???? ?????, ??????? ????? ????????????? ????? ???????.
??????????
????? MRKT ?????? CS2 — ??? ???????????? ?????, ??? ?????? ???? ??????. ????????? ?????? ? ???????? ? ????????????? ???????? ???????? ????????? ?????????? ????? ? ?????????.
https://formulinepharmacy.com/# legal online pharmacies in the us
medicine online: best online pharmacy india – secure medical online pharmacy
?????? ????? ?? ?????????? http://melbet10463.help/
??????? ??????? ?????????? ? ???????????? ????? http://mostbet18374.help/
JetX ?????? ? ??????????? ?????????? crash?????
?????? ? ????? JetX ?????? ????? ??????????? ????? ???????, ??????? ????? ?????????? ? ??????? ???????????. ???? JetX ????????? ? ????????? crash????, ??? ????????? ??????? ?? ?????????, ??????? ?????? ?? ?????????? ??????? ?????????. ?????? ?????? — ?????? ??????? ??????? ?? ????, ??? ????????? ???????????.
????????????? ????????? ???????? Smartsoft Games. ????????? ??????? ???????? JetX ????? ?????????????? ? ?????? ?????????????.
???????? JetX
??????? ??????? ? JetX ?????? ???????? ?????. ????? ??????? ?????? ????? ?????? ????. ????? ????? ?? ?????? ?????????? ???????, ??????? ???????? ???????????, ? ????????? ??????? ?????????? ?????????????.
???????? ?????? — ??????? ?????? ?????? ??????? ???????. ???? ????? ???????? ??? ??????? ?? ???????, ????? ????? ??????????, ?????? ?????????? ?? ??????? ?????????. ???? ??? — ?????? ???????.
???????????? JetX
JetX ?????? ?????????? ??? ???????????, ????????? ??????? ???? ????? ??????????:
– ??????? ???????
– ?????????? ??????? ???????
– ?????????????? ????? ????????
– ??????? ????????????? ?????????
????? ????, ????????? JetX ???????????? ??????? ????????, ??????? ????????? ?????? ????????? ? ????????? ?????? ??? ???????.
????????? ???? ? JetX
???????? ?? ??, ??? ???? ???????? ?? ???????????, ?????? ?????? ?????????? ?????? ???????.
?????? ???????? ???????
????? ???????? ??????? ?? ?????? ?????????. ????? ?????? ????????? ???? ?????????? ??????.
???? ?? ??????? ?????????????
????????? ?????? ???? ??????? ???????. ????? ????? ????? ???????? ???????????? ???????, ?? ? ???? ??????? ??????????? ???? jet x ??????????? ????
?????? ? JetX ??????
?????? ??????? ????????? ?????????? ????????? ????????? ??? ???? ? JetX ??????. ????? ???????? ????????????????:
– ????????? ?????
– ???????? ??? ???????? ??????
– ??????
????? ??????????? ???????? ???????? ?????????????? ???????? ??? ??????.
?????????? JetX
????????? JetX ???????? ?? ?????? ?????????? ?????????. ??? ????????, ??? ?????? ????? ?????????.
? ???????????? ??????? ?????????? ????? ???? ???????? ????????????.
???? ? JetX ??????
???????? ? ????? JetX ?????????? ????????????? ???????????. ????????? ??????? ????? ???? ???????? ??? ????????, ??? ? ??????? ???????
http://accessbridgepharmacy.com/# order medication from mexico
Great article, totally what I wanted to find.
1win keno http://1win21894.help
mostbet rulet https://mostbet20814.help/
1win ?????????? ? ????? 1win ?????????? ? ?????
pharmacy no prescription required: FormuLine Pharmacy – foreign online pharmacy
SteadyMeds pharmacy: real canadian pharmacy – SteadyMeds
https://accessbridgepharmacy.shop/# AccessBridge
http://formulinepharmacy.com/# legal online pharmacy
mostbet ??????????? ???? ?????????? http://mostbet18374.help
plinko 1win Moldova https://www.1win14578.help
AccessBridge: AccessBridge – AccessBridge
best rated canadian pharmacy: SteadyMeds pharmacy – SteadyMeds
1win promo code ios 1win promo code ios
how to contact 1win live chat https://www.1win21894.help
https://accessbridgepharmacy.com/# mexican pharmacy online
mostbet natija tekshirish mostbet natija tekshirish
mostbet virtual ot poygasi https://www.mostbet20814.help
SteadyMeds: SteadyMeds pharmacy – legitimate canadian online pharmacies
mostbet r?smi sayta daxil ol http://mostbet2014.help
Thanks for sharing your thoughts on Cyberpunk 2077 collectibles.
Regards
Feel free to visit my page – Earnshortener.com
new pharmacy online FormuLine Pharmacy medicine online order
SteadyMeds: canadianpharmacyworld com – canadian online pharmacy reviews
online pharmacy no rx: FormuLine Pharmacy – overseas pharmacy no prescription