Firewall Problems with MESH OpenWRT [message #3127] |
Thu, 12 November 2015 18:30 |
root
Messages: 208 Registered: December 2004
|
Senior Member |
|
|
If you want to forward WAN ports to the localnode, for some reason the OpenWRT Mesh software does not seem to work.
For permanent firewall changes:
Here is the solution to opening the port for WAN on the linksys MESH router:
1. SSH into Mesh (Don't forget to ssh with 2222)
2. Add the two lines to /etc/rc.d/S45firewall between }'s as follows:
}
iptables -A input_wan -p tcp --dport 6667 -j ACCEPT
iptables -A input_wan -p udp --dport 6667 -j ACCEPT
}
stop()
{
Reboot and firewall rules stay!
|
|
|