Connect trough remote computer connection
- by Didac
First, sorry for my english and my poor knowlodge of this subject.
I have a dedicated server placed in Germany (windows 2008 R2) and I live in spain. I would like to access internet from my home computer (Windows 7 Pro x64), trough my server in Germany, so I can use a German IP, what I need some times.
I have complete acces in to both computers, but I just don't know where to start. (My knwoledge is limited to software development :/ )
I'd like to know where to start, if I need to create a VPN and so..
Thanks in advance!
Update 1
I tried a lot of options of OpenVPN, but I sadly I know nothing abuot networking, so I have to accept I do not know what I'm doing :(
Here are my config files (note most of the options are from the sample config files).
server.conf
#server config file start
port 1194
proto udp
dev tun
server 10.0.0.0 255.255.255.224 #you may choose any subnet. 10.0.0.x is used for this example.
ca "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\server.key"
dh "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
#the following commands are optional
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 5
#config file ends
client.conf
#client config file start
client
dev tun
proto udp
remote 176.9.99.180 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\client1.crt"
key "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\client1.key"
ns-cert-type server
comp-lzo
verb 5
explicit-exit-notify 2
ping 10
ping-restart 60
route-method exe
route-delay 2
# end of client config file
And here's the server's network settings:
IP address: 176.9.99.180
Subnet mask: 255.255.255.224
Default gateway: 176.9.99.161
Preferred DNS server: 127.0.0.1