www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

connect to an external openvpn

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
oshanrube



Joined: 11 Feb 2017
Posts: 4

PostPosted: Sat Feb 11, 2017 3:53 pm    Post subject: connect to an external openvpn Reply with quote

can i connect to a external vpn provider? and nat forward from that? i tried using the cli to connect but it doesnt seem to share the connection with the gateway'd pcs. im trying to connect with pureVPN via openvpn
Back to top
View user's profile Send private message
pLastUn



Joined: 18 Apr 2016
Posts: 10

PostPosted: Mon Feb 13, 2017 1:05 pm    Post subject: Re: connect to an external openvpn Reply with quote

oshanrube wrote:
can i connect to a external vpn provider?

Yes
Quote:
and nat forward from that?

yes
Quote:
i tried using the cli to connect but it doesnt seem to share the connection with the gateway'd pcs.

what pcs?
Quote:
im trying to connect with pureVPN via openvpn

maybe, probably yes, show config, that you have PureVPN
Back to top
View user's profile Send private message
oshanrube



Joined: 11 Feb 2017
Posts: 4

PostPosted: Mon Feb 13, 2017 1:09 pm    Post subject: Re: connect to an external openvpn Reply with quote

pLastUn wrote:
oshanrube wrote:
can i connect to a external vpn provider?

Yes
- whats the best way? lan-to-lan? in that case its only allowing certificate based autherntication and now user:password auth, what can i do about this
Quote:
and nat forward from that?

yes
Quote:
i tried using the cli to connect but it doesnt seem to share the connection with the gateway'd pcs.

what pcs? - the computers using the zeroshell as the gateway
Quote:
im trying to connect with pureVPN via openvpn

maybe, probably yes, show config, that you have PureVPN

- u was using shell commands and use the .ovpn file, how can i use this file with the web interface?
Back to top
View user's profile Send private message
pLastUn



Joined: 18 Apr 2016
Posts: 10

PostPosted: Mon Feb 13, 2017 2:04 pm    Post subject: Reply with quote

This is an example
I already have a router Mikrotik and OVPN server on it.
DUBAI.ovpn File for Windows 7 client OVPN

and the left side ZeroShell setting works.


Back to top
View user's profile Send private message
oshanrube



Joined: 11 Feb 2017
Posts: 4

PostPosted: Mon Feb 13, 2017 2:52 pm    Post subject: Reply with quote

thank you very much for the details explanation, how ever icant seem to enter the X.509 authentication since pure vpn provides tls-auth and also the --pull seems to be a --float, is that alright?



Last edited by oshanrube on Mon Feb 13, 2017 4:05 pm; edited 2 times in total
Back to top
View user's profile Send private message
pLastUn



Joined: 18 Apr 2016
Posts: 10

PostPosted: Mon Feb 13, 2017 4:02 pm    Post subject: Reply with quote

Press "Show Log" to see the error.
Back to top
View user's profile Send private message
oshanrube



Joined: 11 Feb 2017
Posts: 4

PostPosted: Wed Feb 15, 2017 9:26 am    Post subject: Reply with quote

pLastUn wrote:
Press "Show Log" to see the error.


thanks, i managed to connect to the VPN, but it doesnt seem to tunnel internet to the net balancer interfaces, i even added a gateway with the interface,

04:58:19 (TEST) GATEWAY : slt4g (192.168.1.2)
04:58:23 (TEST) => [216.58.194.174] : ERROR
04:58:23 (TEST) GATEWAY : slt adsl (192.168.1.1)
04:58:27 (TEST) => [216.58.194.174] : ERROR
04:58:27 (TEST) GATEWAY : VPN (VPN00)
04:58:31 (TEST) => [216.58.194.174] : ERROR

the routing table looks abit wierd
Destination Netmask Type Metric Gateway Interface Flags State Source
0.0.0.0 128.0.0.0 Net 0 206.123.154.97 tun0 UG Up Auto
DEFAULT GATEWAY 0.0.0.0 Net 0 none VPN00 U Up Auto
128.0.0.0 128.0.0.0 Net 0 206.123.154.97 tun0 UG Up Auto
192.168.1.0 255.255.255.0 Net 0 none ETH00 U Up Auto
206.123.154.4 255.255.255.255 Host 0 192.168.1.1 ETH00 UGH Up Auto
206.123.154.96 255.255.255.224 Net 0 none tun0 U Up Auto
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group