Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Change in iptables syntax fails to load rule
Date: Fri, 29 Mar 2013 19:54:16
Message-Id: 201303291953.43283.michaelkintzios@gmail.com
1 Hi All,
2
3 A few months ago I got some errors about the match option in some iptables
4 rules that I was running at the time. I modified these to remove match and
5 add conntrack and all went well.
6
7
8 Now I am trying to run this:
9
10 /sbin/iptables -t nat -A OUTPUT -v -p tcp --dport 1935 -j REDIRECT
11
12 but it fails to load and it does not give me any particularly informative
13 message:
14
15 # /sbin/iptables -t nat -A OUTPUT -v -p tcp --dport 1935 -j REDIRECT
16 REDIRECT tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:1935
17
18 # /sbin/iptables -L -v -n | grep 1935
19 #
20
21 Any idea how I should rewrite this rule? I was using it to redirect the
22 output to rtmpsrv to capture the address of a rtmpe stream, but now it does
23 not work.
24 --
25 Regards,
26 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Change in iptables syntax fails to load rule Pandu Poluan <pandu@××××××.info>