This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dial | |
pppoecd vlan2 -u $user -p $password # wan1 | |
pppoecd vlan2 -u $user -p $password # wan2 | |
# Handle outgoing packet | |
# Make "ip route" contains a default route like this | |
# "ip route" final state | |
#default | |
# nexthop via $wan1_ip dev $wan1_dev weight 1 # such as 202.106.0.24 ppp0 |