ipchains a SMTP
Petr Cech
cech na atrey.karlin.mff.cuni.cz
Středa Listopad 1 15:51:39 CET 2000
ktunka napsal:
> Mam nasledujici problem.
> Pomoci ipchains vse zakazu
> ipchains -F
> ipchains -X
> ipchains -P input DENY
> ipchains -P output DENY
> ipchains -P forward DENY
>
> Potom povolim protokol SMTP
>
> ipchains -A input -p tcp -s 0.0.0.0/0 -d mojeIP 25 -j ACCEPT
> ipchains -A output -p tcp -s mojeIP 25 -s 0.0.0.0/0 -j ACCEPT
^^ tohle je preklep?
-s mojeIP -d 0/0 25
> ipchains -A input -p tcp -s 0.0.0.0/0 25 -d mojeIP -j ACCEPT
> ipchains -A output -p tcp -s mojeIP -d 0.0.0.0/25 -j ACCEPT
^^^^ tyhle dva jsou nejaky divny, ne?
>
> ...a nechodi mi to.
> Nevim, kde delam chybu. Podle moudrych knih by to melo stacit.
BTW co nechodi. Posta by mela prichazet, ale ne odchazet
Petr Cech
--
Debian GNU/Linux maintainer - www.debian.{org,cz}
cech na atrey.karlin.mff.cuni.cz
<Myth> the UNIX trademark has changed hands so much no one is quite sure who really owns it anymore
Další informace o konferenci Linux