Hello,
Due to my profession, I travel around the country quite often, there are also several-day trips abroad and, being on such a trip, I would like to be able to watch TV via the Horizon Go application on a mobile or a laptop connected to some hotel network via Wi-Fi. Due to the stupid requirement to be in the UPC network, some channels are unavailable when I use the application while connected to the net from a provider other than UPC.
I wanted to somehow get around this blockade and found a solution on the Internet that was to put a VPN server on one of the computers in my home network using the OpenVPN software and properly configure the router so that I could 'enter' my network from the outside. So I set up OpenVPN as instructed on the website [url=]https://community.openvpn.net/openvpn/wiki/Easy_Windows_Guide[/url] . There is already some success, because I was able to establish a VPN connection from the 'client' laptop (there is a laptop from my internal network, but for testing purposes I connect to the internet via a mobile phone [T-Mobile network]) to my computer acting as a server VPN.
Unfortunately, it does not work as it should, i.e. after establishing a VPN connection on the 'client' laptop, the public IP address is the same as it was before the connection was established (i.e. the public 'T-Mobile' address), and mine is the goal is to get a public address from UPC on this 'client' laptop.
I searched the internet for this problem and from what I could read, in this case, you should supplement the VPN server configuration file with an entry push "redirect-gateway def1" . Unfortunately, after updating the configuration file like this, the VPN connection works, but then after establishing a connection on the 'client' laptop, I do not have access to the Internet at all and I am not able to verify the public IP address on this laptop in any way.
Below I present the contents of the server and client configuration files, it may be helpful in diagnosing the problem:
Server configuration file (server.ovpn):
Client configuration file (dell-sl-laptop.ovpn):
Additional steps that I did on the UPC (Horizon) router as part of the OpenVPN configuration:
- forwarding of the external port 1194 to the internal port 1194 to the internal IP address (192.168.1.95) of my computer, which acts as a VPN server (in the Advanced tab, in the Forwarding section, I created the following entry: Public Port Range 1194-1194 , Target IP Address 192.168.1.95 , Target Port Range 1194-1194 , Protocol UDP ).
Additional steps that I performed on a computer inside my network (IP address 192.168.1.95) acting as a VPN server (Windows 10):
- configuration in Windows Defender Firewall to allow incoming traffic for UDP protocol to local port 1194.
I am asking for help in solving the problem, thank you in advance for any tips and suggestions.
Due to my profession, I travel around the country quite often, there are also several-day trips abroad and, being on such a trip, I would like to be able to watch TV via the Horizon Go application on a mobile or a laptop connected to some hotel network via Wi-Fi. Due to the stupid requirement to be in the UPC network, some channels are unavailable when I use the application while connected to the net from a provider other than UPC.
I wanted to somehow get around this blockade and found a solution on the Internet that was to put a VPN server on one of the computers in my home network using the OpenVPN software and properly configure the router so that I could 'enter' my network from the outside. So I set up OpenVPN as instructed on the website [url=]https://community.openvpn.net/openvpn/wiki/Easy_Windows_Guide[/url] . There is already some success, because I was able to establish a VPN connection from the 'client' laptop (there is a laptop from my internal network, but for testing purposes I connect to the internet via a mobile phone [T-Mobile network]) to my computer acting as a server VPN.
Unfortunately, it does not work as it should, i.e. after establishing a VPN connection on the 'client' laptop, the public IP address is the same as it was before the connection was established (i.e. the public 'T-Mobile' address), and mine is the goal is to get a public address from UPC on this 'client' laptop.
I searched the internet for this problem and from what I could read, in this case, you should supplement the VPN server configuration file with an entry push "redirect-gateway def1" . Unfortunately, after updating the configuration file like this, the VPN connection works, but then after establishing a connection on the 'client' laptop, I do not have access to the Internet at all and I am not able to verify the public IP address on this laptop in any way.
Below I present the contents of the server and client configuration files, it may be helpful in diagnosing the problem:
Server configuration file (server.ovpn):
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
tls-auth ta.key 0 # This file is secret
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1
Client configuration file (dell-sl-laptop.ovpn):
client
dev tun
proto udp
remote [publiczny_adres_IP_z_UPC] 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\dell-sl-laptop.crt"
key "C:\\Program Files\\OpenVPN\\config\\dell-sl-laptop.key"
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
verb 3
Additional steps that I did on the UPC (Horizon) router as part of the OpenVPN configuration:
- forwarding of the external port 1194 to the internal port 1194 to the internal IP address (192.168.1.95) of my computer, which acts as a VPN server (in the Advanced tab, in the Forwarding section, I created the following entry: Public Port Range 1194-1194 , Target IP Address 192.168.1.95 , Target Port Range 1194-1194 , Protocol UDP ).
Additional steps that I performed on a computer inside my network (IP address 192.168.1.95) acting as a VPN server (Windows 10):
- configuration in Windows Defender Firewall to allow incoming traffic for UDP protocol to local port 1194.
I am asking for help in solving the problem, thank you in advance for any tips and suggestions.