Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2010
I want to do shoutcast radio.
i have adsl modem with static ip 184.108.40.206 and internal lan interface 192.168.1.1.
on nat (adsl) i did port forwarding to my linux router(192.168.1.222)
my shoutcast radio on computer in internal network(10.15.0.0) with ip adress 10.15.0.89.
on linux router i have two lan interfaces (eth0 192.168.1.222) and eth1 10.15.0.222.
i have did iptables rules on linux router(10.15.0.222).
iptables -t nat -A PREROUTING -p tcp --dport 8000 -j DNAT --to-destination 10.15.0.89
iptables -t nat -A POSTROUTING -d 10.15.0.89 -p tcp --dport 8000 -j MASQUERADE
but it doesn't work.
if i try to connect to my server via linux router from my network it works well(music plaing).
telnet 10.15.0.222 8000
if i try to connect to my server via internet it doesn't work.
telnet 220.127.116.11 8000
OS cent os 5.4