siotp/sisr1/tp06-firewall/test_firewall.sh
2025-05-05 09:08:44 +02:00

7 lines
183 B
Bash

#!/bin/bash
ipfirewall=192.168.0.140
dir=/root/firewall
ruleset=current_ruleset.nft
scp $ruleset root@$ipfirewall:$dir/$ruselet
ssh root@$ipfirewall "bash $dir/refresh_firewall.sh"