Answer the question
In order to leave comments, you need to log in
How to setup openvpn client on openvrt router firmware (asus rt-n16)?
There is a desire to configure vpn on the router.
Firmware openwrt barrier breaker 14.07
Configured according to instructions wiki.openwrt.org/doc/howto/vpn.openvpn#installation
Didn't work. Slightly tweaked the /etc/config/openvpn config, according to the server settings (mullvad.net) - but it still doesn't work. In addition, despite the fact that the tunnel is not created (?), the Internet is available through the router, the IP is mine, so apparently the firewall does not work
According to the link - configs
cat /etc/config/network
cat /etc/config /firewall
cat /etc/config/openvpn
If someone tells me where to dig, I will be grateful. Well, or suddenly someone has already set up and has experience ...
sprunge.us/TiZQ
Answer the question
In order to leave comments, you need to log in
Using the RT-N16 router (openwrt) as an openvpn client:
1. Used the firmware openwrt-brcm47xx-mips74k-asus-rt-n16-squashfs.trx
Connection via ssh via putty is supposed.
2. Install openvpn: opkg update && opkg install openvpn-openssl
3. Install the web interface luci who needs it opkg update && opkg install luci
(for some reason it was either not installed or did not work)
4. Copy the keys (cert.crt, cert.key, ca.crt to the /etc/openvpn/ folder keys ) and config on the router to the folder /etc/openvpn
config /etc/openvpn/client.conf (where хх.хх.хх.хх is the ip of the openvpn server):
client
dev tun
proto udp
remote хх.хх.хх.хх 1194
persist-key
persist-tun
comp-lzo
resolv-retry infinite
nobind
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/cert.crt
key /etc/openvpn/keys/cert.key
remote-cert-tls server
verb 1
mute 3
log /var/openvpn.log
/etc/init.d/openvpn start
cat /var/openvpn.log
opkg update && opkg install openssh-sftp-server
(previously it is desirable to change the port in dropbear to something other than 22, for example 222), Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question