I have been trying to configure the AMPRtunnel for a while without success. Could
someone please point me to the right direction.
I am running Debian 11 with public IP. I have configured the public IP in the AMPR portal
as gateway.
I am trying to follow this document
https://wiki.ampr.org/wiki/Ubuntu_Linux_Gateway_Example
When I try to run find_password.sh in ampr-ripd-2.4, I am stopped at Waiting for RIPv2
broadcasts... and never retrieve a password.
Here is what I have done so far.
in /etc/network/interfaces, I added
auto ens3:1
iface ens3:1 inet static
address 44.26.0.168
netmask 255.255.255.248
Then I created ipip tunnel using following commands
ip tunnel add ampr0 mode ipip local 209.141.42.9 ttl 255
ip link set dev ampr0 up
ifconfig ampr0 multicast
ip rule add to 44.0.0.0/8 table 44 priority 44
ip rule add from 44.26.0.168/29 table 44 priority 45
ip route add default dev ampr0 via 169.228.34.84 onlink table 44
ip route add 44.26.0.168/29 dev ens3 table 44
Then, I run ampr-ripd -d -v -i ens3 to get the password in order to plug into lat
command
ampr-ripd -s -i ampr0 -a 209.141.42.9-t 44 -p <SecretPassword>
However, the find_password.sh stopped at waiting for ripv2 broadcast. Here is the logs
for command
Using metric 0 for routes.
Using TCP window 840 for routes.
Using gateway 209.141.42.1 for direct 44net endpoints via interface ens3.
Waiting for RIPv2 broadcasts...
Any idea on what am I doing wrong?
Thanks
Kun