1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Cannot connect openVPN from external network
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: Cannot connect openVPN from external network
#43208
Re: Cannot connect openVPN from external network 10 Months, 3 Weeks ago  
Yes, I saw your post but not your edit. I find it very strange that you have to forward OpenVPN to a LAN IP. If is definitely not normal. If ClearOS now has a public IP address, have you removed the port forward from the router or is it still necessary?

Your clients.conf looks OK except there is no "plugin" line. I wonder if that is a 6.2 thing or have you removed it?
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43229
Re: Cannot connect openVPN from external network 10 Months, 3 Weeks ago  
This one comes straight of the server :
Code:

client
remote thor.domain.lan 1194
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca-cert.pem
cert client-x-cert.pem
key client-x-key.pem
ns-cert-type server
comp-lzo
verb 3
auth-user-pass



The forwarding is still required, intensively tested and it just doesn't work unless it is forwarded towards the internal interface.
And with the above, connected through the LAN, I can connect with the OpenVPN service without any problem, and since recently (due to the forwarding) as well on the public interface.

Stays strange that I have to forward the OpenVPN service towards the LAN IP of the server to be able to connect. When I don't, then it doesn't get through, no matter if it is allowed in the firewall or not
Daneo van Overloop
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43240
Re: Cannot connect openVPN from external network 10 Months, 3 Weeks ago  
Is your ClearOS WAN configured as DHCP or PPPoE now? Does it work correctly configured as DHCP?
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43245
Re: Cannot connect openVPN from external network 10 Months, 3 Weeks ago  
The WAN is PPPoE, the DHCP on the LAN side does work the way it is supposed to.
And from within the LAN I'm still able to connect to the OpenVPN service.
From the PPPoE as well now, due to the forwarding.
Daneo van Overloop
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop