[ previous ] [ next ] [ threads ]
 
 From:  promatow <promatow at gmail dot com>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Over(?)tweaked option in OpenVPN protocol setting.
 Date:  Thu, 6 Oct 2005 21:06:23 +0200
Hello,
I've been watching m0n0 from 1.2b7 till now (1.2b10) waiting for fix in
OpenVPN server TPC proto option ( I saw some posts claiming that it _is_
already fixed).
I don't know why it works in such strange way, but regardless what proto I
will choose, it will be always UDP.
I've checked up .inc files for OpenVPN settings, here goes, what it gets
when check TCP option:

 /* Set protocol being used (p = udp (default), tcp-server)

if ($server['proto'] == 'tcp') {

$ovpn_config .= "--proto tcp-server ";

}




defaults to UDP (tried many configurations, but never got running and binded

to run on TCP (using the same options as generated from PHP, but with


Who should I ask to change in m0n0 code this section (simply change to
--proto tcp)?
And one other think - it should be wise to add additional sleep after system
startup before starting OpenVPN - it seems to not binding, to IF's that
doesn't have IP in the moment (like DHCP'ed IF at ISP side).

Thanks in advance
Patryk