I fixed the problem. My iptables setup for forwarding that port works correctly...there is an error somewhere else that I'm going to have to fix.

Thanks,

-Austin

Austin Stanhope wrote:
I flashed OpenWRT on my Linksys wrt54gl router (yay, finally), and I’m trying to forward port 5445 to one of my machines. I am going off the example they had for forwarding port 80 to a machine, which works perfectly for me, however, going off the same example for forwarding a different port is not working. This is from the part of my /etc/firewall.users where I am doing port forwarding. Can anyone shed some light on this?



# Forward port 80 for the web server on penguin (192.168.1.103)
iptables -t nat -A prerouting_rule -i $WAN -p tcp --dport 80 -j DNAT --to 192.168.1.103 iptables -A forwarding_rule -i $WAN -p tcp --dport 80 -d 192.168.1.103 -j ACCEPT
# Forward port 5445 for smorts to penguin (192.168.1.103)
iptables -t nat -A prerouting_rule -i $WAN -p tcp --dport 5445 -j DNAT --to 192.168.1.103 iptables -A forwarding_rule -i $WAN -p tcp --dport 5445 -d 192.168.1.103 -j ACCEPT iptables -t nat -A prerouting_rule -i $WAN -p udp --dport 5445 -j DNAT --to 192.168.1.103 iptables -A forwarding_rule -i $WAN -p udp --dport 5445 -d 192.168.1.103 -j ACCEPT


Thanks,

-Austin



--
Austin Stanhope                      www.cse.unr.edu/~stanhope
Robotics Research                    www.cse.unr.edu/~society
Computer Science and Engineering     www.cse.unr.edu
University of Nevada, Reno           www.unr.edu

Abuse it and you'll loose it.  I WILL Procmail you.
Think before you click that forward button.

_______________________________________________
RLUG mailing list
RLUG@rlug.org
http://lists.rlug.org/mailman/listinfo/rlug

Reply via email to