Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2006
Running scripts (dhcp) after OpenVPN created interface tab0
I got a little problem. I'm using OpenVPN at work; but I do not want it to set the client's IP because I use a DHCP-Server in the server's network. Up to that point everything works fine.
But after I connect to the server I have to run "sudo dhclient tab0" by hand, which is not very confortable.
Does anyone know a way to let linux run a script after the new interface "tab0" has been created?
Or - if there's really, really no other way - what to change in the source of OpenVPN, so that it runs a script after a successful connect...
I'm sorry for my English! Thanks to all who try to help...