TCP/UDP: Socket bind failed Permission denied

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
pinguim007
OpenVPN User
Posts: 48
Joined: Sun Oct 03, 2010 4:55 pm

TCP/UDP: Socket bind failed Permission denied

Post by pinguim007 » Fri Apr 29, 2011 2:30 am

hello I am having problems with my tcp/udp socket on openvpn, I am receiving permission denied.

can somebody help me?


Thu Apr 28 23:13:32 2011 OpenVPN 2.1.4 i386-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Mar 10 2011
Thu Apr 28 23:13:32 2011 WARNING: using --pull/--client and --ifconfig together is probably not what you want
Thu Apr 28 23:13:32 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Apr 28 23:13:32 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Thu Apr 28 23:13:32 2011 Note: cannot open /var/log/openvpn/vpn.log for WRITE
Thu Apr 28 23:13:32 2011 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Apr 28 23:13:32 2011 Socket Buffers: R=[110592->131072] S=[110592->131072]
Thu Apr 28 23:13:32 2011 TCP/UDP: Socket bind failed on local address [undef]:2222: Permission denied
Thu Apr 28 23:13:32 2011 Exiting

any kind of tips is welcome

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: TCP/UDP: Socket bind failed Permission denied

Post by krzee » Thu May 12, 2011 7:56 am

Thu Apr 28 23:13:32 2011 Note: cannot open /var/log/openvpn/vpn.log for WRITE
it looks like you are not root

Post Reply