Updated efg.pm.f29 (revert to old IP addresses), pns.usr.f29 (added icell ac922).
authorZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Fri, 17 May 2019 07:05:16 +0000 (09:05 +0200)
committerZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Fri, 17 May 2019 07:05:16 +0000 (09:05 +0200)
sources/efg.pm.f29/firstboot/11_iptables_set_efg_rules.sh
sources/pns.usr.f29/firstboot/01_setupnetworking.sh
sources/pns.usr.f29/postinstall/install/var/named/228.10.in-addr.arpa.zone
sources/pns.usr.f29/postinstall/install/var/named/usr.user.hu.zone

index 69a80d830c2960241565fc4b854caaf3b82b1dd8..93d1a8a88ab8a86bc129a2cea9b0a72fe15a320b 100755 (executable)
@@ -442,7 +442,7 @@ $IPTABLES --table filter --append OUTPUT \
 $IPTABLES --table nat --append POSTROUTING \
           --source ${USR_NET},${SR_NET},$IN_NET \
           --out-interface $EXTERNAL_IF_DYNAMIC \
-          --jump SNAT --to-source $PUBLIC_IP_146
+          --jump SNAT --to-source $PUBLIC_IP_202
 # snat packets
 #     from the usr, sr and in networks
 $IPTABLES --table nat --append POSTROUTING \
index c5d2f0540cb1b7cd690db175c407a7df72d90c9b..3efc725ce5cedd8368c97f10d1a2378b5162701f 100755 (executable)
@@ -41,10 +41,10 @@ nmcli connection delete uuid "$CONNECTION_UUID"
 
 nmcli connection add \
     connection.autoconnect yes \
-    connection.id perimeter \
+    connection.id internal \
     connection.interface-name $CONNECTION_DEVICE \
     connection.type 802-3-ethernet \
-    ipv4.addresses "10.228.109.174/24" \
+    ipv4.addresses "10.228.109.174/16" \
     ipv4.dns "10.228.109.104, 10.228.109.253" \
     ipv4.dns-search "usr.user.hu" \
     ipv4.gateway "10.228.109.254" \
index 5e81229feb9f748524da0293a4b3399c7d3badcb..2bca46760d6550cc832d7c5f457d8dcd52b85847 100644 (file)
@@ -1,6 +1,6 @@
 $TTL   86400
 @      IN      SOA     ns.usr.user.hu. hostmaster.mx.usr.user.hu.      (
-                                       2019022701      ; Serial
+                                       2019042301      ; Serial
                                        86400           ; Refresh (1 day)
                                        7200            ; Retry (2 hours)
                                        2419200         ; Expire (4 weeks)
@@ -352,6 +352,7 @@ $GENERATE   100-254 $.43    IN      PTR     dhcp$.usr.user.hu.
 ; ================================================================
 13.19          IN      PTR     aiac922.usr.user.hu.
 12.19          IN      PTR     aiac922bmc.usr.user.hu.
+10.19          IN      PTR     aiac922icell.usr.user.hu.
 
 ; ================================================================
 ; acsiba (ac = 1 * 10 + 3 = 13)
index c110b02f658b9b5b3362319a1c941904f6da70df..9b9357dac314fd8c25bcc2a1aafe42b0cda123dd 100644 (file)
@@ -1,6 +1,6 @@
 $TTL   86400
 @      IN      SOA     ns.usr.user.hu. hostmaster.mx.usr.user.hu.      (
-                                       2019022701      ; Serial
+                                       2019042301      ; Serial
                                        86400           ; Refresh (1 day)
                                        7200            ; Retry (2 hours)
                                        2419200         ; Expire (4 weeks)
@@ -370,6 +370,7 @@ akminecraft IN      A       10.228.21.1
 ; ================================================================
 aiac922                IN      A       10.228.19.13    ; ac
 aiac922bmc     IN      A       10.228.19.12    ; ab
+aiac922icell   IN      A       10.228.19.10
 
 ; ================================================================
 ; acsiba (ac = 1 * 10 + 3 = 13)