AW: command for opening port 6000-6039 to the local network

Harald Scharf h.scharf@softpoint.at
Thu, 26 Jul 2001 17:20:25 +0200


Hallo, Wolfgang ,

Der Syntax lautet korrekt :

iptables -A INPUT -m tcp -p tcp -s SOURCE -d DEST --dport =
fromport:toport -J
POLICY

Es ist wichtig, da=DF Du das Layer 4 Protokoll bestimmst (mit -p bzw. =
mit -m),
da Netfilter ja auch Port ungebundene Protokolle (ICMP) Filtern kann.
Sonst gibts eine Fehlermeldung (unkonown Option --dport)

English Version :

The correct Syntax is

iptables -A INPUT -m tcp -p tcp -s SOURCE -d DEST --dport =
fromport:toport -J
POLICY

It=B4s important, that you specify the correct Layer 4 Protocol (with =
-m and
-p).
If you do not do that, you=B4ll get an error message (unknown option =
--dport).

greetings

Harald Scharf
Intel Certified Integration Specialist Networking
Softpoint electronic
Netzwerksysteme / Firewalls
Bricks Core Development
mailto:h.scharf@softpoint.at
www.bricks.at
www.softpoint.at


-----Urspr=FCngliche Nachricht-----
Von: Wolfgang Pichler [mailto:wpichler@dialog-gruppe.at]
Gesendet: Donnerstag, 26. Juli 2001 16:20
An: iptables maillinglist
Betreff: command for opening port 6000-6039 to the local network


how can i open port 6000-6039 for the inner network ?
iptables -A INPUT -p tcp --dport 6000-6039 usw. doesn't work -> i've =
also
triied 6000:6039 or 6000--6039.

Pichler Wolfgang

Dialog Austria
Software & Telekommunikation Ges.m.b.H.
Goethestrasse 93
A-4020 Linz

Tel		+43 (0) 70 662774 37
Fax		+43 (0) 70 662774 22
Mail		mailto:wpichler@dialog-gruppe.at
Web		www.dialog-gruppe.at

+++