Basic config: vsrxipsec use case ( on VMware Player )

VMware Network Setup:

Very basic configuration:

relase: 12.1X47-D20.7    ( root / juniper1 use to be juniper123 )

set system host-name vsrxipsec
# set system root-authentication plain-text                       #( then enter password )  + commit :already done
set system name-server 8.8.8.8
set system services web-management http interface ge-0/0/0.0
set system services ssh
set system services ssh root-login allow
set system services netconf ssh
set system login user ansible authentication plain-text-password  ( ansible / ansible1 )
set system login user ansible class super-user
set interface ge-0/0/0.0 family inet address 192.168.101.27      # Management: using VMware the first interface is using VMnet1-host only
set interface ge-0/0/1.0 family inet dhcp                        # Internet access:  using VMware the first interface is using NAT ( same as VMnet8 )
set routing-options static route 0.0.0.0/0 next-hop 192.168.108.2
set security zones functional-zone management interfaces ge-0/0/0.0
set security zones functional-zone management host-inbound-traffic system-services http
set security zones functional-zone management host-inbound-traffic system-services ssh
set security zones security-zone trust
set security zones security-zone untrust interfaces ge-0/0/1.0 host-inbound-traffic system-services dhcp
set security zones security-zone untrust interfaces ge-0/0/1.0 host-inbound-traffic system-services all
commit and-quit


Test the ping to the internet:



SRX & J Series Site-to-Site VPN Configuration Generator

https://www.juniper.net/support/tools/vpnconfig/#ike