What's new

ASUS RT-N66U udpxy IPTV stream to WAN

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

No, not identical; one has an -A and the other has a -I preceding it. ;)


Sorry, just a free bump for you (I don't know what they mean either).
 
-A appends at the end of the chain, -I inserts at the top (unless you specify a position).

It makes no sense to me however to insert at the top AND append at the end. I wonder if the author might have initially intended for one of these rules to go to a different table than the filter table.
 
Hi,
I not modified integrated udpxy config, but added my own rules in startup scripts:

firewall-start:
iptables -A INPUT -p tcp --dport 4000 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 4000 -j ACCEPT
iptables -I INPUT -p tcp --dport 4000 -j ACCEPT

services-start:
#!/bin/sh

sleep 10
killall udpxy
/usr/sbin/udpxy -m eth0 -p 4000

do not working for me....still my udpxy not online with firewall enabled.....my router is AC68U....
 
ok it is working if both scripts starting manual if router reboot. Why router do not start this scripts automatic when starting? can someone post here what is correct protocol? i am using winscp program with ssh connection....
 
i add this line in firewall-start but i can not connect to my udpxy from outside my network....something missing?
Code:
iptables -I INPUT -p tcp --dport 4000 -j ACCEPT
 
i add this line in firewall-start but i can not connect to my udpxy from outside my network....something missing?
Code:
iptables -I INPUT -p tcp --dport 4000 -j ACCEPT

udpxy uses UDP, not TCP.

And you definitely do not want to open that to the whole Internet... Use a VPN tunnel.
 
udpxy uses UDP, not TCP.

And you definitely do not want to open that to the whole Internet... Use a VPN tunnel.
how to config VPN tunnel? I do not want to pay for VPN service....

sent from Kodi 17 Krypton
 
how to config VPN tunnel? I do not want to pay for VPN service....

sent from Kodi 17 Krypton

Paid VPN services are not for remote access, they are for outbound tunneling. You don't need a VPN service to be able to dial back in while outside of home. Configure the VPN server on the router, then configure whichever clients you intend to use while outside of home to connect back to your router's VPN server.
 
how to add more IP ranges in iptables firewall rule. now i have one IP range but i need more to add....
Code:
iptables -I FORWARD -s 178.58.0.0/16 -p tcp --dport 1234 -j ACCEPT
iptables -I INPUT -s 178.58.0.0/16 -p tcp --dport 1234 -j ACCEPT
iptables -I OUTPUT -s 178.58.0.0/16 -p tcp --dport 1234 -j ACCEPT
i think this combination is ok....those two IP ranges just can connect to my udpxy status through browser....
Code:
iptables -I FORWARD -s 95.159.192.0/18 -p tcp --dport 1234 -j ACCEPT
iptables -I INPUT -s 95.159.192.0/18 -p tcp --dport 1234 -j ACCEPT
iptables -I OUTPUT -s 95.159.192.0/18 -p tcp --dport 1234 -j ACCEPT
iptables -I FORWARD -s 188.196.0.0/14 -p tcp --dport 1234 -j ACCEPT
iptables -I INPUT -s 188.196.0.0/14 -p tcp --dport 1234 -j ACCEPT
iptables -I OUTPUT -s 188.196.0.0/14 -p tcp --dport 1234 -j ACCEPT

but i have a problem because i do not get picture from my udpxy....i got this in my syslog:
the link for IPTV is this:
Code:
http://192.168.1.1:1234/udp/232.4.1.1:5002

what still missing in this iptables to get picture....?
Code:
May  8 14:10:06 kernel: ACCEPT IN=eth0 OUT= MAC=01:00:5e:04:01:01:00:23:33:68:fa:80:08:00 SRC=95.176.246.71 DST=232.4.1.1 LEN=1344 TOS=0x00 PREC=0x80 TTL=60 ID=11366 DF PROTO=UDP SPT=5002 DPT=5002 LEN=1324
May  8 14:10:06 kernel: ACCEPT IN=eth0 OUT= MAC=01:00:5e:04:01:01:00:23:33:68:fa:80:08:00 SRC=95.176.246.71 DST=232.4.1.1 LEN=1344 TOS=0x00 PREC=0x80 TTL=60 ID=11370 DF PROTO=UDP SPT=5002 DPT=5002 LEN=1324
May  8 14:10:06 kernel: ACCEPT IN=eth0 OUT= MAC=01:00:5e:04:01:01:00:23:33:68:fa:80:08:00 SRC=95.176.246.71 DST=232.4.1.1 LEN=1344 TOS=0x00 PREC=0x80 TTL=60 ID=11374 DF PROTO=UDP SPT=5002 DPT=5002 LEN=1324

EDIT: it working...i forgot change IP in playlist....
 
Last edited:
is possible to add one more port in the iptables? if i add like this then are both of ports offline?
Code:
iptables -I FORWARD -s 95.159.192.0/18 -p tcp --dport 1234,8383 -j ACCEPT
iptables -I INPUT -s 95.159.192.0/18 -p tcp --dport 1234,8383 -j ACCEPT
iptables -I OUTPUT -s 95.159.192.0/18 -p tcp --dport 1234,8383 -j ACCEPT
iptables -I FORWARD -s 188.196.0.0/14 -p tcp --dport 1234,8383 -j ACCEPT
iptables -I INPUT -s 188.196.0.0/14 -p tcp --dport 1234,8383 -j ACCEPT
iptables -I OUTPUT -s 188.196.0.0/14 -p tcp --dport 1234,8383 -j ACCEPT
 
Code:
-p tcp -m multiport --ports 1234,1235,1236 -j ACCEPT
Max 15 port number 1230:1240 count as two ports.
 
Code:
-p tcp -m multiport --ports 1234,1235,1236 -j ACCEPT
Max 15 port number 1230:1240 count as two ports.
i try edit iptables with that line and i think it working....thank you....
 
Last edited:

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top