Set up TAP interface over windows

This forum is for admins who are looking to build or expand their OpenVPN setup.

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.
Post Reply
Ronex
OpenVpn Newbie
Posts: 13
Joined: Fri Jun 28, 2013 8:02 am

Set up TAP interface over windows

Post by Ronex » Mon Jul 15, 2013 9:19 am

Hello All,

I am facing some issue while using openvpn tap over windows.

I am following tutorial over following link,
http://backreference.org/2010/03/26/tun ... -tutorial/

Can anyone please share some steps / command line commands which performs following steps:
--- set ip address and subnet mask (currently I am doing this through property window)
---Enable(UP) the tap interface
---Enable IP forwarding
---set nat iptable rule to rewrite the IP address in the frame leaving the physical interface

Above steps I can do in unix, but I am not aware on How to do the same on windows.

1) I am not able to ping the IP address set for the tap interface, where as in linux it can be done.
like suppose I have use 10.0.0.1/24 for tap interface, and trying "ping 10.0.0.1" results in time out.

2) When I run the application, I receives unwanted frames over tap, like some ARP packets asking who has X.Y.Z.X ? tell 0.0.0.0
As well as some other IPv6 and DHCP protocol frames.

My final goal is to access the internet using TAP interface. Route the frames from tap to physical interface(eth0).

Kindly share any tutorial/link for windows command line setup for tap interface.
Also how can we use NAT table rules over windows.

Post Reply