Bind local LAN adapter

How to customize and extend your OpenVPN installation.
Post Reply
BjoernB
OpenVpn Newbie
Posts: 2
Joined: Wed Feb 21, 2018 2:04 pm

Bind local LAN adapter

Post by BjoernB » Wed Feb 21, 2018 2:10 pm

Hello,

I have a problem. I work on a remote machine with two lan adpaters. Sometimes my RDP connection brokes when I connect via OpenVPN. Now my question. How it is possible to fix one of the lan adapters only for vpn traffic ?
I hope anyone can help me.

Cheers
Bjoern

User avatar
ordex
OpenVPN Inc.
Posts: 263
Joined: Wed Dec 28, 2016 2:32 am

Re: Bind local LAN adapter

Post by ordex » Wed Apr 18, 2018 3:06 am

If I understand your scenario correctly, you may want to check the *--local* option in the manpage

BjoernB
OpenVpn Newbie
Posts: 2
Joined: Wed Feb 21, 2018 2:04 pm

Re: Bind local LAN adapter

Post by BjoernB » Wed Apr 18, 2018 7:19 am

I will forward OpenVPN traffic fixed via local 'LAN adapter 2' because I use LAN1 for RDP. Sometimes the RDP connection brokes when I start OpenVPN connection.
Which command I need to add to my OpenVPN config?

User avatar
ordex
OpenVPN Inc.
Posts: 263
Joined: Wed Dec 28, 2016 2:32 am

Re: Bind local LAN adapter

Post by ordex » Wed Apr 18, 2018 12:39 pm

uhm..
ordex wrote:
Wed Apr 18, 2018 3:06 am
you may want to check the *--local* option in the manpage

Post Reply