[ale] Q: getting /dev/net/tun for openVPN on RH-7.3

Jim Popovitch yahoo at jimpop.com
Sun Jul 1 12:06:49 EDT 2007


On Sun, 2007-07-01 at 07:48 -0500, John Mills wrote:
> Jim -
> 
> Thanks for the note. Checking manpages confirms the --mktun option, but my 
> 'openvpn' can't seem to deal with it:
> 
> $ openvpn --mktun --dev tun0 --config <my_config_file>
> Sun Jul  1 07:43:09 2007 us=662248 Options error: options --mktun or 
> --rmtun should only be used together with --dev
> Sun Jul  1 07:43:09 2007 us=664306 Exiting
> 
> Can I create the 'tun' device in a separate step?

Yes.  Create tun0 first, then run openvpn thereafter.

> Do I also have to adjust the firewall ('ipchains' in this case)?

Yes.  The default port is 5000/UDP (but you can override that in your
vpn config file).  You will need to allow inbound on the server and
outbound on the clients.

-Jim P.





More information about the Ale mailing list