Factory default configure template

Factory default configure template

Connected console to HSG then use following CLI command
HSG# write erase all
all Yes then reboot

after that copy below configure template to the box.
!
hostname HSG
!
interface eth0
 description "Connection to WAN"
 enable
 ip address dhcp
!
interface eth1
 description "Connection to LAN"
 enable
 ip address 192.168.8.1/24
 dhcp-server
  router 192.168.8.1
  dns 8.8.8.8 8.8.4.4
  range 192.168.8.10 192.168.8.200
  enable
!
interface eth2
 description "Connection to Management"
 enable
 ip address 10.10.10.1/24
 dhcp-server
  router 10.10.10.1
  dns 10.10.10.1 8.8.8.8
  range 10.10.10.10 10.10.10.200
  enable
!
interface eth3
 enable
!
interface loopback
 enable
 ip address 2.1.2.1/32
!
ip name-server 8.8.8.8 8.8.4.4
!
ip host mail 127.0.0.1
ip host mysql 127.0.0.1
ip host portal.ransnet.com 61.91.1.229
ip host splash.ransnet.com 2.1.2.1 rewrite
!
router ospf
 network 11.11.11.0/24 area 0
 redistribute connected
!
firewall-dnat 10 redirect all udp dport 53 rdport 53
!
firewall-input 10 permit all tcp dport 22
firewall-input 11 permit all tcp dport 443
firewall-input 12 permit all udp dport 53
firewall-input 13 permit all tcp dport 80
!
firewall-access 10 permit outbound eth0
!
firewall-snat 10 overload outbound eth0
!
security log-server
 log-input 10 accept msg mboxfw
 log-input 20 accept tag unbound
 log-input 30 accept tag klish
 log-input 31 accept tag dhcp
 log-input 999 accept all
 data-lifetime 90
 start
!
security radius-server
 client 127.0.0.1 key testing123 name localhost
 start
!

***Note
    wan staic ip need default gateway as below sample
    ip route 0.0.0.0/0 nexthop 121.58.189.1
    • Related Articles

    • Ransnet user check status/disconnect

      http://status.ransnet.com/status
    • Config Form .txt File

      - หากได้รับไฟล์ Config Backup เป็นไฟล์ .txt ให้ทำการ PuTTY เข้าเครื่อง support > Letmein99 > enable > Letmein99 - หลังจากนั้นให้ตรวจสอบ Config โดยเทียบ PuTTY กับไฟล์ .txt show running-config > เทียบกันระหว่าง 2 ไฟล์ - หากต้องการแก้ไข Config ...