Confused about OpenVPN Site to Site IP address (CIDR Route Summarization)



  • I have read pfsense book and search on this forum but no one use the same IP address that I used.
    In the pfsense book use IP address for:

    Site A              
    pfSense Lan IP: 192.168.1.1
    Lan Network:    192.168.1.0/24
    OpenVPN :        172.31.55.1

    OpenVPN tunnel pool: 172.31.55.0/30

    Site B
    pfSense Lan IP: 10.0.10.1
    Local network:  10.0.10.0/24
    OpenVPN:         172.31.55.2

    I don't want to use the same IP address as the pfsense book.

    I have a little bit confused about setup OpenVPN Site to Site IP address and CIDR route summarization.
    I have already done with Site 1 Server ( Mobile to Site ) and I still want to use the same IP address 172.31.21.1 for Server Site
    Now I want to setup OpenVPN Site to Site and I have a little bit complicated about Client Site IP address.

    Can anyone suggestion ?
    I really want to know. Is it correct or I have to change something from my network diagram ?
    Is this IP address overlap?

    My network diagram.

    CIDR Route summarization
    172.31.20.0/22 spit into /24 network

    172.31.20.0/24
    172.31.21.0/24
    172.31.22.0/24
    172.31.23.0/24

    Site1 Server
    pfSense Lan IP: 172.31.21.1
    Lan Network:    172.31.21.0/24
    OpenVPN :        172.31.23.1

    OpenVPN tunnel pool: 172.31.23.0/30

    Site2 Client
    pfSense Lan IP: 172.31.22.1
    Local network:  172.31.22.0/24
    OpenVPN:         172.31.23.2

    Donny


Locked