[ SlackList ] [ WkikiSlack ]



IPTABLES - ma造 lecz upierdliwy problem

From: Info IiE <iie1@wp.pl>
Date: Sun Apr 13 2003 - 20:52:02 CEST
[slacklist] IPTABLES - ma造 lecz upierdliwy problem

Witam, mam nast瘼uj帷y problem:
ㄠcz si z Internetem za po鈔ednictwem = nata.
Internet <==192.168.0.1<==> firewall = 192.168.0.2.
W momencie jak uruchamiam poni窺zy skrypt na kompie = 192.168.0.2 trac
陰czno嗆 ze 192.168.0.1 i Internetem. Na =
zadzia豉. Czy kto mi mo瞠 powiedzie =
momencie pope軟i貫m b陰d ?
Z g鏎y dzi瘯i , Pozdro Kees
#!/bin/sh
iptables -F -t nat
iptables -X -t nat
iptables -F -t filter
iptables -X -t filter

iptables -A INPUT -j DROP
iptables -A FORWARD -j DROP
iptables -A OUTPUT -j ACCEPT

iptables -A INPUT -d 192.168.0.1  -j = ACCEPT
iptables -A FORWARD -d 192.168.0.1  -j = ACCEPT

Received on Sat Feb 21 03:36:06 2004
This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014