How to run a command after pppoe dial-in

Discussion in 'DD-WRT Firmware' started by user23, Sep 28, 2005.

  1. user23

    user23 Network Guru Member


    i'm using a bash script to forward traffic from port 80 to an external squid proxy (transparent proxying).
    It seems that each time pppoe reconnects the iptables config is resetted.
    So is there a way to start my script which corrects the iptables settings each time pppoe gets a nwe connection?
  2. merlin88

    merlin88 Network Guru Member


    I've also some question to this topic. In the Wiki there is a possibility to run a script through nvram variable after startup of the box. Is there also such an possibility in nvram, which runs a script after dial in? Than it would be possible to store the firewall in jffs2 and not the nvram (which has limited capacity). There must be a possibility, because dyndns must also be informed, when the ip-address changes. Any help would be appreciated.

    Best regards

  3. knight14th

    knight14th Network Guru Member

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice