[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Newbie question on Routing


  • Subject: [Openvpn-users] Newbie question on Routing
  • From: Srini <srini.listmail@xxxxxxxxx>
  • Date: Mon, 27 Aug 2007 12:47:35 +0530

Hello

We have a OpenVPN server running on (for eg) : 192.168.98.5
The server configuration entries are:

dev tun
proto udp
tun-mtu 1500
port 1194
tls-server
server 10.111.37.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.98.0 255.255.255.0"

...

The client is staright forward :

tls-client
client
pull
dev tun
proto udp
tun-mtu 1500
remote <<ip>> 1194

After connection my client gets the ip address 10.111.37.6 and I can ping 192.168.98.5 (the openvpn machine).  However I am unable to access  other machines on the 192.168.98.xxx network.

I have tried various iptables commands that I found on the forums etc but to no avail.

Can someone please help me  ?

Regards
Srini

PS:  I dont want to go the road of bridging just for this sake