misteradrian
New Around Here
So I have a problem on on my AC68R + Merlin. I'm using PPPoE and if the PPP tunnel drops (due to DSL issue, etc) then my SIP connections get hungup.
You can see here the ip_conntrack showing the problem. The state is showing the return traffic going to the router's eth0 interface, and not the PPP interface as it should. I'm assuming as the packets come back from my SIP provider, they are just dropped by iptables as there is no connection entry for the UDP session.
I did a 'ifconfig eth0 down ; ifconfig eth0 up' and that cleared out the errant connections and Asterisk promptly connects back to my SIP provider.
You can see above it's now pointing to the WAN address as it should be.
Anyone have any thoughts on how to automate this process? I thought about the script 'wan-start' but I was wondering if this will run every time PPPoE is established?
You can see here the ip_conntrack showing the problem. The state is showing the return traffic going to the router's eth0 interface, and not the PPP interface as it should. I'm assuming as the packets come back from my SIP provider, they are just dropped by iptables as there is no connection entry for the UDP session.
Code:
admin@RT-AC68R:/proc/22127/net# cat ip_conntrack | grep 5060
udp 17 3598 src=10.0.0.14 dst=216.115.69.144 sport=5060 dport=5060 [UNREPLIED] src=216.115.69.144 [B]dst=192.168.0.2[/B] sport=5060 dport=5060 mark=0 use=2
udp 17 3599 src=10.0.0.14 dst=70.167.153.130 sport=5060 dport=5060 [UNREPLIED] src=70.167.153.130 [B]dst=192.168.0.2[/B] sport=5060 dport=5060 mark=0 use=2
I did a 'ifconfig eth0 down ; ifconfig eth0 up' and that cleared out the errant connections and Asterisk promptly connects back to my SIP provider.
Code:
admin@RT-AC68R:/proc/22127/net# cat /proc/net/ip_conntrack | grep 5060
udp 17 3594 src=10.0.0.14 dst=216.115.69.144 sport=5060 dport=5060 src=216.115.69.144 [B]dst=67.5.247.34[/B] sport=5060 dport=5060 [ASSURED] mark=0 use=2
udp 17 3594 src=10.0.0.14 dst=70.167.153.130 sport=5060 dport=5060 src=70.167.153.130 [B]dst=67.5.247.34[/B] sport=5060 dport=5060 [ASSURED] mark=0 use=2
You can see above it's now pointing to the WAN address as it should be.
Anyone have any thoughts on how to automate this process? I thought about the script 'wan-start' but I was wondering if this will run every time PPPoE is established?