-
Fototrend
TP-Link WR1043ND - N450 router
Új hozzászólás Aktív témák
-
nimfas
addikt
válasz
Speeedfire
#23494
üzenetére
Ismerőséknél is "népbetegség" a Facebook, gondoltam kipróbálom magamnál először a dolgot, a következőre jutottam:
Betettem ezt:
iptables -A FORWARD -s 66.220.144.0/20 --timestart 21:00 --timestop 09:00 --days Mon,Tue,Wed,Thu,Fri -j DROP
iptables -A FORWARD -d 66.220.144.0/20 --timestart 21:00 --timestop 09:00 --days Mon,Tue,Wed,Thu,Fri -j DROP
iptables -A FORWARD -s 69.63.176.0/20 --timestart 21:00 --timestop 09:00 --days Mon,Tue,Wed,Thu,Fri -j DROP
iptables -A FORWARD -d 69.63.176.0/20 --timestart 21:00 --timestop 09:00 --days Mon,Tue,Wed,Thu,Fri -j DROP
iptables -A FORWARD -s 74.119.76.0/22 --timestart 21:00 --timestop 09:00 --days Mon,Tue,Wed,Thu,Fri -j DROP
iptables -A FORWARD -d 74.119.76.0/22 --timestart 21:00 --timestop 09:00 --days Mon,Tue,Wed,Thu,Fri -j DROP
iptables -A FORWARD -s 204.15.20.0/22 --timestart 21:00 --timestop 09:00 --days Mon,Tue,Wed,Thu,Fri -j DROP
iptables -A FORWARD -d 204.15.20.0/22 --timestart 21:00 --timestop 09:00 --days Mon,Tue,Wed,Thu,Fri -j DROPMajd firewall restartra ezt kaptam:
root@OpenWrt:~# /etc/init.d/firewall restart
Loading defaults
Loading synflood protection
Adding custom chains
Loading zones
Loading forwardings
Loading redirects
Loading rules
Loading includes
iptables v1.4.10: unknown option `--timestart'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.10: unknown option `--timestart'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.10: unknown option `--timestart'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.10: unknown option `--timestart'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.10: unknown option `--timestart'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.10: unknown option `--timestart'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.10: unknown option `--timestart'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.10: unknown option `--timestart'
Try `iptables -h' or 'iptables --help' for more information.
Loading interfaces
/sbin/uci: Entry not found
/sbin/uci: Entry not found
/sbin/uci: Entry not found
/sbin/uci: Entry not found
root@OpenWrt:~#iptables-mod-ipopt csomag fent van.... mi a gubanc...? :-D
Előre is köszi srácok!
-
vargalex
Topikgazda
válasz
Speeedfire
#23494
üzenetére
Hi!
Szerintem ne bonyolítsuk a felhasználók életét iptables szabályokkal, rakják csak be ezeket a paramétereket a /etc/config/firewall-ba.
-
SteveBeard
senior tag
válasz
Speeedfire
#23494
üzenetére
Köszönöm!
Kipróbálom...
Új hozzászólás Aktív témák
- új, bontatlan, iPhone 16 gyárilag kártya-független, apple világgaranciával
- új, bontatlan, iPhone 16E gyárilag kártya-független, apple világgaranciával
- Ú, bontatlan, iPhone 16 Pro Max gyárilag kártya-független, apple világgaranciával
- új, bontatlan, iPhone 15 kártya-független, apple világgaranciával
- új, bontatlan, iPhone 14 gyárilag kártya-független, apple világgaranciával
- HIBÁTLAN iPhone 14 Pro Max 128GB Purple -1 ÉV GARANCIA - Kártyafüggetlen, MS3918, 100% Akkumulátor
- Eredeti, új Lenovo 330W töltők - ADL330SDC3A
- Apple iPhone 13 / 128GB / Kártyafüggetlen / 12Hó Garancia / Akku: 100%
- 121 - Lenovo Legion Pro 5 (16ARX8) - AMD Ryzen 7 7745HX, RTX 4070 - 4 év garancia
- ÁRGARANCIA!Épített KomPhone Ryzen 5 7600X 16/32/64GB RAM RX 9060XT 16GB GAMER PC termékbeszámítással
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
vargalex
