$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 \
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" \
$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)
; ================================================================
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)
$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)
; ================================================================
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)