fixed TAP adapter IP address
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 3
- Joined: Sat Jun 11, 2016 2:51 am
fixed TAP adapter IP address
I don't know if I've come to the right place, but please let me know if I need to ask this somewhere else. I'm using the OpenVPN client on Windows, and I want to do something to help protect against accidental VPN disconnects. Specifically I want to use the feature in my application to bind to a specific adapter's IP address. So if I bind to the TAP adapter, and the connection to the VPN is lost, this application will not send any more data in the open. It works fine. The problem, though, is that every time I run OpenVPN (via the GUI) it sets up a different TAP IP. Is there a way I can configure this to be the same every time?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: fixed TAP adapter IP address
If the server is your own then you can setup a CCD file with a fixed IP address.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Sat Jun 11, 2016 2:51 am
Re: fixed TAP adapter IP address
No the server is not my own, I'm using just the OpenVPN GUI on Windows. When I installed it, it also installed the TAP adapter, but I'm not sure if I've come to right forum to learn how to configure the TAP adapter. Thanks.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: fixed TAP adapter IP address
If the server is not your own then you have to accept the IP the server pushes to you.
Or you can try --ifconfig in the client config file .. but it probably will not work.
Or you can try --ifconfig in the client config file .. but it probably will not work.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Sat Jun 11, 2016 2:51 am
Re: fixed TAP adapter IP address
Just to make sure I understand, the IP I want to bind to is the one I see listed in "Ethernet 2" (the TAP adapter) when I run "ipconfig /all". That is the one the server pushes to me?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: fixed TAP adapter IP address
This one:
Code: Select all
Description . . . . . . . . . . . : TAP-Windows Adapter V9