Forums

×

Warning

JUser: :_load: Unable to load user with ID: 195701
Medium
Offline
Resolved
0 votes
Dear All,

I can connect VPN using OpenVPN or PPTP but can't access LAN. please find the attachements as follows:
PPTP_config.PNG => configuration from the ClearOS web console
PPTP_client.JPG => ifconfig info from the client PC while connected to VPN through PPTP.
openVPN_config.PNG => configuration from the ClearOS web console
OpenVPN_client.JPG => ifconfig info from the client PC while connected to VPN through OpenVPN.

Could you please help me figuring out the problem and/or what is missing... let me know if you need any log or configuration info. is there any dependency to access LAN using VPN to the Directory mode?
In OpenVPN
Sunday, October 18 2020, 06:28 PM
Share this post:
Responses (3)
  • Accepted Answer

    Monday, October 19 2020, 07:22 AM - #Permalink
    Resolved
    0 votes
    If you do have your DNS server on 192.168.10.99 then you will have to have that set as your DNS server, but note that it clashes with the default PPTP settings. Do you have a WINS server there as well?

    For OpenVPN, have you looked at the app documentation - the sloping book icon at the top right of the screen? It gives you an idea of what the parameters do.

    Is ClearOS in staandalone or gateway mode? Are you using Gateway Management?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 19 2020, 03:29 AM - #Permalink
    Resolved
    0 votes
    Thanks Nick for your replay.

    Actually I don't need PPTP but enabled it as I was not getting LAN access through OpenVPN and thought let PPTP a try... I have configured IP Ranges based on our previous ClearOS setup, and these are working on another server without having any problem.

    For OpenVPN: yes, there is a DNS server into the 192.168.10.99 server. I can change it to ClearOS LAN IP as you suggest. As disabled doesn't working I was tweaking the options and keep enabled all, you can suggest best options for the Aditional settings for me. Local LAN - I have attached the IP setting for your reference...

    Your help is highly appreciated.
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, October 18 2020, 07:37 PM - #Permalink
    Resolved
    0 votes
    Deleting your duplicate post......

    I'm not sure why you've changed your subnets in the PPTP VPN. Local and remote IP's should be in the same subnet as your LAN ,but should normally be a subset of it, Normally 80-89 for local and 90-99 for remote, but the IP's are designed to be outside DHCP scope to they won't be double allocated.. However PPTP is best avoided as it is not very secure.

    In OpenVPN, why have you changed so much. Do you really have a DNS and WINS server on 192.168.10.99? In a basic ClearOS set up, they should be set to your ClearOS LAN IP which they are by default. In your additional settings you have everything enabled. What is the purpose of that? When connecting by OpenVPN, what is your local LAN subnet (not the OpenVPN subnet)?
    The reply is currently minimized Show
Your Reply