1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

E4200v1 + Toastman iptables crash/reboot

Discussion in 'Tomato Firmware' started by oviano, Apr 3, 2014.

  1. oviano

    oviano Network Newbie Member


    I've been using Toastman 1.28.0502 for over 6 months or so and have been very happy with it, especially the QoS features which generally work pretty well.

    Just lately I've been trying to setup OpenVPN and using selective routing to make sure that only certain source and destination IP addresses go through the VPN, and the rest stays outside.

    I was intending to use the approach I found here:


    I have pasted the script into the WAN UP section, however, my router is rebooting shortly after it has executed this line:

    # Default behavior: MARK = 1 all traffic bypasses VPN, MARK = 0 all traffic goes VPN
    iptables -t mangle -A PREROUTING -i br0 -j MARK --set-mark 1

    If I disable this line in the script, then it doesn't reboot, but if I then telnet in and execute it manually then sure enough it crashes not long after (it can be up to 30-60s it seems).

    Does anyone know why this might be, or how I might go about narrowing it down?

    I've actually tried this on two separate E4200v1s, the first with Toastman 1.28.0502 and today with Toastman 1.28.0503 and in each case I did the 30-30-30 reset before and after installing the firmware and chose the Erase NVRAM option and then reconfigured the router from scratch.

    What else...I have QoS turned on, but a very simplified set of classifications rather than the default it comes with.

    Other than that, I have made no other customisations or scripts or anything like that, it's just a standard PPPoE connection.

    Maybe it's memory? I've around 60 devices connecting to the router ranging from tablets, phones, to Apple TVs and various PCs etc.



Share This Page