[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Reuse TCP server socket ?


  • Subject: Re: [Openvpn-users] Reuse TCP server socket ?
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Sat, 26 Jan 2008 00:19:25 +0100

Hi David,

does
  persist-local-ip
work for you?

cheers,

JJK

David Balazic wrote:
> Hi!
>
> I have a little problem with my TCP server.
> After the client disconnects, the server also dies.
> Here is the server log:
>
> Jan 25 10:22:32 Peer Connection Initiated with 1xx.77.yy.1:62408
> Jan 25 10:22:33 Initialization Sequence Completed
> Jan 25 10:22:51 Connection reset, restarting [-1]
> Jan 25 10:22:51 SIGUSR1[soft,connection-reset] received, process
> restarting
> Jan 25 10:22:53 Re-using pre-shared static key
> Jan 25 10:22:53 TCP/UDP: Socket bind failed on local address [undef]:23:
> Permission denied
> Jan 25 10:22:53 Exiting
>
> Any idea how to make the server not reopne the listening socket ?
>
> server conf:
>
>   port 23
>   proto tcp-server
>   dev tun1
>
>   ifconfig 10.4.1.1 10.4.1.2
>
>   secret /etc/openvpn/key_1 1
>   verb 1
>   mute 5
>
>   cipher none
>   persist-key
>   persist-tun
>   user nobody
>   group nogroup
>
> client conf:
>
>   remote my_server.dyndns.org 323
>   proto tcp-client
>
>   dev tun
>
>   ifconfig 10.4.1.2 10.4.1.1
>
>   secret key_1 0
>   ping 10
>   ping-restart 60
>   verb 1
>   mute 5
>
>   cipher none
>
> # orwell.freenode.net , Helsinki  FI
>   route 85.188.1.26
> # kubrick.freenode.net , Los Angeles, CA
>   route 64.161.254.20
>
>
>   

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users