Hi Guys,
I'm setting up a WDS link which runs openvpn over the top.
I have three wrt54g's one running openvpn server on udp port 1194 and two clients.
I want to firewall off everything on the wifi interface into the server except udp port 1194. here are the rules I'm using.
iptables -A INPUT -i br-lan -j ACCEPT
iptables -A INPUT -p udp --dport 1194 -i wl0 -j ACCEPT
iptables -A INPUT -i wl0 -j DROP
iptables -D INPUT 4
iptables -D INPUT 4
The last two delete the standard input rules...
This works fine when i just type those commands in but if i put them in the init script (and comment out the inputting of the standard input rule rules) The routers can't connect to each other... and i don't mean they do exactly what i want, I mean as in 'no route to host' error's in openvpn.
Is there port's/protocols that need to be open to start up a WDS link?
Thanks
Patrick