<div dir="ltr">That's weird.. The ip addresses are in different networks.. Which clients are these? Is one Lubuntu and another one Ubuntu? Which is which?<div><br></div><div>From what I understand from you, your network looks like this: <a href="http://tmp.hjts.nl/vpn-ubuntu.png">http://tmp.hjts.nl/vpn-ubuntu.png</a> - is that correct?</div><div>I'd be happy to share my configuration, I actually first built the whole network in VirtualBox and then implemented it. It looks like this: <a href="http://tmp.hjts.nl/vpn-virtualbox.png">http://tmp.hjts.nl/vpn-virtualbox.png</a> Let me know if you are interested.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 4:56 PM, Paolo De Michele <span dir="ltr"><<a href="mailto:paolo@paolodemichele.it" target="_blank">paolo@paolodemichele.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
lubuntu use lxde and network manager<br>
2 clients with ubuntu use unity as DE<br>
<br>
about your questions:<br>
<br>
- all clients does the openvpn connection via cli (command line)<br>
- the connection from client to server works properly<br>
<br>
when I do the ifconfig on all clients, I have:<br>
<br>
loopback and eth0 egual (change only the ip address)<br>
tun0 is a bit different (also here change the ip address)<br>
<br>
tun0 Link encap:UNSPEC HWaddr00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00<br>
inet addr:192.168.40.130 P-t-P:192.168.40.129 Mask:255.255.255.255<br>
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1378 Metric:1<br>
RX packets:157 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:100<br>
RX bytes:72840 (72.8 KB) TX bytes:41759 (41.7 KB)<br>
<br>
tun0 Link encap:UNSPEC HWaddr00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00<br>
inet addr:10.8.0.14 P-t-P:10.8.0.13 Mask:255.255.255.255<br>
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1378 Metric:1<br>
RX packets:225 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:257 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:100<br>
RX bytes:92662 (92.6 KB) TX bytes:49045 (49.0 KB)<br>
<br>
On my client (it works) I tried both ip addresses and it works properly<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, 07 Apr 2015, Henk te Sligte wrote:<br>
<br>
> So the difference is only lubuntu or ubuntu? I'm not sure if lubuntu has<br>
> Network Manager, how do you connect with the clients? Do you use Network<br>
> Manager or the console application? Do you see the clients making the<br>
> openvpn connection on the server? Just to make sure, can you do ifconfig on<br>
> all clients?<br>
><br>
><br>
> On Tue, Apr 7, 2015 at 3:50 PM, Paolo De Michele <<a href="mailto:paolo@paolodemichele.it">paolo@paolodemichele.it</a>><br>
> wrote:<br>
><br>
> ><br>
> > thanks for your reply<br>
> > I do not think it is a server problem because a client is working properly<br>
> > if you see the previous email dig works fine but when I request that web<br>
> > page from a browser can not display the page<br>
> ><br>
> > I have this problem only with two clients that use ubuntu.<br>
> > the client with lubuntu works properly.<br>
> ><br>
> > can I verify anything else?<br>
> > thanks in advance<br>
> ><br>
> > regards<br>
> ><br>
> > On Tue, 07 Apr 2015, Henk te Sligte wrote:<br>
> ><br>
> > > Just yesterday I configured a debian openvpn server and ubuntu clients.<br>
> > On<br>
> > > the server, you need to have IP forwarding enabled, and iptables should<br>
> > > forward all traffic.<br>
> > ><br>
> > > First, enable IP forwarding:<br>
> > > sudo sysctl -w net.ipv4.ip_forward=1<br>
> > > sudo /etc/init.d/procps restart<br>
> > ><br>
> > > Then, let iptables forward all traffic:<br>
> > > iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE<br>
> > > iptables -A FORWARD -i tun0 -o tun0 -j ACCEPT # vpn to vpn<br>
> > > iptables -A FORWARD -i tun0 -o eth0 -j ACCEPT # vpn to ethernet<br>
> > > iptables -A FORWARD -i eth0 -o tun0 -j ACCEPT # ethernet to vpn<br>
> > ><br>
> > > Note that this doesn't filter any traffic, it just makes sure that you<br>
> > can<br>
> > > communicate with the ethernet. If you want to block certain traffic and<br>
> > > allow other traffic, I suggest to read some more about iptables.<br>
> > ><br>
> > ><br>
> > ><br>
> > > On Tue, Apr 7, 2015 at 11:14 AM, Paolo De Michele <<br>
> > <a href="mailto:paolo@paolodemichele.it">paolo@paolodemichele.it</a>><br>
> > > wrote:<br>
> > ><br>
> > > > anyone can help me?<br>
> > > > thanks in advance<br>
> > > ><br>
> > > > regards<br>
> > > ><br>
> > > > On 3 April 2015 at 12:25, Paolo De Michele <<a href="mailto:paolo@paolodemichele.it">paolo@paolodemichele.it</a>><br>
> > > > wrote:<br>
> > > ><br>
> > > >> hi there,<br>
> > > >><br>
> > > >> this is my scenario:<br>
> > > >><br>
> > > >> - 1 server (I installed openvpn and bind via docker in 2 different<br>
> > > >> instances)<br>
> > > >> - 3 clients (first one with lubuntu 14.04 x64 and the last two clients<br>
> > > >> with ubuntu 14.04 x64)<br>
> > > >><br>
> > > >> the vpn server works correctly<br>
> > > >> if I connect to the server with vpn client installed lubuntu I have no<br>
> > > >> problem.<br>
> > > >> if I try ubuntu by clients, same problems.<br>
> > > >><br>
> > > >> let me explain:<br>
> > > >><br>
> > > >> the connection to the vpn server works correctly<br>
> > > >> I have an additional interface called tun0 with a regular ip address<br>
> > > >> I have also the new dns servers: the first one private (my dns server)<br>
> > > >> and the other two (publics)<br>
> > > >><br>
> > > >> if I try to solve an hostname by dig command, works perfectly<br>
> > > >> if I try to view the same hostname via browser I cannot be able to<br>
> > > >> visualize the webpage<br>
> > > >> If I try the ip address, works perfectly<br>
> > > >><br>
> > > >> can I do other tests?<br>
> > > >> anyone can help me please?<br>
> > > >><br>
> > > >> thanks in advance<br>
> > > >> regards<br>
> > > >><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > > ubuntu-users mailing list<br>
> > > > <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
> > > > Modify settings or unsubscribe at:<br>
> > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
> > > ><br>
> > > ><br>
> ><br>
> > > --<br>
> > > ubuntu-users mailing list<br>
> > > <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
> > > Modify settings or unsubscribe at:<br>
> > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
> ><br>
> > --<br>
> > ubuntu-users mailing list<br>
> > <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
> > Modify settings or unsubscribe at:<br>
> > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
> ><br>
<br>
> --<br>
> ubuntu-users mailing list<br>
> <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
> Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">Paolo De Michele<br>
Finger Print: 038F 13HS 9339<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote></div><br></div>