Changes

m
no edit summary
Line 280: Line 280:  
----For this example we will be creating a TUN (Tunnel) type connection that uses the UDP protocol for data transfer and TLS Authentication, you can refer to [[How to generate TLS certificates (Windows)?|this]] article for more information about TLS certificates and keys. Here is the router '''RUT1''' OpenVPN configuration ('''Server'''; LAN IP: '''192.168.1.1'''; WAN (Public static) IP: '''213.226.191.61;''' OpenVPN Virtual network will be '''10.0.0.0/24''') :
 
----For this example we will be creating a TUN (Tunnel) type connection that uses the UDP protocol for data transfer and TLS Authentication, you can refer to [[How to generate TLS certificates (Windows)?|this]] article for more information about TLS certificates and keys. Here is the router '''RUT1''' OpenVPN configuration ('''Server'''; LAN IP: '''192.168.1.1'''; WAN (Public static) IP: '''213.226.191.61;''' OpenVPN Virtual network will be '''10.0.0.0/24''') :
 
[[File:OpenVPN-Server-config.png|alt=OpenVPN-Server-Configuration|border]]
 
[[File:OpenVPN-Server-config.png|alt=OpenVPN-Server-Configuration|border]]
 +
 
You can add push option ('''route 192.168.1.0 255.255.255.0''') to allow VPN clients to connect to the router LAN network.
 
You can add push option ('''route 192.168.1.0 255.255.255.0''') to allow VPN clients to connect to the router LAN network.
    
Once the VPN server is ready, It will change its status to Active:
 
Once the VPN server is ready, It will change its status to Active:
 +
 
[[File:Server-Status Active.png|border]]
 
[[File:Server-Status Active.png|border]]
  

Navigation menu