minor fixes and improvements
[automated-distro-installer] / wrt-setup-local
index 17fb9d2adb4ff915f94f5e33aaa0f64b2e9a12b8..4cad00c1797158040c6ec1f66dc90d9a321eaf70 100755 (executable)
@@ -483,7 +483,7 @@ config redirect
  option src              wan
  option src_dport        2202
  option dest_port        22
- option dest_ip          $l.8
+ option dest_ip          $l.2
  option dest             lan
 config rule
  option src              wan
@@ -571,7 +571,7 @@ config redirect
  option src              wan
  option src_dport        80
  option dest             lan
- option dest_ip          $l.8
+ option dest_ip          $l.2
  option proto            tcp
 config rule
  option src              wan
@@ -584,7 +584,7 @@ config redirect
  option src              wan
  option src_dport        443
  option dest             lan
- option dest_ip          $l.8
+ option dest_ip          $l.2
  option proto            tcp
 config rule
  option src              wan
@@ -677,8 +677,8 @@ EOF
 case $hostname in
   cmc)
     v cedit host /etc/hosts <<EOF || dnsmasq_restart=true
-$l.1 $hostname b8.nz
-$l.2 kd
+$l.1 $hostname
+$l.2 kd b8.nz
 #$l.3 frodo
 $l.4 wrt2
 $l.5 x2 faiserver