From 660d04fbad0bf19ae4f0b21ef3245ee4793edd84 Mon Sep 17 00:00:00 2001 From: norbey <ngyimesi@sch.bme.hu> Date: Sun, 19 Mar 2023 12:01:26 +0100 Subject: [PATCH] Updated router config --- tasks/vyos.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasks/vyos.yml b/tasks/vyos.yml index a801c29..83ac5e7 100644 --- a/tasks/vyos.yml +++ b/tasks/vyos.yml @@ -16,4 +16,12 @@ - set firewall name FR-W-FWD rule 100 destination address 192.168.69.0/24 - set firewall name FR-W-FWD rule 100 protocol tcp - set firewall name FR-W-FWD rule 100 action accept + - set firewall name FR-W-FWD rule 110 destination port 80,443 + - set firewall name FR-W-FWD rule 110 destination address 192.168.69.50 + - set firewall name FR-W-FWD rule 110 protocol tcp + - set firewall name FR-W-FWD rule 110 action accept + - set nat destination rule 150 translation address 192.168.69.50 + - set nat destination rule 150 destination address 152.66.209.61 + - set nat destination rule 150 protocol tcp + - set nat destination rule 150 destination port 80,443 save: yes \ No newline at end of file -- GitLab