Using redirect-gateway in Windows XP

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
Baeraad
OpenVpn Newbie
Posts: 2
Joined: Tue May 05, 2009 8:33 pm

Using redirect-gateway in Windows XP

Post by Baeraad » Wed May 06, 2009 6:57 am

I am trying to set up an OpenVPN where traffic to and from the clients is redirected over the server. The server is on a machine running Windows XP.

The OpenVPN FAQ has advice for how to NAT the TAP interface to the Internet in Linux, but there are no equivalent instructions for someone working in Windows. In addition to simply adding 'push "redirect-gateway"' to the server config file, what steps do I need to take to allow the server to communicate with the Internet at large?

User avatar
Admin
Forum Team
Posts: 3
Joined: Wed Aug 27, 2008 1:51 am

Re: Using redirect-gateway in Windows XP

Post by Admin » Fri May 08, 2009 1:07 am

Baeraad wrote:I am trying to set up an OpenVPN where traffic to and from the clients is redirected over the server. The server is on a machine running Windows XP.

The OpenVPN FAQ has advice for how to NAT the TAP interface to the Internet in Linux, but there are no equivalent instructions for someone working in Windows. In addition to simply adding 'push "redirect-gateway"' to the server config file, what steps do I need to take to allow the server to communicate with the Internet at large?
Is the server Windows? Not sure I'm understanding you.

Baeraad
OpenVpn Newbie
Posts: 2
Joined: Tue May 05, 2009 8:33 pm

Re: Using redirect-gateway in Windows XP

Post by Baeraad » Fri May 08, 2009 5:41 pm

The server is running under Windows, yes. I'm sorry if I was unclear.

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: Using redirect-gateway in Windows XP

Post by ecrist » Mon May 11, 2009 3:15 pm

AFAIK, you're going to need a third-party firewalling software which is capable of NAT and port-forwarding. I've never actually done this on Windows, as FreeBSD or Linux are more suitable for this use.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Using redirect-gateway in Windows XP

Post by krzee » Wed Oct 27, 2010 12:40 am

http://www.windowsnetworking.com/articl ... ation.html for a guide on setting up NAT in windows 2003, or http://www.nanodocumet.com/?p=14 for windows XP

Post Reply