I have an odd situation that I do not know what the term would be used to describe it... So bare with me.
I want to have people working from home to connect to our office network via openvpn. The office network has been added to an allow Ip list for a remote public web site (offsite at a datacenter).
I only want these home workers to route data through the office for this single web site. Again, the web site is Not at the office, it is a public web site with a public ip address that has access restrictions based on the source ip address (in this case, our office network).
How would I implement this in openvpn and what is the proper terms to use for looking this type of configuration up?
How to route through a VPN server for a single remote web?
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: 1
- Joined: Tue Feb 15, 2011 7:30 am
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: How to route through a VPN server for a single remote we
1) set up openvpn "like normal", i.e. allow your remote workers to contact your office network
2) push out an extra route to the clients:
push "route <remote-website> 255.255.255.255"
for a single host - this will route all traffic to the website via the VPN.
HTH,
JJK
2) push out an extra route to the clients:
push "route <remote-website> 255.255.255.255"
for a single host - this will route all traffic to the website via the VPN.
HTH,
JJK
-
- OpenVPN User
- Posts: 22
- Joined: Fri May 13, 2011 2:47 pm
- Location: Cairo, EG
Re: How to route through a VPN server for a single remote we
Hello,
What if the website is a domain name, such as yahoo.com?
What if the website is a domain name, such as yahoo.com?
///Sergani
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: How to route through a VPN server for a single remote we
that won't work; you're better off using a SOCKS proxy for that.
-
- OpenVPN User
- Posts: 22
- Joined: Fri May 13, 2011 2:47 pm
- Location: Cairo, EG