You have found any problem with my configuration?
is this the connection that doesn’t work? have you installed the dns/dhcp package of nethserver? have you set in your router/firewall (192.168.1.1 i presume) a static route rule ( from 172.16.32.0 to 192.168.1.254) ?
Yes, is this
No, dns/dhcp package is not installed
The router is 192.168.1.1
No, don’t have any static route
try to add a static route rule on your router something like OpenVPN network: 172.16.32.0 => next hop nethserver ip
When I am connected I can access the NethServer (192.168.1.254)
I can not access any other box in my home network and I can not access the internet
The static route does not work.
I will try witk the dns/dhcp package installed
Installed and configured dns/dhcp package.
Continue to work as before.
You can ping ip that are in your network? and what about internet ip?
Sorry for the delay
I can ping or access only the NethServer in my network - 192.168.1.254
In the internet i can ping or access the server by IP - (220.127.116.11 - 18.104.22.168 DNS servers) or (22.214.171.124 - www.google.com)
I can not access any site by name in the internet - www.nos.pt or www.google.com
ok there seem to be two different problems:
this is a routing problem
and this is a dns problem
So for the dns one you can try to remove dns/dhcp package from nethserver.
Instead for the routing problem we have probably to make some debug…can you write the topology of the network where nethserver is located?
I already tried with and without the dns/dhcp package.
Router - 192.168.1.1 with DHCP/DNS. It is not possible to disable the DHCP or DNS (the router is from my ISP)
NethServer - 1 NIC - 192.168.1.254 (static IP) and dns/dhcp package configured with the folowing DNS 126.96.36.199 and 188.8.131.52. The DHCP server from NethServer is not enabled
Already tried with the router’s DNS (192.168.1.1) but without success.
3 workstions geting the IP from the router
Can you reproduce the problem?
Ok, I will try your configuration.
I plan to start using the email server in the next week.
When I install the email server without the DHCP/DNS package installed I have an error related with dnsmasq.
The email server will work well without the DHCP/DNS package installed?
Great, it works
I did some mistake in the first time I tried.
The email server will work well without the DNS package?
Yes of course it will work
I have a similar problem
OpenVPN don’t want to start
I don’t have DHCP/DNS service dnsmasq
OpenVPN pointing out this config : push “dhcp-option DNS 184.108.40.206,220.127.116.11” it don’t like the ,
I’d specified 2DNS into config server : 18.104.22.168 and 22.214.171.124.
I took a look into /etc/resolv.conf, /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network-scripts/ifcfg-eth1 but I can’t find from where 126.96.36.199 coming.
##this is /etc/openvpn/host-to-net.conf
push "dhcp-option DNS 188.8.131.52"
push "dhcp-option WINS 184.108.40.206"
push "dhcp-option NBDD 220.127.116.11"
push "dhcp-option DNS 18.104.22.168,22.214.171.124"
push "dhcp-option WINS 126.96.36.199,188.8.131.52"
push “dhcp-option NBDD 184.108.40.206,220.127.116.11”
when I try to remove the ,18.104.22.168 and restart openvpn it come back “nethserver-openvpn-save”
Anybody know how I could find from where coming this 3rd ghost DNS and/or how I could force my own push dhcp-option DNS ??
I think there are 2 improvements that can be done to have a fully funcional openvpn server
1 - At the moment is only possible to access the server who as the openvpn configured. If we need a service in another box its necessary to configure another openvpn server in that box.
it’s better to have access to the other services in the network from the openvpn who is configured
2 - Ability to configure the dns servers that the client will use. At least 2 dns servers
Pls, check your OpenVPN settings. It works without DHCP/DNS service dnsmasq