FIREWALLS > Configuration d'un VPN pour firewall Juniper
//Configurer les sous-réseaux
set address "Trust" "my.network" 10.1.2.0 255.255.255.0
set address "Untrust" "RemoteNetwork" 10.1.1.0 255.255.255.0
//Site avec ip publique: 88.3.45.6
ns500_01->set ike gateway "RemoteSite" address 88.3.45.6 Main outgoing-interface "untrust" preshare theSecretKey
ns500_01->set vpn "VPNRemoteSite" gateway "RemoteSite" no-replay tunnel sec-level standard
//Autoriser les utilisateurs distant à se connecter:
ns500_01->set policy from "Untrust" to "Trust" "RemoteNetwork" "my.network" "ANY" tunnel vpn "VPNRemoteSite"
//Autoriser les utilisateurs locals à se connecter:
ns500_01->set policy from "Trust" to "Untrust" "my.network" "RemoteNetwork" "ANY" tunnel vpn "VPNRemoteSite"
Retour