config file entry to bind to specific interfaces
Posted: Fri Nov 19, 2010 11:35 pm
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.
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.