Hot answers tagged

1

Add a nginx reverse proxy on the application machine with the following configuration for the default site: server { listen 3001; server_name _; auth_basic "Restricted Access"; auth_basic_user_file /etc/nginx/htpasswd.users; location / { proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; ...


1

If I understand your configuration and network topology, then you should delete the redirect-gateway directive and instead add: route 192.168.188.0 255.255.255.0 If you want reach work machines by name you should configure your work dns server (if any): dhcp-option DNS <your work dns server LAN IP> Delete the two Google DNS entries. Regards ...


1

Yes, it was DNS problem indeed. Workstations can use DNS to discover where the domain controller is. They use DNS queries like _ldap._tcp.my_domain.com and others. VPN connection created point-to-point link between router and the domain controller and the peer ip of the domain controller (192.168.1.50) have become available to the router network. Router ...


1

VPN server don't redirect web trafic by default, as explained here, adding the line push "redirect-gateway def1" on your openvpn.conf will permit you to have the VPN server IP as your remote IP, and with that your web server should let you pass.



Only top voted, non community-wiki answers of a minimum length are eligible