Merge branch 'main' of https://github.com/4bobus/laba
This commit is contained in:
@@ -35,12 +35,11 @@ table inet filter {
|
||||
table inet nat {
|
||||
chain prerouting {
|
||||
type nat hook prerouting priority filter; policy accept
|
||||
ip daddr 172.16.5.2 tcp dport 2024 dnat ip to 192.168.200.2:2024
|
||||
ip daddr 172.16.5.2 tcp dport 80 dnat ip to 192.168.200.2:8080
|
||||
ip daddr 172.16.50.2 tcp dport 3015 dnat ip to 192.168.200.2:3015
|
||||
ip daddr 172.16.50.2 tcp dport 80 dnat ip to 192.168.200.2:8080
|
||||
}
|
||||
chain postrouting {
|
||||
type nat hook postrouting priority srcnat
|
||||
|
||||
oif "ens18" ip saddr { 192.168.200.0/27 } masquerade
|
||||
oif "ens18" ip saddr { 192.168.200.0/28 } masquerade
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@ table inet filter {
|
||||
table inet nat {
|
||||
chain prerouting {
|
||||
type nat hook prerouting priority filter; policy accept
|
||||
ip daddr 172.16.4.2 tcp dport 2024 dnat ip to 192.168.100.2:2024
|
||||
ip daddr 172.16.40.2 tcp dport 3015 dnat ip to 192.168.100.2:3015
|
||||
ip daddr 172.16.40.2 tcp dport 80 dnat ip to 192.168.100.2:80
|
||||
}
|
||||
chain postrouting {
|
||||
type nat hook postrouting priority srcnat
|
||||
|
||||
oif "ens18" ip saddr { 192.168.100.0/26, 192.168.10.0/28 } masquerade
|
||||
oif "ens18" ip saddr { 192.168.100.0/27, 192.168.10.0/28 } masquerade
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,10 +10,10 @@ services:
|
||||
- database
|
||||
volumes:
|
||||
- images:/var/www/html/images
|
||||
- ./LocalSettings.php:/var/www/html/LocalSettings.php
|
||||
# - ./LocalSettings.php:/var/www/html/LocalSettings.php
|
||||
|
||||
database:
|
||||
container_name: db
|
||||
container_name: mariadb
|
||||
image: mariadb
|
||||
restart: always
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user