octopus
Part of the Furniture
Sorry if i confuse you, i meant firewall should be on and DMZ for one PC should be off. (DMZ only work for one PC)I think you meant to say "firewall off"?
(But turning the firewall off is a really bad idea.)
Sorry if i confuse you, i meant firewall should be on and DMZ for one PC should be off. (DMZ only work for one PC)I think you meant to say "firewall off"?
(But turning the firewall off is a really bad idea.)
I don't really get what you want to accomplish here... sorryi tested all this yours suggestions but not working.....problem is probably different LAN addresses, router IP is 192.168.15.1 and PC IP (IPTV) 192.168.15.100....i have no idea....
#!/bin/sh
iptables -I FORWARD -s 193.77.157.89 -p tcp --dport 1244 -j DROP
How do test if you have access to pc inside your LAN?i have port forwarded to IP of PC....
firewall is enabled, in firewall script i have:
and still have access to my PC from outside.....very strange.....Code:#!/bin/sh iptables -I FORWARD -s 193.77.157.89 -p tcp --dport 1244 -j DROP
with mobile phone. that IP from script is current IP from mobile phone....How do test if you have access to pc inside your LAN?
Sorry....but I can't follow what are you doing?
You said you are forwarding port 4022, then show a forward rule for port 1244....
You said your IPTV PC is at 192.168.15.100, then show a forward rule for 192.168.1.50....
#!/bin/sh
iptables -I FORWARD -p tcp --dport 1244 -j DROP
iptables -I FORWARD -s 193.77.157.89 -p tcp --dport 1244 -j ACCEPT
Whew....thought maybe I was going crazyyes, i change today IP`s and port.....today is 192.168.1.50 for PC, port forward 1244 and router IP 192.168.1.1.....but now i think it working, i have some space in rules lines....
it is ok now i think....first line drop all IP to port 1244, second line accept one single IP....thank you....
Code:#!/bin/sh iptables -I FORWARD -p tcp --dport 1244 -j DROP iptables -I FORWARD -s 193.77.157.89 -p tcp --dport 1244 -j ACCEPT
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!