I have two machines that I am trying to test Openvpn 1.6 on. The
Server is Linux Fedora Core 2 and the client is Win XP (no service
packs).
Server Config
External Nic 192.168.1.97
Internal Nic 10.1.1.1
IP forward enabled
OpenVPN Config
dev tun
tun-mtu 1500
ifconfig 10.3.0.1 10.3.0.2
secret key.txt
command to start openvpn
openvpn --config server.conf --verb 5
Client Config
IP 192.168.1.203
OpenVPN Config
remote 192.168.1.97
dev tun
tun-mtu 1500
ifconfig 10.3.0.2 10.3.0.1
secret key.txt
ping 10
command to start openvpn
openvpn --config client.ovpn --verb 5
I start Openvpn on the server and then the client. I See the message
confirming Peer connection. From each machine, I can ping the other
10.3.0.x address and when I do this I see WRwrWRwrWRwrWRwr on the
consoles. When The machines are idle I see WWWWW on the client and
RRRRR
on the server, I assume this is correct because of the PING 10 on the
client.
I then on the client do:
route add 10.1.1.0 mask 255.255.255.0 10.3.0.2
Confirm the route by issuing route print
try to ping 10.1.1.1 or 10.1.1.2 (server on internal net) both fail and
I do not see anything happen on the console.
Verified that IP forwarding was working by stopping openvpn and doing
route add 10.1.1.0 mask 255.255.255.0 192.168.1.97
Then pinging 10.1.1.1 and 10.1.1.2 both OK.
Then Deleted the route.
Am I missing something here. Any help would be appreciated.