L
L
LaiaL2019-10-08 12:56:11
openvpn
LaiaL, 2019-10-08 12:56:11

OpenVPN server setup on Win 10 for internet clients?

Hello!
Raised an OpenVPN server on Windows 10 pro on a home computer. The address is static. The computer has the address 192.168.1.30, connected to the router 192.168.1.1.
The task is to access the Internet through it from anywhere in the world under the ip of the home computer.
The client-to-client connection works, the shared folders are visible, there is access. But there is no access to the Internet from the client.
push "redirect-gateway def1 bypass-dhcp" is registered. Shared access to the Internet connection is affixed.
Raised exactly the same server configuration on Windows 7 and everything is fine! The client has full access to the Internet through the server. Not on Windows 10. Cant 10s for Internet Connection Sharing?
Where to dig? help out)

server
dev-node "ServerVPN"
mode server
port 12345
proto udp
dev tun
tls-server
tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ta.key" 0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh2048.pem"
server 10.10.10.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
client-to-client
keepalive 10 120
cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
client-config-dir "C:\\Program Files\\OpenVPN\\config"
verb 3
route-delay 5
route-method exe
push "route 192.168.1.1 255.255.255.0"
route 192.168.182.0 255.255.255.0

customer
remote xxx.xxx.xxx.xxx # тут статический ip
client
port 12345
proto udp
dev tun
tls-client
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 1
remote-cert-tls server
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\ClientVPN.crt"
key "C:\\Program Files\\OpenVPN\\config\\ClientVPN.key"
resolv-retry infinite
;mute-replay-warning
cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
verb 3
mute 20

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question