ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Денис Черносов" <denis0.ru@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] kernel-image-std-smp-2.6.18-alt8 и трассировка rtsp
Date: Tue, 20 Oct 2009 17:04:33 +0500
Message-ID: <d77783290910200504o4c8336e1p38817266f1ef0585@mail.gmail.com> (raw)
In-Reply-To: <200910161705.34421.a_s_y@sama.ru>

Что-то не выходит каменный цветок...

Обновил ядро до kernel-image-std-def-2.6.30-alt12

добавил в /etc/net/ifaces/default/fw/iptables/modules
nf_conntrack_rtsp
nf_nat_rtsp


/etc/net/ifaces/default/fw/iptables/nat/PREROUTING
-p tcp -d $WAN_IP --dport 24681 -j DNAT --to-destination $CAM_LAN_IP:554
-p udp -d $WAN_IP --dport 24681 -j DNAT --to-destination $CAM_LAN_IP:554
-p udp -d $WAN_IP -m multiport --dports 50000:50999 -j DNAT
--to-destination $CAM_LAN_IP:50000-50999



/etc/net/ifaces/default/fw/iptables/nat/POSTROUTING
-o wan -s $LAN_NET -j MASQUERADE



/etc/net/ifaces/default/fw/iptables/filter/FORWARD
-m state --state ESTABLISHED,RELATED -j ACCEPT

-p tcp -m tcp -d $CAM_LAN_IP -j ACCEPT
-p udp -m udp -d $CAM_LAN_IP -j ACCEPT
-p tcp -m tcp -s $CAM_LAN_IP -j ACCEPT
-p udp -m udp -s $CAM_LAN_IP -j ACCEPT


Из VLC снаружи открываю:
rtsp://$WAN_IP:24681/mpeg4/media.3gp

Соединение устанавливается, а видео не идет. У меня идеи кончились,
может у кого-то остались? Или есть рабочий пример под рукой?

-- 
С уважением,
Черносов Денис


      reply	other threads:[~2009-10-20 12:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-16 11:05 Денис Черносов
2009-10-16 12:05 ` Sergey
2009-10-20 12:04   ` Денис Черносов [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d77783290910200504o4c8336e1p38817266f1ef0585@mail.gmail.com \
    --to=denis0.ru@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git