I need urgent help i want to build an openvpn between my ubuntu 8.10 server and my lab lan all clients are windows except a one fedora 12?
if i had remote-client that is far away can this client access my vpn via internet?
can any one help me
creating openvpn with ubuntu server and windows clinet
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Sep 30, 2010 9:43 pm
-
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Re: creating openvpn with ubuntu server and windows clinet
Yes, remote clients can access your VPN server if you have the proper firewall rules in place, and providing that you have a static external IP, or if you have dynamic DNS configured, as descibed here:
http://openvpn.net/index.php/open-sourc ... ml#dynamic
http://openvpn.net/index.php/open-sourc ... ml#dynamic
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Sep 30, 2010 9:43 pm
Re: creating openvpn with ubuntu server and windows clinet
thanks for replying
can i use LogMeIn to get public ip in order to be able to access openvpn ubuntu server??
i do not want to edit my iptables rule because i have squid proxy installed in ubuntu server
can you tell me how to deal with it and configure it?
thanks
can i use LogMeIn to get public ip in order to be able to access openvpn ubuntu server??
i do not want to edit my iptables rule because i have squid proxy installed in ubuntu server
can you tell me how to deal with it and configure it?
thanks
-
- Forum Team
- Posts: 117
- Joined: Tue Jun 09, 2009 4:25 pm
- Location: St. Louis, MO USA
Re: creating openvpn with ubuntu server and windows clinet
I am unsure why logmein would come into play.... If you follow the instructions in the link I posted, you should be able to get openvpn working with dynamic DNS.
I only mentioned IP tables because it is used in alot of OpenVPN routed set ups. If you are not currently using it, (or have it configured already), then you can disregard.
I only mentioned IP tables because it is used in alot of OpenVPN routed set ups. If you are not currently using it, (or have it configured already), then you can disregard.
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: creating openvpn with ubuntu server and windows clinet
as long as you use the community version of openvpn (open source) it does not matter which OS you use (linux,windows,osx,solaris,bsd,android,iphone...)
your server will either need to be on a public IP with firewall allowing connections to its port, or will need the service port NAT'ed to the server machine... basically the same as running any other daemon
your server will either need to be on a public IP with firewall allowing connections to its port, or will need the service port NAT'ed to the server machine... basically the same as running any other daemon
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Sep 30, 2010 9:43 pm
Re: creating openvpn with ubuntu server and windows clinet
thanks for your reply
i have a private network and i downloaded and configured openvpn, but it doesn't work with private network openvpn server should get a public IP. but if i do not have a one how can i access the server? then clients inside the network how can they access the server??
does dyndns alter my ip tables rules?
i have a private network and i downloaded and configured openvpn, but it doesn't work with private network openvpn server should get a public IP. but if i do not have a one how can i access the server? then clients inside the network how can they access the server??
does dyndns alter my ip tables rules?
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: creating openvpn with ubuntu server and windows clinet
you just need to forward a port from your router to the server, so that clients can access the openvpn service on the server.
Once the client is connected to the server, and they can ping eachothers VPN ip, then you can share the lan on the servers side by doing this:
on server config:
push "route <lan_network> <netmask>"
then the server's router needs a route to the vpn subnet:
you tell that router that the gateway to vpn_subnet is lan_ip_of_openvpn_server
Once the client is connected to the server, and they can ping eachothers VPN ip, then you can share the lan on the servers side by doing this:
on server config:
push "route <lan_network> <netmask>"
then the server's router needs a route to the vpn subnet:
you tell that router that the gateway to vpn_subnet is lan_ip_of_openvpn_server