Subject: ipnat.conf for darwin streaming server
To: None <port-mac68k@netbsd.org>
From: burt <alexkorber@wanadoo.fr>
List: port-mac68k
Date: 02/01/2003 20:36:18
Hi!

I have =E0  mac quadra650 making router and ipnat on=20
openbsd-mac68k(192.168.1.1).
Inside I have a g4/os x with darwin streaming server and apache=20
webserver(192.168.1.2).

I test the streamingserver over port 80 (with apache off) and it's work=20=

fine outside the LAN.
But, when i use the udp 554 port (the normal way to streaming), i can't=20=

connect to my videos
on rtsp://.

I made this configuration for ipnat.conf :
# ipnat.conf
map pppoe0 192.168.1.1/24 -> 0/32 proxy port ftp ftp/tcp
map pppoe0 192.168.1.1/24 -> 0/32 portmap tcp/udp 44000:49999 mssclamp=20=

1452
map pppoe0 192.168.1.1/24 -> 0/32 mssclamp 1452
rdr pppoe0 0.0.0.0/0 port 20 -> 192.168.1.2 port 20 tcp/udp
rdr pppoe0 0.0.0.0/0 port 21 -> 192.168.1.2 port 21 tcp/udp
rdr pppoe0 0.0.0.0/0 port 80 -> 192.168.1.2 port 80 tcp
rdr pppoe0 0.0.0.0/0 port 1220 -> 192.168.1.2 port 1220 tcp
rdr pppoe0 0.0.0.0/0 port 554 -> 192.168.1.2 port 554 udp
rdr pppoe0 0.0.0.0/0 port 6970 -> 192.168.1.2 port 6970 udp
rdr pppoe0 0.0.0.0/0 port 6971 -> 192.168.1.2 port 6971 udp
rdr pppoe0 0.0.0.0/0 port 6972 -> 192.168.1.2 port 6972 udp
rdr pppoe0 0.0.0.0/0 port 6973 -> 192.168.1.2 port 6973 udp
rdr pppoe0 0.0.0.0/0 port 6974 -> 192.168.1.2 port 6974 udp
rdr pppoe0 0.0.0.0/0 port 6975 -> 192.168.1.2 port 6975 udp
rdr pppoe0 0.0.0.0/0 port 6976 -> 192.168.1.2 port 6976 udp
rdr pppoe0 0.0.0.0/0 port 6977 -> 192.168.1.2 port 6977 udp
rdr pppoe0 0.0.0.0/0 port 6978 -> 192.168.1.2 port 6978 udp
rdr pppoe0 0.0.0.0/0 port 6979 -> 192.168.1.2 port 6979 udp
rdr pppoe0 0.0.0.0/0 port 6980 -> 192.168.1.2 port 6980 udp
rdr pppoe0 0.0.0.0/0 port 6981 -> 192.168.1.2 port 6981 udp
rdr pppoe0 0.0.0.0/0 port 6982 -> 192.168.1.2 port 6982 udp
rdr pppoe0 0.0.0.0/0 port 6983 -> 192.168.1.2 port 6983 udp
rdr pppoe0 0.0.0.0/0 port 6984 -> 192.168.1.2 port 6984 udp
rdr pppoe0 0.0.0.0/0 port 6985 -> 192.168.1.2 port 6985 udp
rdr pppoe0 0.0.0.0/0 port 6986 -> 192.168.1.2 port 6986 udp
rdr pppoe0 0.0.0.0/0 port 6987 -> 192.168.1.2 port 6987 udp
rdr pppoe0 0.0.0.0/0 port 6988 -> 192.168.1.2 port 6988 udp
rdr pppoe0 0.0.0.0/0 port 6989 -> 192.168.1.2 port 6989 udp
rdr pppoe0 0.0.0.0/0 port 6990 -> 192.168.1.2 port 6990 udp
rdr pppoe0 0.0.0.0/0 port 6991 -> 192.168.1.2 port 6991 udp
rdr pppoe0 0.0.0.0/0 port 6992 -> 192.168.1.2 port 6992 udp
rdr pppoe0 0.0.0.0/0 port 6993 -> 192.168.1.2 port 6993 udp
rdr pppoe0 0.0.0.0/0 port 6994 -> 192.168.1.2 port 6994 udp
rdr pppoe0 0.0.0.0/0 port 6995 -> 192.168.1.2 port 6995 udp
rdr pppoe0 0.0.0.0/0 port 6996 -> 192.168.1.2 port 6996 udp
rdr pppoe0 0.0.0.0/0 port 6997 -> 192.168.1.2 port 6997 udp
rdr pppoe0 0.0.0.0/0 port 6998 -> 192.168.1.2 port 6998 udp
rdr pppoe0 0.0.0.0/0 port 6999 -> 192.168.1.2 port 6999 udp
# end

When i scan my ports from outside, all those ports seems to be closed!

So if anyone have a clue to make the redirections works!?

Thanks in advance!


Burt.