OpenVPn and routing issues

Dear all,

In my company we use a SLES11 SP1 x86_64 box to provide all network
service.

I’m struggling to install openvpn in bridged mode.
I use a Windows 7 client.

My network configuration:

  • LAN range : 192.168.10.x mask 255.255.255.0
  • VPN range 10.8.0.x mask 255.255.255.0
  • server : LAN IP 192.168.10.6, VPN IP : 10.8.0.4
  • client VPN IP 10.8.0.50

both ends of the tunnel connect (the client icon turns green), but:

  • from the client I could not ping the server neither the VPN IP
    address nor the LAN ip address:
    ping 10.8.0.4 fails
    ping 192.168.10.6 fails
    ping 10.8.0.50 succeed

  • from the server I could not ping the local VPN ip
    ping 10.8.0.4 fails
    ping 10.8.0.50 fails
    ping 192.168.10.6 succeed

I used the scripts bridge_start and bridge_stop provided in the SLES
distrib : :/usr/share/doc/packages/openvpn/sample-scripts
I configured the iptables as described in openvpn web site : ‘Ethernet
Bridging’
(http://www.openvpn.net/index.php/open-source/documentation/miscellaneous/76-ethernet-bridging.html:)
iptables -A INPUT -i tap0 -j ACCEPT
iptables -A INPUT -i br0 -j ACCEPT
iptables -A FORWARD -i br0 -j ACCEPT

Because on the the server side I could not ping its VPN end, I think it
is a routing problem.
Any idea of were to dig?

regards,
Manuel


mdmapissys

mdmapissys’s Profile: http://forums.novell.com/member.php?userid=120938
View this thread: http://forums.novell.com/showthread.php?t=449337

Hi,
finally I succeeded in solving the issue.
I changed the configuration to let the network DHCP setting the client
ip address as explained here : ‘I want to set up an ethernet bridge on
the 192.168.1.0/24 subnet. existing DHCP.’
(http://www.openvpn.net/index.php/open-source/faq/77-server/323-i-want-to-set-up-an-ethernet-bridge-on-the-1921681024-subnet-existing-dhcp.html)

regards
Manuel


mdmapissys

mdmapissys’s Profile: http://forums.novell.com/member.php?userid=120938
View this thread: http://forums.novell.com/showthread.php?t=449337