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://formulinepharmacy.com/# reputable online pharmacy no prescription
melbet ??????????? ???????? https://www.melbet16740.help
mostbet aplica?ia oficial? mostbet aplica?ia oficial?
mostbet zasady wp?at http://www.mostbet2001.help
mostbet free spins https://www.mostbet29401.help
top-rated online pharmacies: FormuLine Pharmacy – reputable overseas online pharmacies
mostbet ??????????? ????? ?????????? https://www.mostbet26849.help
AccessBridge Pharmacy: AccessBridge – AccessBridge
https://steadymedspharmacy.com/# escrow pharmacy canada
medstore online pharmacy: FormuLine Pharmacy – foreign online pharmacy
mostbet retragere MDL mostbet retragere MDL
???? JetX ? ?????? ? ??????????? ?????????? crash?????
????????????? ? JetX ?????? ????? ??????????? ????? ???????, ??????? ????? ?????????? ? ??????? ???????????. JetX ???? ????????? ? ????????? crash????, ??? ????????? ??????? ?? ?????????, ??????? ?????? ?? ?????????? ??????? ?????????. ?????? ?????? — ?????? ??????? ??????? ?? ????, ??? ??????? ??????.
????????????? ????????? ???????? Smartsoft Gaming. ????????? ??????? ???????? ?????? ??????? ???????? ??????? ? ?????? ??????????? ??????.
???????? JetX
??????? ??????? ? JetX ?????? ???????? ?????. ????? ??????? ?????? ????? ?????? ????. ????? ????? ?? ?????? ?????????? ???????, ??????? ???????? ???????????, ? ??????????? ???????? ?????????? ?????????????.
???????? ?????? — ??????? ?????? ?????? ??????? ???????. ???? ????? ???????? ??? ??????? ?? ???????, ????? ????? ?????????, ?????? ?????????? ?? ??????? ?????????. ???? ??? — ?????? ???????.
?????? ?????? ???????? JetX
????????????? ? JetX ?????????? ??? ???????????, ????????? ??????? ???? ????? ??????????:
– ???????? ????????
– ?????????? ??????? ???????
– ??????????? ??????? ??????
– ??????? ????????????? ?????????
????? ????, ?????? JetX ???????????? ??????? ????????, ??????? ????????? ?????? ????????? ? ???????????????? ??????.
??????? ??? JetX
???????? ?? ??, ??? ????? ?????? ?????????, ?????? ?????? ?????????? ?????? ?????????.
?????? ??????
????? ???????? ??????? ?? ?????? ?????????. ????? ?????? ????????? ???? ?????????? ??????.
???? ?? ??????? ?????????????
????????? ?????? ???? ??????? ???????. ????? ????? ????? ???????? ???????????? ???????, ?? ? ???? ?????? ?????? ??????????? ???? jet x casino
????? ??? JetX
?????? ????????????? ?????????? ????????? ?????? ??? ???? ? ???? JetX. ????? ???????? ????????????????:
– ????????? ?????
– ?????????? ??????
– ??????? ??????????
????? ??????????? ???????? ???????? ?????????????? ???????? ??? ??????.
????????? JetX
????????? JetX ???????? ?? ?????? ?????????? ?????????. ??? ????????, ??? ????? ??????????? ????????.
? ???????????? ??????? ?????????? ????? ???? ???????? ????????????.
????? ? JetX
???????? ? ????? JetX ?????????? ??????? ??????? ???????. ????????? ??????? ???????? ???? ???????? ??? ?????????? ???????, ??? ? ?????????? ????????????? ?????
SteadyMeds: canadian pharmacy review – SteadyMeds
mexican farmacia AccessBridge AccessBridge Pharmacy
http://formulinepharmacy.com/# online drugs order
SteadyMeds pharmacy: SteadyMeds – SteadyMeds pharmacy
?????? ????? ?????? https://melbet16740.help/
mostbet free bet mostbet free bet
?????? ??????? ????????? http://melbet16740.help/
pharmacy mexico: order antibiotics from mexico – AccessBridge
jak dzia?a bonus mostbet http://mostbet2001.help/
https://formulinepharmacy.shop/# worldwide pharmacy
https://steadymedspharmacy.shop/# SteadyMeds
AccessBridge Pharmacy: mexico online pharmacy – AccessBridge Pharmacy
??????? ??????? ???? http://www.mostbet26849.help
??????? humo http://mostbet26849.help/
pharmacy online FormuLine Pharmacy medicine online order
http://formulinepharmacy.com/# pharmacy websites
legal online pharmacies in the us: FormuLine Pharmacy – trustworthy online pharmacy
mostbet comisioane depunere mostbet comisioane depunere
progreso, mexico pharmacy online: order from mexico – AccessBridge Pharmacy
?????? ??????????? ???????? ?????? ??????????? ????????
https://steadymedspharmacy.shop/# safe canadian pharmacies
mostbet mirror mostbet29401.help
jak zarejestrowa? si? w mostbet http://mostbet2001.help
safe online pharmacies: FormuLine Pharmacy – no prescription needed pharmacy
?????? JetX ? ??????????? ?????????? crash?????
JetX ?????? ?????? ????? ??????????? ????? ???????, ??????? ????? ?????????? ? ??????? ???????????. ???? JetX ????????? ? ????????? crash????, ??? ????????? ??????? ?? ?????????, ??????? ?????? ?? ?????????? ??????? ?????????. ?????? ?????? — ?????? ??????? ??????? ?? ????, ??? ????? ??????????.
????????????? ????????? ???????? Smartsoft Games. ????????? ??????? ???????? JetX ????? ?????????????? ? ?????? ??????????? ??????.
???????? JetX
??????? ??????? ? ?????? JetX ???????? ?????. ????? ??????? ?????? ????? ?????? ??????? ??????. ????? ????? ?? ?????? ?????????? ???????, ??????? ???????? ???????????, ? ??????????? ?????? ?????????? ?????????????.
???????? ?????? — ??????? ?????? ?????? ??????. ???? ????? ???????? ??? ??????? ?? ???????, ????? ????? ?????????, ?????? ?????????? ?? ??????? ?????????. ???? ??? — ?????? ????????.
???????????? JetX
????????????? ? JetX ?????????? ??? ???????????, ????????? ??????? ???? ????? ??????????:
– ?????? ????????
– ???????? ??????? ??????
– ?????????????? ????? ????????
– ??????? ????????????
????? ????, ????????? JetX ???????????? ??????? ?????????????? ??????, ??????? ????????? ?????? ????????? ? ?????? ?????????????.
?????????? ????????? JetX
???????? ?? ??, ??? ????? ?????? ?????????, ?????? ?????? ?????????? ?????? ???????.
??????? ????? ????????
????? ???????? ??????? ?? ?????? ?????????. ????? ?????? ????????? ???? ?????????? ??????.
???????? ???????? ?????????
????????? ?????? ???? ??????? ???????????. ????? ????? ????? ???????? ??????? ???????, ?? ? ???? ??????? ??????????? ???? ???? ?
?????? ? JetX ??????
?????? ????????????? ?????????? ????????? ????? ??? ???? ? ?????? JetX. ????? ???????? ????????????????:
– ????????? ?????
– ???????? ??????
– ??????? ??????????
????? ??????????? ???????? ???????? ?????????????? ???????? ??? ??????.
????????? JetX
???? JetX ???????? ?? ?????? ????????? RNG. ??? ????????, ??? ?????? ????? ?????????.
? ??????????????? ?????? ????? ???? ???????? ????????????.
?????????? ? JetX
JetX ?????? ?????????? ????????????? ???????????. ????????? ??????? ???????? ???? ???????? ??? ????????, ??? ? ?????????? ????????????? ?????
https://steadymedspharmacy.com/# SteadyMeds pharmacy
https://steadymedspharmacy.shop/# SteadyMeds
????????? ?? ?????, ??? ??????? ?????? ? ???????? BongaCams ??????? ????????.
???? ? ???, ??? ???????? ??? ?????? – ? ???????? ? ?????????. ?? ????? ??????? ????? ?? ????????.
??? ??????: https://t.me/BongaCamsTokens
???? ??? ????? ???? ??????? – ????? ???????.
mostbet regisztrációs oldal mostbet regisztrációs oldal
mostbet verifikace cz https://mostbet2020.help/
http://formulinepharmacy.com/# us pharmacy no prescription
??????? ??????????? https://mostbet26849.help/
mostbet permisiuni aplicatie http://mostbet25863.help
overseas online pharmacy: FormuLine Pharmacy – legit online pharmacy
purple pharmacy online: AccessBridge Pharmacy – AccessBridge Pharmacy
http://steadymedspharmacy.com/# SteadyMeds
mostbet lucky jet bonusu mostbet lucky jet bonusu
canadian discount pharmacy SteadyMeds SteadyMeds