Hello,
First of all, Sorry for this personal mail. But I have posted my query over
openvpn forum as well as some other internet knowledge support forum, So far
didn't get any reply. So I am sending this personal message with a lot of hope
for best possible reply.
I am using tap windows driver provided over following link:
https://github.com/OpenVPN/tap-windows
My queries:
1) How to assign an IP address to the tap adapter, In my case it's created with
name "Local Area Connection 3"
I used following command in cmd.exe:
netsh interface ip set address "Local Area Connection 3" static 10.0.0.1
255.255.255.0
It sets by this with IP address as a 10.0.0.1/24, visible in property window
also.
ipconfig show following :
Ethernet adapter Local Area Connection 3:
Media State . . . . . . . . . . . : Always Connected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-08-04-F9-D8
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
2) I tried a simple application which continuously reads data from tap
interface.
But I found a strange behaviour that wireshark captures so many frames:
--- many arp frames asking who has X.X.X.X ? tell 0.0.0.0
--- who has 10.0.0.1 ? tell 0.0.0.0
And some other ICMPv6, DHCPv6 and IPv6 frames.
What should be the problem here ?
Is it because I have not configured tap adapter properly? Trying a lot of
search over internet I didn't found any document which explains configuration
for windows clearly.
3) How to configure NAT iptables rule in windows:
My goal is to route tap interface frame through eth0(physical interface -
connected with Internet).
I have experience on linux side, and in linux I have try the tap interface
to use as a ping simulator which can ping Internet as well as local LAN IP.
I need to accomplish the same over windows.
Over linux the same is accomplished by enabling IP forwarding and adding NAT
rule which rewrites the IP address in the ethernet frame leaving physical
interface(eth0 - connected with internet).
#Enable packet forwarding for IPv4
# sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
# iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o $1 -j MASQUERADE
Can you suggest with the similar commands in windows. Or how to achieve this ?
Kindly share some proper configuration steps for tap interface in windows 7 and
hope that works for windows XP also.
I have used tap installer standalone (i.e. not have used openvpn installer).
Thanks & Regards,
Ronex
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users