What's new

OpenVPN "start with wan" issue

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

house

Regular Contributor
Hi Eric,
i have issue with openvpn server on 3.0.0.4.220.17.
The issue is i cant set openvpn to start with WAN. Even if service is set to ON or OFF I set "Start with WAN" on YES and then hit apply and over and over again is going back to NO. Also i have te same with "Respond to DNS" option. Cant' make this work and save. Manual start of openvpn server service works well...
I clear the system log then set start with WAN on YES and this is output(maybe I doing something wrong).
Sep 22 19:34:30 notify_rc : restart_vpnserver1;restart_dnsmasq
Sep 22 19:34:30 openvpn[816]: TCP/UDP: Closing socket
Sep 22 19:34:30 openvpn[816]: /sbin/route del -net 10.8.0.0 netmask 255.255.255.0
Sep 22 19:34:30 openvpn[816]: Closing TUN/TAP interface
Sep 22 19:34:30 openvpn[816]: /sbin/ifconfig tun21 0.0.0.0
Sep 22 19:34:30 openvpn[816]: SIGTERM[hard,] received, process exiting
Sep 22 19:34:30 kernel: tun: Universal TUN/TAP device driver, 1.6
Sep 22 19:34:30 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Sep 22 19:34:30 kernel: device tun21 entered promiscuous mode
Sep 22 19:34:30 openvpn[854]: OpenVPN 2.2.2 mipsel-linux [SSL] [LZO2] [EPOLL] built on Sep 17 2012
Sep 22 19:34:30 openvpn[854]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sep 22 19:34:30 openvpn[854]: Diffie-Hellman initialized with 1024 bit key
Sep 22 19:34:30 openvpn[854]: TLS-Auth MTU parms [ L:1560 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sep 22 19:34:30 openvpn[854]: Socket Buffers: R=[87380->131072] S=[16384->131072]
Sep 22 19:34:30 openvpn[854]: TUN/TAP device tun21 opened
Sep 22 19:34:30 openvpn[854]: TUN/TAP TX queue length set to 100
Sep 22 19:34:30 openvpn[854]: /sbin/ifconfig tun21 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
Sep 22 19:34:30 openvpn[854]: /sbin/route add -net 10.8.0.0 netmask 255.255.255.0 gw 10.8.0.2
Sep 22 19:34:30 openvpn[854]: Data Channel MTU parms [ L:1560 D:1450 EF:60 EB:135 ET:0 EL:0 AF:3/1 ]
Sep 22 19:34:30 openvpn[864]: Listening for incoming TCP connection on [undef]:1194
Sep 22 19:34:30 openvpn[864]: TCPv4_SERVER link local (bound): [undef]:1194
Sep 22 19:34:30 openvpn[864]: TCPv4_SERVER link remote: [undef]
Sep 22 19:34:30 openvpn[864]: MULTI: multi_init called, r=256 v=256
Sep 22 19:34:30 openvpn[864]: IFCONFIG POOL: base=10.8.0.4 size=62
Sep 22 19:34:30 openvpn[864]: MULTI: TCP INIT maxclients=1024 maxevents=1028
Sep 22 19:34:30 openvpn[864]: Initialization Sequence Completed
Sep 22 19:34:30 dnsmasq[770]: exiting on receipt of SIGTERM
Sep 22 19:34:31 dnsmasq[868]: started, version 2.55 cachesize 1500
Sep 22 19:34:31 dnsmasq[868]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP TFTP
Sep 22 19:34:31 dnsmasq[868]: asynchronous logging enabled, queue limit is 5 messages
Sep 22 19:34:31 dnsmasq-dhcp[868]: DHCP, IP range 192.168.1.2 -- 192.168.1.10, lease time 7d
Sep 22 19:34:31 dnsmasq[868]: read /etc/hosts - 3 addresses
Sep 22 19:34:31 dnsmasq-dhcp[868]: read /etc/ethers - 7 addresses
Sep 22 19:34:31 dnsmasq[868]: using nameserver 62.179.1.62#53
Sep 22 19:34:31 dnsmasq[868]: using nameserver 62.179.1.63#53

above this issue openvpn works well and connecting clients... THX for your support... :)
 
Already fixed, will be part of the next release.
 
Thx for info.i hope that will be soon.my electric provider keeps me angry for a couple of past few weeks :) this fiz will help me a lot

Galaxy S3 i Tapatalk

Should be this weekend, provided no new bug report comes in.
 
awesome, Il bee watching github :)
one thing more - vpn status tab take more time than usual to open (regarding to other tabs in router menu).
and refreshing button doesnt clear disconnected hosts (clients) in VPN Status too :) , shows all connected and disconnected clients - no online reporting here :)
 
awesome, Il bee watching github :)
one thing more - vpn status tab take more time than usual to open (regarding to other tabs in router menu).
and refreshing button doesnt clear disconnected hosts (clients) in VPN Status too :) , shows all connected and disconnected clients - no online reporting here :)

There's a 1 second pause between the request for OpenVPN instance state and reading the result, to give time to the instance to report its status. With four OpenVPN instances that makes a 4 seconds delay.

There can sometime be a delay between the moment a client is disconnected and when it stop being listed in the list.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top