All,
I have successfully moved my AMPR Gateway instance to OpenWRT:
please test
http://44.60.44.10
and DNS 44.60.44.3
ping router 44.60.44.1
ping PC 44.60.44.14
- I installed the kmod-ipip package
- copied ampr-ripd to the device
- Added ICMP forward rule to all AMPR hosts
- Added HTTP forward rule for 44.60.44.10
- Added DNS forward rule for 44.60.44.3
- Added Outbound forward Rule for all hosts
#Custom Firewall Script
ifconfig tunl0 mtu 1480 up
## OpenWRT doesn't like Port Forwards for non TCP/UDP/ICMP
## So I manually inserted it
### See:
https://dev.openwrt.org/ticket/20032
iptables -t filter -I INPUT -p 4 -i eth0.2 -j ACCEPT
./home/ampr-ripd -p <PASSWORD> -t 44 -a 44.60.44.0/24
###(currently sitting on a USB, will move to hardware soon)
ip route add default dev tunl0 via 169.228.66.251 onlink table 44
ip route add 44.60.44.0/24 src 44.60.44.1 dev br-amprnet table 44
###OPTIONAL FOR LAN###
ip route add 192.168.0.0/16 src 192.168.x.x dev br-lan table 44
###
ip rule add to 44.0.0.0/8 table 44 priority 44
ip rule add from 44.0.0.0/8 table 44 priority 45
- Lynwood
KB3VWG