How to delay LAN start by 15 seconds after WAN start

I have installed the PASSWALL package to use the VPN.

Since the PASSWORD is connected some time after the router is connected to the Internet, the traffic from the clients passes directly.

Help make launch the LAN interface 15 seconds after the router is fully loaded, so that the PASSWALL can establish communication with the server.

Thanks

uncheck bring up on boot box in interface config, enable in rc.local after a sleep.

3 Likes

Thank You!!!

in (rc.local) need to write:

sleep 15 && ifup lan &
exit 0

Am I thinking correctly?

sleep 15
ifup br-lan
exit 0

install screen, and run it inside as ifdown br-lan; sleep 15; ifup br-lan to see if it works, if you add it straight to rc.local, and it'd fail, you'll have locked yourself out of the router.

Understood

Explain how BR-LAN differs from LAN

Your recommendation works great.

Can you tell me how to make sure that when the router is rebooted, the LAN interface turns off earlier than the PASSWALL

when I click restart the router, the PASSWALL shuts down before the LAN interface and the traffic from the clients passes directly.

One exists, the other doesn't ?

That would be the check box you were told about earlier...

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.