Достъп до OpenVPN сървъра

 

Вътрешна мрежа

 

 

 

OpenVPN

10.8.0.X/24

IP Адрес :

192.168.1.X/24

 

 

255.255.255.252

Subnet Mask :

 

255.255.255.0

 

Route

10.8.0.X-1

Default Gateway :

192.168.1.1

Open VPN SSL Tunnel

първоначален пакет

 

10.8.0.1

10.8.0.6

Open VPN Packet

OpenVPN Client

 

 

 

Dest IP

Source IP

10.8.0.1

10.8.0.6

Open VPN Encapsuleted and cripted

78.83.94.48

192.168.1.X

 

 

 

Router NAT

 

 

 

Dest IP

NAT Route WAN IP

10.8.0.1

10.8.0.6

Open VPN Encapsuleted and cripted

78.83.94.48

X.X.X.X

 

 

 

Internet

 

 

 

 

 

 

Dest IP -Router Wan

NAT Route WAN IP

10.8.0.1

10.8.0.6

Open VPN Encapsuleted and cripted

78.83.94.48

X.X.X.X

 

 

 

Router DMZ

 

 

 

PBX IP

NAT Route WAN IP

10.8.0.1

10.8.0.6

Open VPN Encapsuleted and cripted

10.0.0.12

X.X.X.X

 

 

 

OpenVPN Server

 

 

 

 

 

10.8.0.1

10.8.0.6

Open VPN Packet

 

 

мрежа в офиса

 

 

OpenVPN

10.8.0.1/24

IP Адрес :

10.0.0.X/24

 

255.255.255.252

Subnet Mask :

 

255.255.255.0

 

 

Default Gateway :

10.0.0.1

 

 

 

 

 

Route в 10.0.0.1

10.8.0.0 255.255.255.0 10.0.0.12

 

 

Route в 10.0.0.12

10.8.0.X 255.255.255.0 10.8.0.X-1

 

отговор

 

10.8.0.6

10.8.0.1

Open VPN Packet - отговор

OpenVPN Server

 

 

 

NAT Route WAN IP

PBX IP

10.8.0.6

10.8.0.1

Open VPN Encapsuleted and cripted

X.X.X.X

10.0.0.12

 

 

 

Router NAT

 

 

 

NAT Route WAN IP

Dest IP

10.8.0.6

10.8.0.1

Open VPN Encapsuleted and cripted

X.X.X.X

78.83.94.48

 

 

 

Internet

 

 

 

 

 

 

NAT Route WAN IP

Dest IP -Router Wan

10.8.0.6

10.8.0.1

Open VPN Encapsuleted and cripted

X.X.X.X

78.83.94.48

 

 

 

Router NAT

 

 

 

Source IP

Dest IP -Router Wan

10.8.0.6

10.8.0.1

Open VPN Encapsuleted and cripted

192.168.1.X

78.83.94.48

 

 

 

OpenVPN Client

 

 

 

 

 

10.8.0.6

10.8.0.1

Open VPN Packet

 

 

 

 

 

 

 

 

Достъп до мрежата на OpenVPN сървера

Вътрешна мрежа

 

 

 

OpenVPN

10.8.0.X/24

IP Адрес :

192.168.1.X/24

 

 

255.255.255.252

Subnet Mask :

 

255.255.255.0

 

Route

10.8.0.X-1

Default Gateway :

 

192.168.1.1

Open VPN SSL Tunnel

първоначален пакет

 

10.0.0.X

10.8.0.6

Open VPN Packet

OpenVPN Client

 

 

 

Dest IP

Source IP

10.0.0.X

10.8.0.6

Open VPN Encapsuleted and cripted

78.83.94.48

192.168.1.X

 

 

 

Router NAT

 

 

 

Dest IP

NAT Route WAN IP

10.0.0.X

10.8.0.6

Open VPN Encapsuleted and cripted

78.83.94.48

X.X.X.X

 

 

 

Internet

 

 

 

 

 

 

Dest IP -Router Wan

NAT Route WAN IP

10.0.0.X

10.8.0.6

Open VPN Encapsuleted and cripted

78.83.94.48

X.X.X.X

 

 

 

Router DMZ

 

 

 

PBX IP

NAT Route WAN IP

10.0.0.X

10.8.0.6

Open VPN Encapsuleted and cripted

10.0.0.12

X.X.X.X

 

 

 

OpenVPN Server

 

 

 

 

 

10.0.0.X

10.8.0.6

Open VPN Packet

 

 

мрежа в офиса

 

 

OpenVPN

10.8.0.1/24

IP Адрес :

10.0.0.X/24

 

255.255.255.252

Subnet Mask :

 

255.255.255.0

 

 

Default Gateway :

10.0.0.1

Компютър - 10.0.0.X

 

10.0.0.X

10.8.0.6

Open VPN Packet

Route в 10.0.0.1

10.8.0.0 255.255.255.0 10.0.0.12

 

 

Route в 10.0.0.12

10.8.0.X 255.255.255.0 10.8.0.X-1

 

route 10.0.0.0 255.255.255.0,route 10.8.0.0 255.255.255.0,ifconfig 10.8.0.10 10.8.0.9 - PUSH

отговор

 

10.8.0.6

10.0.0.X

Open VPN Packet - отговор

Default Gateway - 10.0.0.1 - Route 1

10.8.0.6

10.0.0.X

Open VPN Packet - отговор

PABX - 10.0.0.12 - Route 2

10.8.0.6

10.0.0.X

Open VPN Packet - отговор

OpenVPN Server

 

 

 

NAT Route WAN IP

PBX IP

10.8.0.6

10.0.0.X

Open VPN Encapsuleted and cripted

X.X.X.X

10.0.0.12

 

 

 

Router NAT

 

 

 

NAT Route WAN IP

Dest IP

10.8.0.6

10.0.0.X

Open VPN Encapsuleted and cripted

X.X.X.X

78.83.94.48

 

 

 

Internet

 

 

 

 

 

 

NAT Route WAN IP

Dest IP -Router Wan

10.8.0.6

10.0.0.X

Open VPN Encapsuleted and cripted

X.X.X.X

78.83.94.48

 

 

 

Router NAT

 

 

 

Source IP

Dest IP -Router Wan

10.8.0.6

10.0.0.X

Open VPN Encapsuleted and cripted

192.168.1.X

78.83.94.48

 

 

 

OpenVPN Client

 

 

 

 

 

10.8.0.6

10.0.0.X

Open VPN Packet