SHOW:
|
|
- or go back to the newest paste.
| 1 | :env set var SESSIONTIMEOUT value 900 | |
| 2 | :ppp relay flush | |
| 3 | :ppp flush | |
| 4 | :eth flush | |
| 5 | :atm flush | |
| 6 | :atm phonebook flush | |
| 7 | :dsd config state disabled | |
| 8 | :dns server config state disabled | |
| 9 | :dns server config WANDownSpoofing disabled | |
| 10 | ||
| 11 | :eth bridge config vlan enabled filter none | |
| 12 | :eth vlan add name vlan_wan vid 10 addrule disabled | |
| 13 | ||
| 14 | :eth bridge ifdetach intf ethport4 | |
| 15 | :eth bridge ifdelete intf ethport4 | |
| 16 | ||
| 17 | :eth ifadd intf eth_wan | |
| 18 | :eth ifconfig intf eth_wan dest ethif4 vlan vlan_wan | |
| 19 | :eth ifattach intf eth_wan | |
| 20 | ||
| 21 | :ip ifadd intf ip_wan dest eth_wan | |
| 22 | :dhcp client ifadd intf ip_wan | |
| 23 | :dhcp client ifconfig intf ip_wan metric 1 | |
| 24 | :dhcp client rqoptions add intf ip_wan option 1 | |
| 25 | :dhcp client rqoptions add intf ip_wan option 3 | |
| 26 | :dhcp client rqoptions add intf ip_wan option 6 | |
| 27 | :dhcp client rqoptions add intf ip_wan option 51 | |
| 28 | :dhcp client rqoptions add intf ip_wan option 58 | |
| 29 | :dhcp client rqoptions add intf ip_wan option 59 | |
| 30 | ||
| 31 | :nat ifconfig intf ip_wan translation enabled | |
| 32 | :dhcp client ifattach intf ip_wan | |
| 33 | :ip ifattach intf ip_wan | |
| 34 | - | :ip ifconfig intf ip_wan hwaddr=00:16:D4:DA:85:94 |
| 34 | + | |
| 35 | ||
| 36 | :dhcp server config state disabled | |
| 37 | :dhcp server pool config name LAN_private intf LocalNetwork poolstart 192.168.1.110 poolend 192.168.1.130 netmask 24 | |
| 38 | :dhcp server pool config name LAN_private intf LocalNetwork gateway 192.168.1.254 | |
| 39 | :dhcp server pool config name LAN_private intf LocalNetwork primdns 194.126.97.30 secdns 195.250.187.46 | |
| 40 | :dhcp server config state enabled | |
| 41 | ||
| 42 | :eth bridge vlan ifadd intf OBC name vlan_wan untagged disabled | |
| 43 | :eth bridge rule flush | |
| 44 | ||
| 45 | :wireless secmode wpa-psk version WPA | |
| 46 | :wireless secmode config mode wpa-psk | |
| 47 | :wireless macacl config control unlock | |
| 48 | :wireless ifconfig channel auto | |
| 49 | :wireless wds config state disabled | |
| 50 | :wireless ifconfig state enabled | |
| 51 | ||
| 52 | :service system ifadd name PING_RESPONDER group wan | |
| 53 | :service system modify name IGMP-Proxy state disabled | |
| 54 | :service system ifadd name TELNET group wan | |
| 55 | :service system ipadd name TELNET ip 192.168.0.0/16 | |
| 56 | :service system ipadd name TELNET ip 10.0.0.0/24 | |
| 57 | :service system ipadd name TELNET ip 172.16.0.0/12 | |
| 58 | ||
| 59 | :saveall |