Hello,
I just installed Open VPN Server on a Windows machine for the first time (Windows 10 Pro). The goal is, for some remote client computers ( Windows 10 Pro as well), to securely access to that server resources.
I'm currently trying to configure my first connection with RDP.
So, to make a summary:
* OpenVPN Server is Online. (local address: 192.168.1.17 / VPN Address 10.8.0.1)
* OpenVPN Client is Online in another network. (local address 192.168.1.2 / VPN address 10.8.0.6)
* Client can ping 10.8.0.1
* Server can ping 10.8.0.6
* Both Client and server Firewalls are Disabled for testing purpose
* RDP is running well when connection is performed with a client from same network as server.
When performing a RDP Connection from client to server, it fails. To get a bit more details, I have performed a Network monitor Trace on both machines to know where is the issue. From what i can see, The client perform the SYN Request , that arrive on the server as expected. My problem is that the server don't even try to answer. Indeed, i can't even see that the server is sending a response. The next packet is a TCP RETRANSMIT from the client, which is still expecting a response.
Since I'm really a noob with VPN technologies, and with particularly with OpenVPN, i wonder if my problem may be due to Routing issue? Actually I'm Not Sure to understand Route and Push system very well. Here is my config on server side:
;local a.b.c.d
port 1199
;proto tcp
proto udp
;dev tap
dev tun
;dev-node MyTap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
;topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
;server-bridge
;push "route 192.168.10.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
;learn-address ./script
;push "redirect-gateway def1 bypass-dhcp"
;push "dhcp-option DNS 208.67.222.222"
;push "dhcp-option DNS 208.67.220.220"
client-to-client
;duplicate-cn
keepalive 10 120
tls-auth ta.key 0 # This file is secret
cipher AES-256-CBC
;compress lz4-v2
;push "compress lz4-v2"
;comp-lzo
;max-clients 100
;user nobody
;group nobody
persist-key
persist-tun
status openvpn-status.log
;log openvpn.log
;log-append openvpn.log
verb 3
explicit-exit-notify 1
If you have any other idea, I'm Interested As Well
Please do't hesitate if you need further informations.
Thank you very much in Advance.
Can't perform RDP connection between server and peer (No Firewall)
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: 2
- Joined: Wed Jul 19, 2017 7:51 pm
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: Can't perform RDP connection between server and peer (No Firewall)
^^^
and make those ^^^ subnets unique...OpenVPN Server ...local address: 192.168.1.17
OpenVPN Client ...local address 192.168.1.2
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Jul 19, 2017 7:51 pm
Re: Can't perform RDP connection between server and peer (No Firewall)
OK I'll try to change the subnet for one of the two networks, and Push the server side subnet with push command on Config file.
I keep you in touch. Thank you very much.
I keep you in touch. Thank you very much.