OpenVPN configuration examples: Difference between revisions
m
Justas.Cip moved page OpenVPN configuration examples RUT R 00.07 to OpenVPN configuration examples without leaving a redirect
m (This is an OpenVPN TLS configuration example with Windows client, waiting for review) |
Justas.Cip (talk | contribs) m (Justas.Cip moved page OpenVPN configuration examples RUT R 00.07 to OpenVPN configuration examples without leaving a redirect) |
||
(2 intermediate revisions by one other user not shown) | |||
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]] | ||
===OpenVPN Windows client configuration | ===OpenVPN Windows client configuration=== | ||
----For this step, you'll need to prepare a configuration file folder, it must contain the following files: | ----For this step, you'll need to prepare a configuration file folder, it must contain the following files: | ||