Tutorial & Configuration
  • Home
  • Desktop
  • Server
  • Mikrotik
  • Tools
  • Home
  • Desktop
  • Server
  • VirtualBox
  • Cisco
  • Mikrotik
  • Tools
  • About
  • Contact

Rabu, 27 Juli 2022

config ipsec site to site strongswan

 maouam     Juli 27, 2022     Network, Server     No comments   

 config ipsec site to site strongswan

======================

/etc/ipsec.secrets

# This file holds shared secrets or RSA private keys for authentication.


# RSA private key for this host, authenticating it to any other host

# which knows the public part.

publicip-site1 publicip-site2 : PSK "secret"


===============

/etc/ipsec.conf

config setup

        charondebug="all"

        uniqueids=yes

conn site1-to-site2

        type=tunnel

        auto=start

        keyexchange=ikev2

        authby=secret

        left=public-ip-site1

        leftsubnet=192.168.0.0/29

        right=public-ip-site2

        rightsubnet=192.168.1.0/29

        ike=aes256-sha256-modp1024

        esp=aes256

        aggressive=no

        keyingtries=%forever

        ikelifetime=28800s

        lifetime=3600s

        dpddelay=30s

        dpdtimeout=120s

        dpdaction=restart


  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Kirimkan Ini lewat EmailBlogThis!Bagikan ke XBerbagi ke Facebook
Posting Lebih Baru Posting Lama Beranda

0 komentar:

Posting Komentar

Popular Posts

  • Install zenchain node di Ubuntu-Linux (self-host node)
      Install zenchain node di Ubuntu-Linux (self-host node)   #Buat wallet baru di metamask dan import ke OKX juga (EVM) #WL di web (supa...
  • Install 0GDA Node & Client di Ubuntu-Linux
    Install 0GDA Node & Client di Ubuntu-Linux Spec vps CPU 8 core RAM 16 GB Contabo spec VPS-3 #Buat Wallet EVM (buat di OKX simpan p...
  • Install 0G Storage Node di Ubuntu-Linux
    Install 0G Storage Node di Ubuntu-Linux Spec VPS CPU: 4 Core RAM: 16 GB Disk: 500GB Note: disarankan menjalankan skrip di tmux atau screen, ...
  • Install Node ICN Protocol di Ubuntu-Linux (Pharse-2)
     Install Node ICN Protocol di Ubuntu-Linux (Pharse-2) ICN pakai port 9000, pastikan tidak ada VPS/node anda yg menggunakan port tersebut. #B...

LABELS

  • AWS
  • Cisco
  • Cloud
  • Desktop
  • DevOps
  • Mikrotik
  • Network
  • Nginx
  • node2an
  • Proxmox
  • Server
  • Tools
  • VirtualBox
  • Zimbra

Sosial Media

Facebook 35.4Fans
Twitter 519Followers
Instagram 1060Followers
google+ 16Followers
Youtube 24Subscriber

Widget

  • Home
  • About Us
  • Contact Us

Copyright © Tutorial & Configuration