with
haserl=/usr/local/bin/haserl
STEP 10: Configure routing and NATing
The script /etc/chilli/up.sh controls the behaviour of the firewall with Coova-Chilli
the following changes are needed for our setup:
1. Accept UDP traffic arriving to Asterisk in our box (UDP)
ipt_in -p tcp -m tcp --dport 8888 --dst 192.168.130.1 -j ACCEPT
2. Accept traffic arriving to SPUD (TCP #8888)
ipt_in -p tcp -m tcp --dport 8888 --dst 192.168.130.1 -j ACCEPT
3. Route the mesh network for (L3) and NAT the upstream
# force-add the final rule necessary to fix routing tables
iptables -I POSTROUTING -t nat -o $HS_WANIF -j MASQUERADE
route add -net 10.130.1.0 netmask 255.255.255.0 gw 192.168.130.2
Comentários a estes Manuais