OpenWRT - How to set up an OpenVPN Tun Route between two routers
Complete guide how to set up an OpenVPN Tun Route between two OpenWRT routers.
Copy + Paste Instructions listed below. Click Show More in description.
opkg update
opkg install luci-app-openvpn openvpn-easy-rsa openvpn-openssl nano tcpdump
easyrsa init-pki
easyrsa build-ca nopass
easyrsa build-server-full Server_SiteA nopass
easyrsa build-client-full Client_SiteB_SiteA nopass
easyrsa gen-dh
OpenVPN Server Config
config openvpn 'VPN_Tun_Server'
option cipher 'AES-256-GCM'
option client_config_dir '/etc/openvpn/ccd'
option client_to_client '1'
option comp_lzo 'no'
option dev 'tun0'
option ifconfig_pool_persist '/etc/openvpn/ipp.txt'
option keepalive '10 60'
option mssfix '1420'
option mode 'server'
option persist_key '1'
option persist_tun '1'
option port '7500'
option proto 'udp'
option remote_cert_tls 'client'
option reneg_sec '0'
option route '192.168.3.0 255.255.255.0'
option server '10.20.0.0 255.255.255.0'
option topology 'subnet'
option verb '3'
option ca '/etc/openvpn/ca_tuntest.crt'
option dh '/etc/openvpn/dh_tuntest.pem'
option cert '/etc/openvpn/tuntest_Server.crt'
option key '/etc/openvpn/tuntest_Server.key'
option enabled '1'
OpenVPN Client Config
config openvpn 'VPN_Tun_Client'
list remote 'server.dyndns.org'
option auth_nocache '1'
option cipher 'AES-256-GCM'
option client '1'
option comp_lzo 'no'
option connect_retry '5 60'
option dev 'tun0'
option nobind '1'
option persist_key '1'
option persist_tun '1'
option port '7500'
option proto 'udp'
option remote_cert_tls 'server'
option reneg_sec '0'
option verb '3'
option ca '/etc/openvpn/ca_tuntest.crt'
option cert '/etc/openvpn/tuntest_Client.crt'
option key '/etc/openvpn/tuntest_Client.key'
option enabled '1'
Problems?
* Restart both routers and clients.
* Test temporarily disabling Windows Firewall to ensure this is not blocking ping.
* Ensure the file in CCD directory matches OpenVPN Client common name e.g Client_SiteB_SiteA
* Ensure OpenVPN config has the correct remote server address / IP.routers.
Видео OpenWRT - How to set up an OpenVPN Tun Route between two routers канала Prime Tech Guides
Copy + Paste Instructions listed below. Click Show More in description.
opkg update
opkg install luci-app-openvpn openvpn-easy-rsa openvpn-openssl nano tcpdump
easyrsa init-pki
easyrsa build-ca nopass
easyrsa build-server-full Server_SiteA nopass
easyrsa build-client-full Client_SiteB_SiteA nopass
easyrsa gen-dh
OpenVPN Server Config
config openvpn 'VPN_Tun_Server'
option cipher 'AES-256-GCM'
option client_config_dir '/etc/openvpn/ccd'
option client_to_client '1'
option comp_lzo 'no'
option dev 'tun0'
option ifconfig_pool_persist '/etc/openvpn/ipp.txt'
option keepalive '10 60'
option mssfix '1420'
option mode 'server'
option persist_key '1'
option persist_tun '1'
option port '7500'
option proto 'udp'
option remote_cert_tls 'client'
option reneg_sec '0'
option route '192.168.3.0 255.255.255.0'
option server '10.20.0.0 255.255.255.0'
option topology 'subnet'
option verb '3'
option ca '/etc/openvpn/ca_tuntest.crt'
option dh '/etc/openvpn/dh_tuntest.pem'
option cert '/etc/openvpn/tuntest_Server.crt'
option key '/etc/openvpn/tuntest_Server.key'
option enabled '1'
OpenVPN Client Config
config openvpn 'VPN_Tun_Client'
list remote 'server.dyndns.org'
option auth_nocache '1'
option cipher 'AES-256-GCM'
option client '1'
option comp_lzo 'no'
option connect_retry '5 60'
option dev 'tun0'
option nobind '1'
option persist_key '1'
option persist_tun '1'
option port '7500'
option proto 'udp'
option remote_cert_tls 'server'
option reneg_sec '0'
option verb '3'
option ca '/etc/openvpn/ca_tuntest.crt'
option cert '/etc/openvpn/tuntest_Client.crt'
option key '/etc/openvpn/tuntest_Client.key'
option enabled '1'
Problems?
* Restart both routers and clients.
* Test temporarily disabling Windows Firewall to ensure this is not blocking ping.
* Ensure the file in CCD directory matches OpenVPN Client common name e.g Client_SiteB_SiteA
* Ensure OpenVPN config has the correct remote server address / IP.routers.
Видео OpenWRT - How to set up an OpenVPN Tun Route between two routers канала Prime Tech Guides
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
OpenWRT - VPN Policy Routing in Detail & Case StudyWhat is Double NAT?Configuring OPENVPN on pfsenseHow to Create a Proxy // Squid (HTTP) and SOCKSRaspberry Pi router with OpenWRT. Easy Tutorial for beginners. Basic WIFI router, AP configurationVPN Tun/Tap and sockets, routing, tunnels and TLSInstall OpenVPN on pfSense - The Complete Step-by-Step GuideVLANs in OpenWrt 21pfSense Site to Site VPNOpenWRT - Install OpenWRT on the TP- Link TL-MR6400 4G LTE WiFi RouterOpenWRT - How to set up an OpenVPN Tap Bridge between two routersPiVPN : How to Run a VPN Server on a $35 Raspberry Pi!OpenWRT - File Sharing Server on OpenWRT with Samba4 (SMB)How to Setup VPN on Your Router (easy, step-by-step tutorial!)Seeed OpenWrt on X86 and CM4 | Watch Black Widow Using Plex Media Server on DockerOpenWRT - Configure OpenVPN ClientHow to setup VPN on your Router - Smart DNS ProxyInstalling OpenWrt with OpenVPN Services in TP-Link TL-WR940N V6.0 / V6.1Install OpenWRT 21.02 & DSA VLAN Configuration for WAN InterfaceOpenWRT - Firewall - Port Forwarding and Traffic Rules