openvpn/dns issues on ubuntu 14.04

Henk te Sligte htesligte at gmail.com
Tue Apr 7 14:12:06 UTC 2015


So the difference is only lubuntu or ubuntu? I'm not sure if lubuntu has
Network Manager, how do you connect with the clients? Do you use Network
Manager or the console application? Do you see the clients making the
openvpn connection on the server? Just to make sure, can you do ifconfig on
all clients?


On Tue, Apr 7, 2015 at 3:50 PM, Paolo De Michele <paolo at paolodemichele.it>
wrote:

>
> thanks for your reply
> I do not think it is a server problem because a client is working properly
> if you see the previous email dig works fine but when I request that web
> page from a browser can not display the page
>
> I have this problem only with two clients that use ubuntu.
> the client with lubuntu works properly.
>
> can I verify anything else?
> thanks in advance
>
> regards
>
> On Tue, 07 Apr 2015, Henk te Sligte wrote:
>
> > Just yesterday I configured a debian openvpn server and ubuntu clients.
> On
> > the server, you need to have IP forwarding enabled, and iptables should
> > forward all traffic.
> >
> > First, enable IP forwarding:
> > sudo sysctl -w net.ipv4.ip_forward=1
> > sudo /etc/init.d/procps restart
> >
> > Then, let iptables forward all traffic:
> > iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
> > iptables -A FORWARD -i tun0 -o tun0 -j ACCEPT # vpn to vpn
> > iptables -A FORWARD -i tun0 -o eth0 -j ACCEPT # vpn to ethernet
> > iptables -A FORWARD -i eth0 -o tun0 -j ACCEPT # ethernet to vpn
> >
> > Note that this doesn't filter any traffic, it just makes sure that you
> can
> > communicate with the ethernet. If you want to block certain traffic and
> > allow other traffic, I suggest to read some more about iptables.
> >
> >
> >
> > On Tue, Apr 7, 2015 at 11:14 AM, Paolo De Michele <
> paolo at paolodemichele.it>
> > wrote:
> >
> > > anyone can help me?
> > > thanks in advance
> > >
> > > regards
> > >
> > > On 3 April 2015 at 12:25, Paolo De Michele <paolo at paolodemichele.it>
> > > wrote:
> > >
> > >> hi there,
> > >>
> > >> this is my scenario:
> > >>
> > >> - 1 server (I installed openvpn and bind via docker in 2 different
> > >> instances)
> > >> - 3 clients (first one with lubuntu 14.04 x64 and the last two clients
> > >> with ubuntu 14.04 x64)
> > >>
> > >> the vpn server works correctly
> > >> if I connect to the server with vpn client installed lubuntu I have no
> > >> problem.
> > >> if I try ubuntu by clients, same problems.
> > >>
> > >> let me explain:
> > >>
> > >> the connection to the vpn server works correctly
> > >> I have an additional interface called tun0 with a regular ip address
> > >> I have also the new dns servers: the first one private (my dns server)
> > >> and the other two (publics)
> > >>
> > >> if I try to solve an hostname by dig command, works perfectly
> > >> if I try to view the same hostname via browser I cannot be able to
> > >> visualize the webpage
> > >> If I try the ip address, works perfectly
> > >>
> > >> can I do other tests?
> > >> anyone can help me please?
> > >>
> > >> thanks in advance
> > >> regards
> > >>
> > >
> > >
> > > --
> > > ubuntu-users mailing list
> > > ubuntu-users at lists.ubuntu.com
> > > Modify settings or unsubscribe at:
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> > >
> > >
>
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150407/264a9c3d/attachment.html>


More information about the ubuntu-users mailing list