Connects to server, but that's it.
Posted: Fri Apr 01, 2011 8:07 am
Hi, I have been able to get my computer to connect to the openVPN server. After that, nothing happens. I can ssh into the box, but not make traffic to the network behind the server (nor the server's internet connection) can be accessed. Nor can I access samba that the server hosts on the network. I am trying to do this from two separate machines on two separate ip addresses. Both machines are running Ubuntu 10.10.
Here's my .conf files and router static routes. Lastly, thank you very much for your help.
______________________________________________________________________________
Client ip address: 192.168.1.4 | 255.255.255.0. | Public IP address #1
Server ip address: 192.168.2.106 | 255.255.255.0 | Public IP address #2
Router ip: 192.168.2.1 | 255.255.255.0 | Public IP address #2
router configuration (netgear wgr614)
# Active Name Destination Gateway
1 Yes mh00hVPN 192.168.3.0 192.168.2.106
client.conf:
server.conf
Here's my .conf files and router static routes. Lastly, thank you very much for your help.
______________________________________________________________________________
Client ip address: 192.168.1.4 | 255.255.255.0. | Public IP address #1
Server ip address: 192.168.2.106 | 255.255.255.0 | Public IP address #2
Router ip: 192.168.2.1 | 255.255.255.0 | Public IP address #2
router configuration (netgear wgr614)
# Active Name Destination Gateway
1 Yes mh00hVPN 192.168.3.0 192.168.2.106
client.conf:
Code: Select all
client
dev tun
proto udp
XXXXX.dyndns.org 1194
resolv-retry infinite
nobind
user nobody
group nobody
persist-key
persist-tun
mute-replay-warnings
ca ca.crt
cert client1.crt
key client1.key
cipher AES-128-CBC
comp-lzo
verb 3
Code: Select all
port 1194
proto udp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 192.168.3.0 255.255.255.128
ifconfig-pool-persist ipp.txt
push "route 192.168.2.0 255.255.255.128"
push "redirect-gateway def1"
client-to-clientkeepalive 10 120
cipher AES-128-CBC
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
mute 20