# OpenVPn and routing issues

**URL:** <https://forums.suse.com/t/openvpn-and-routing-issues/21977>\
**Category:** SLES Networking\
**Created:** [December 8, 2011, 5:16pm UTC](https://forums.suse.com/t/openvpn-and-routing-issues/21977 "2011-12-08T17:16:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [December 8, 2011, 5:16pm UTC](https://forums.suse.com/t/openvpn-and-routing-issues/21977/1 "2011-12-08T17:16:01Z")

</div>

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:](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](http://forums.novell.com/member.php?userid=120938)  
View this thread: [http://forums.novell.com/showthread.php?t=449337](http://forums.novell.com/showthread.php?t=449337)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [December 8, 2011, 6:16pm UTC](https://forums.suse.com/t/openvpn-and-routing-issues/21977/2 "2011-12-08T18:16:02Z")

</div>

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](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](http://forums.novell.com/member.php?userid=120938)  
View this thread: [http://forums.novell.com/showthread.php?t=449337](http://forums.novell.com/showthread.php?t=449337)
