Skip to main content
added 12 characters in body
Source Link
Hauke Laging
  • 94.6k
  • 21
  • 132
  • 185

Is my first VPN,for for testing

this is my simple network scheme

LAN1(private 10.10.0.0/24) --->VPN-----internet---<VPN---<LAN2(private 10.20.0.0/24)

on /etc/ipsec.conf/etc/ipsec.conf i use..

...
        left=ippublicserver1
        leftid=fqdnserverA
        leftsubnet=10.10.0.0/24
        right=ippublicserver2
        rightsubnet=10.20.0.0/24
....

My question is really simple..,on the serverB I have to use

a)An IDENTICAL ipsec.conf

b)A Different ipsec.conf where rigthsubnet become leftsubnet?

  1. An IDENTICAL ipsec.conf

  2. A Different ipsec.conf where rigthsubnet become leftsubnet?

I think..B,is is correct?

Is my first VPN,for testing

this is my simple network scheme

LAN1(private 10.10.0.0/24) --->VPN-----internet---<VPN---<LAN2(private 10.20.0.0/24)

on /etc/ipsec.conf i use..

...
        left=ippublicserver1
        leftid=fqdnserverA
        leftsubnet=10.10.0.0/24
        right=ippublicserver2
        rightsubnet=10.20.0.0/24
....

My question is really simple..,on the serverB I have to use

a)An IDENTICAL ipsec.conf

b)A Different ipsec.conf where rigthsubnet become leftsubnet?

I think..B,is correct?

Is my first VPN, for testing

this is my simple network scheme

LAN1(private 10.10.0.0/24) --->VPN-----internet---<VPN---<LAN2(private 10.20.0.0/24)

on /etc/ipsec.conf i use..

...
        left=ippublicserver1
        leftid=fqdnserverA
        leftsubnet=10.10.0.0/24
        right=ippublicserver2
        rightsubnet=10.20.0.0/24
....

My question is really simple..,on the serverB I have to use

  1. An IDENTICAL ipsec.conf

  2. A Different ipsec.conf where rigthsubnet become leftsubnet?

I think..B, is correct?

Source Link
elbarna
  • 14.3k
  • 28
  • 109
  • 198

ipsec on linux,a simple and fast question

Is my first VPN,for testing

this is my simple network scheme

LAN1(private 10.10.0.0/24) --->VPN-----internet---<VPN---<LAN2(private 10.20.0.0/24)

on /etc/ipsec.conf i use..

...
        left=ippublicserver1
        leftid=fqdnserverA
        leftsubnet=10.10.0.0/24
        right=ippublicserver2
        rightsubnet=10.20.0.0/24
....

My question is really simple..,on the serverB I have to use

a)An IDENTICAL ipsec.conf

b)A Different ipsec.conf where rigthsubnet become leftsubnet?

I think..B,is correct?