Projet

Général

Profil

Tâche #18704

Mis à jour par Thierry Bertrand il y a plus de 7 ans

## Autorisation des réseaux PNESR et PSIN à traverser le parefeu vers le Lan

## PNESR
%if %%is_defined('nom_carte_eth1')
%for %%ip_pnesr in %%pner_ip
iptables -t filter -A FORWARD -i %%nom_carte_eth1 -o %%nom_carte_eth2 -s %%ip_pnesr/%%ip_pnesr.pner_netmask -d 0/0 -j ACCEPT
%end for

## PSIN
%for %%ip_psin in %%psin_ip
iptables -t filter -A FORWARD -i %%nom_carte_eth1 -o %%nom_carte_eth2 -s %%ip_psin/%%ip_psin.psin_netmask -d 0/0 -j ACCEPT
%end for
%end if

Retour