Forum » Operacijski sistemi » Kako odpreti določene porta v Linuxu?
Kako odpreti določene porta v Linuxu?
napsy ::
uporabiš iptables
primer:
$ iptables -A INPUT -s 0.0.0.0 -p tcp -i ppp0 --dport 80 -j ACCEPT
... vsak, ki bo vstopal preko vmesnika ppp0 in bo komuniciral prek tcp-ja, bo imel dostop do porta 80
primer:
$ iptables -A INPUT -s 0.0.0.0 -p tcp -i ppp0 --dport 80 -j ACCEPT
... vsak, ki bo vstopal preko vmesnika ppp0 in bo komuniciral prek tcp-ja, bo imel dostop do porta 80
"If you die, you die. But when you live you live. There is no time to waste."
weishaupt ::
to mi ne dela.
Iptables man
izpiše mi pa sledeče:
modprobe: Can't locate module ip_tables
iptables v1.2.6a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Iptables man
izpiše mi pa sledeče:
modprobe: Can't locate module ip_tables
iptables v1.2.6a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | block ip, linux, centosOddelek: Informacijska varnost | 802 (724) | BRBR |
» | pomoč pri iptablesOddelek: Omrežja in internet | 2606 (2435) | HellRaiseR |
» | iptables + forwardOddelek: Operacijski sistemi | 2331 (1906) | tx-z |
» | ipv6Oddelek: Omrežja in internet | 6703 (6375) | Kostko |
» | kako aktivirat IPTABLES ? (Linux kernel etc)Oddelek: Programiranje | 818 (722) | Brane2 |