Page 1 of 1

config file entry to bind to specific interfaces

Posted: Fri Nov 19, 2010 11:35 pm
by solinym
Hey there,

So one thing I ran into the other day was that I wanted to bind to specific interfaces - or rather, I wanted to avoid binding to a specific interface. If I don't, then OpenVPN receives traffic it shouldn't get, gets confused, and then closes the VPN connection. If I firewall off the port, the legitimate server on that interface/port fails to get the traffic.

I can't just bind to a specific IP, since my IP my vary on, say a laptop.

Ideally, I'd like to be able to say something like:

inet_interfaces = wlan0

or better,

inet_interfaces = -lo

That avoids binding to, say, lo.

Re: config file entry to bind to specific interfaces

Posted: Sat Nov 20, 2010 12:54 am
by krzee
i will be moving these questions to configuration. please dont place questions like this in the wishlist

see --local
just bind to the IP you want