iptables redirect does not seem to work, for the little I understand


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers iptables redirect does not seem to work, for the little I understand
# 1  
Old 10-07-2015
iptables redirect does not seem to work, for the little I understand

Hello to everybody
How can I tell if this command is working?

Fedora terminal:
Code:
[user@grab2 ~]$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT

I understand that after this command Firefox should be unable to receive RTMP streaming that use port 1935. But nothing changes Firefox receives the video normally, so I am confused.

Anyway, my aim is to find the direction of rtmp stream using rtmpsuck, but my question is only about iptables

I found the answer, my stream is not rtmp stream

Best

Fran

Last edited by francus; 10-07-2015 at 08:59 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Ubuntu

iptables redirect

Hi I need your help. This is my problem, i have a VPN connection between two computers a and b. A is connection to b(vpn server) i want to redirect some ports to a and i want a to give internet access to those port. So far i redirected the port 22 from b to a but i can't make a sent the port... (0 Replies)
Discussion started by: lmartinez073
0 Replies

2. IP Networking

NAT via iptables - Won't work!!

Hi guys I'm running on debian on a small embedded system. I have a ppp interface that is connected to the internet (and works). My unit also has wifi access point (which works and I can connect to it). I want to allow connections to the wifi to be able to use the internet from ppp0... (1 Reply)
Discussion started by: alirezan1
1 Replies

3. IP Networking

Discussion at work, would a router work pluging a cable in wan1 and lan1?

hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view situation a router, with linux of some sort, dhcp client requesting for ip in wan1 (as usual with wan ports) dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies

4. Ubuntu

My iptables does not work

Hello folks ! I am trying to set up my firewall the way it's done in this link: in google, 'rusty's really quick guide to packet filtering' (cannot put web link in my post). here is my fw hard settings: adsl... (1 Reply)
Discussion started by: arpagon
1 Replies

5. IP Networking

iptables port forwarding does not work while I have 2 routes

Hi, On my linux server I have 2 routes: Code: nexthop via 123.201.254.5 dev eth0 weight 38 nexthop via 111.93.155.149 dev eth2 weight 36 I have a iptable rule like : iptables -t nat -A PREROUTING -p tcp -i eth0 -d... (5 Replies)
Discussion started by: ashokvpp
5 Replies

6. Shell Programming and Scripting

My script work on Linux but not work in sunos.

My script work on Linux but not work in sun os. my script. logFiles="sentLog1.log sentLog2.log" intial_time="0 0" logLocation="/usr/local/tomcat/logs/" sleepTime=600 failMessage=":: $(tput bold)Log not update$(tput rmso) = " successMessage="OK" arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies

7. Solaris

I don`t understand how It work (about startup script)?

Hi all. The startup script in /usr/local/bin. After user login the script run an application. Iwould in the same way run the another application. How to make It similar? Where I must to look? Regards. (3 Replies)
Discussion started by: wolfgang
3 Replies

8. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

9. UNIX for Dummies Questions & Answers

can't understand

how i can download this game n start it :S (5 Replies)
Discussion started by: BoyArcher
5 Replies
Login or Register to Ask a Question