I’m a noob and I’m a little lost… because there are different tutorials on the Internet with different commands to configure the firewall, interfaces, etc… There is no easy graphical interface to configure a client vpn, only on the command line.
I give you my configuration :
WAN : 192.168.1.2
LAN : 192.168.2.1
My file openvpn : https://github.com/cryptostorm/cryptostorm_client_configuration_files/blob/master/linux/cstorm_linux-paris_tcp.ovpn
client
dev tun
#randomly select a node from the list below, for redundancy against DNS blacklisting-based session blocking attacks.
#see https://openvpn.net/archive/openvpn-users/2004-12/msg00055.html
resolv-retry 16
remote-random
remote linux-paris.cryptostorm.net 443 tcp
remote linux-paris.cryptostorm.nu 443 tcp
remote linux-paris.cryptostorm.org 443 tcp
remote linux-paris.cstorm.pw 443 tcp
nobind
comp-lzo
down-pre
reneg-sec 0
hand-window 17
verb 4
mute 3
auth-user-pass
ns-cert-type server
auth SHA512
cipher AES-256-CBC
tls-cipher TLS-DHE-RSA-WITH-AES-256-CBC-SHA
tls-client
key-method 2
ca ca.crt
# specification & location of server-verification PKI materials
# for details, see https://cryptostorm.org/pki
<ca>
-----BEGIN CERTIFICATE-----
MIIFIDCCBAigAwIBAgIJAKekpGXxXvhbMA0GCSqGSIb3DQEBCwUAMIG6MQswCQYD
VQQGEwJDQTELMAkGA1UECBMCUUMxETAPBgNVBAcTCE1vbnRyZWFsMTYwNAYDVQQK
FC1LYXRhbmEgSG9sZGluZ3MgTGltaXRlIC8gIGNyeXB0b3N0b3JtX2RhcmtuZXQx
ETAPBgNVBAsTCFRlY2ggT3BzMRcwFQYDVQQDFA5jcnlwdG9zdG9ybV9pczEnMCUG
CSqGSIb3DQEJARYYY2VydGFkbWluQGNyeXB0b3N0b3JtLmlzMCAXDTE3MTIxNjA3
NTk0MloYDzIwNjcxMjE2MDc1OTQyWjCBujELMAkGA1UEBhMCQ0ExCzAJBgNVBAgT
AlFDMREwDwYDVQQHEwhNb250cmVhbDE2MDQGA1UEChQtS2F0YW5hIEhvbGRpbmdz
IExpbWl0ZSAvICBjcnlwdG9zdG9ybV9kYXJrbmV0MRE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IZgmCNKnn1RIbUt4mzTzggwtN3GamoTzSWqSwCEO9Ig1AJKi5Ms/5Awtdz
nr95qaqI0ih0NGnfC/yIGYvt1Yay0hCil3jIUT9Ogdw6DW6RqUdJaPrwm58fTwIR
U33KzBqGs8r3UEIMWXuIGc6eXOm2Br08iFgOsUPGqp1ulvD52pFH1o1vT21v3aXl
D9Ier/83JLMnBGctT1Kzs9OP/U0=
-----END CERTIFICATE-----
</ca>
# uncomment the line below to enable TrackerSmacker,
# our DNS-based intrusive ad/tracker blocking service
#dhcp-option DNS 10.31.33.7
(The last line of the opvn file is uncomment).
PS: Sorry, my english is bad.
Up :
I followed this great tutorial : https://openwrt.org/docs/guide-user/services/vpn/openvpn/client
My router is connected to the VPN with the command : curl ifconfig.me
or traceroute ifconfig.me
Except for my clients… It’s not working. I don’t ping outside. What to do about it?