Linux Netfilter discussions
 help / color / mirror / Atom feed
* PREROUTING
@ 2003-09-19 15:48 Mickael DILY
  2003-09-19 16:48 ` PREROUTING Jim Carter
  0 siblings, 1 reply; 8+ messages in thread
From: Mickael DILY @ 2003-09-19 15:48 UTC (permalink / raw)
  To: netfilter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi people :-)
I would like to add the following line to my firewall
iptables -A PREROUTING -t mangle -p tcp --sport ssh -j TOS --set-tos\ 
Minimize-Delay
iptables -A PREROUTING -t mangle -p tcp --sport ftp -j TOS --set-tos\ 
Minimize-Delay
iptables -A PREROUTING -t mangle -p tcp --sport ftp -j TOS --set-tos\ 
Maximize-Throughput

When i do this, nothing tells me if it is good or bad. I presume it is good. 
But, when i list my iptables, i see nothing in the rule PREROUTING.
I think it is not normal. Where do i bug  ?
Thanks
- -- 
- - M. DILY, administrateur réseau, geek :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/ayU9zEzekoYhlpsRAtMqAKCsd2oXEK1CQYRR2bbvu2QCUNqy3QCdGbJ5
zmKvWz9TGTGva7hQgZjdqhY=
=Ffgc
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <CAGwLQT0SRyga4go7uk2ujyPiBaD_K4jvd_XHCXG7YGi1hUxVbw@mail.gmail.com>]
* PREROUTING
@ 2003-04-29  7:23 netfilter_user
  2003-04-29  7:49 ` PREROUTING SaVaGE
  0 siblings, 1 reply; 8+ messages in thread
From: netfilter_user @ 2003-04-29  7:23 UTC (permalink / raw)
  To: netfilter

Hello everyone,

this is my problem:
My LAN is connected to Internet via Linux machine with 2 interface (
ppp0 - for internet and eth1 for local net). I need to connect from
local host, service that is running on port 23073 and 23083 UDP in
internet. For this i wrote afew rules with PREROUTING but when I start
script with rules below i receive:

Bad argument `PREROUTING'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `PREROUTING'
Try `iptables -h' or 'iptables --help' for more information.


iptables -t nat -A PREROUTING -p udp -d 80.50.60.185 --dport 23073 -j DNAT --to-destination 192.168.1.2
iptables -t nat -A PREROUTING -p udp -d 80.50.60.185 --dport 23083 -j DNAT --to-destination 192.168.1.2

iptables -A FORWARD -p udp -d 192.168.1.2 --dport 23073 -j ACCEPT
iptables -A FORWARD -p udp -d 192.168.1.2 --dport 23083 -j ACCEPT

What maybe a reason of this msg?
Im using slackware 8.1 with iptables 1.2.6a

-- 
Best regards,
  mailto:netfilter_user@o2.pl



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-05 22:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-19 15:48 PREROUTING Mickael DILY
2003-09-19 16:48 ` PREROUTING Jim Carter
     [not found] <CAGwLQT0SRyga4go7uk2ujyPiBaD_K4jvd_XHCXG7YGi1hUxVbw@mail.gmail.com>
2011-10-05 11:49 ` PREROUTING Chris Percol
2011-10-05 22:05   ` PREROUTING Andrew Beverley
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29  7:23 PREROUTING netfilter_user
2003-04-29  7:49 ` PREROUTING SaVaGE
2003-04-29  9:21   ` PREROUTING Frederic Gobin
2003-04-29 13:28     ` PREROUTING Eric Poulin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox