I have OpenVPN server installed on Centos 7 server
config :
-----------------------------------------------------------------------------
local 10.8.0.10
port 1194
proto tcp
dev tun0
ca /easyrsa/pki/ca.crt
cert /easyrsa/pki/issued/XXXXXXXX.crt
key /easyrsa/pki/private/XXXXXXXX.key
dh /easyrsa/pki/dh.pem
server 10.8.3.0 255.255.255.0
comp-lzo
ifconfig-pool-persist ipp.txt
push "route 10.8.0.0 255.255.255.0"
push "route 10.8.1.0 255.255.255.0"
push "dhcp-option DNS 10.8.0.2"
keepalive 10 120
tls-server
remote-cert-eku "TLS Web Client Authentication"
tls-crypt /easyrsa/pki/tls.key 0
cipher AES-256-CBC
user nobody
group nobody
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn.log
verb 6
mute 20
management 127.0.0.1 8989
--------------------------------------------------------------------------------------
client config
client
dev tun
proto tcp
remote XXXXX.XXX
cipher AES-256-CBC
verb 6
user nobody
group nobody
persist-key
persist-tun
tls-client
remote-cert-eku "TLS Web Server Authentication"
remote-cert-tls server
key-direction 1
comp-lzo
keepalive 10 120
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<tls-crypt>
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
</tls-crypt>
-------------------------------------------------------------------------------------------
When I use OpenVPN client community edition all work perfectly.
If I use OpenVPN client - connection has been established, but client have'nt Internet access.
What wrong in my configuration?
No Internet access for OpenVPN client
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Mon May 09, 2022 1:32 pm