Looking at the live iptables rules on the router it is using both SNAT and masquerade.
However SNAT is only used on the lan ips masquerade is used on 0.0.0.0 meaning what you said is probably happening. Whether or not I can manually change this with it sticking (at least between reboots) is another matter tho.
For ppp persist is configured so the sigterm defenitly shouldnt be happening.
I think you may well be right regarding iptables but given there is some rules set with my wan ip I believe these rules are probably getting updated everytime ppp connects and if thats the case me manually changing them probably wont be effective, but I will try to replace the postrouting masq with snat and see what happens when I cycle ppp.
--edit--
Ok I found a setting in tomato for SNAT, enabled it so dont need custom rules. Manually disconnecting ppp still terminates all connections so I did a test with a low LCP timeout, pulled the wan cable for 30 seconds, put it back in, log shows ppp was lost and started again, and my ssh session held, so hopefully this does the trick.
Plusnet Fibre Unlimited BQM
Edited by Chrysalis (Sat 04-Jan-14 01:58:26)



Pages in this thread:
Print Thread
Chrysalis