Broadband-Hamnet™ Forum :: General
Welcome Guest   [Register]  [Login]
 Subject :is there any way to debug vtun?.. 2015-02-12- 11:51:51 
K3MMB
Member
Joined: 2014-03-16- 19:00:57
Posts: 71
Location

is there any way to track/debug the tunnel traffic.

it was working, we moved the client and now no activity can be seen.

IP Logged
 Subject :Re:is there any way to debug vtun?.. 2015-02-13- 02:17:29 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 

you can install tcpdump on the node. ie. for Ubiquiti...

opkg update

opkg install tcpdump

tcpdump -i eth0.1 port 5525 -A -v

IP Logged
Last Edited On: 2015-02-13- 02:21:36 By k5dlq for the Reason
Darryl - K5DLQ
www.aredn.org
 Subject :Re:is there any way to debug vtun?.. 2015-02-13- 02:46:32 
K3MMB
Member
Joined: 2014-03-16- 19:00:57
Posts: 71
Location

would you try to connect?


IP Logged
 Subject :Re:Re:is there any way to debug vtun?.. 2015-02-13- 03:52:21 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 
i don't understand what you are asking??
IP Logged
Darryl - K5DLQ
www.aredn.org
 Subject :Re:is there any way to debug vtun?.. 2015-02-13- 04:16:00 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location

Of note, tcpdump is actually installed by default on Ubiquiti so no need to install it just run it (Linksys devices on the other hand don't have enough space for it in the 4mb limit with everything else for us to include it by default so must be installed manually)

You may try running "logread"  - It will show you the log output to see if your getting connections or not.

Also a "ps w|grep vtun" will help as well as you should see if memory is correct you should seel statuses like "[connected]" or "[connecting]" etc.


IP Logged
Last Edited On: 2015-02-13- 04:36:34 By KG6JEI for the Reason Clarify statment about tcpdump on Linksys
Note: Most posts submitted from iPhone
 Subject :Re:Re:is there any way to debug vtun?.. 2015-02-13- 04:24:51 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 

good point Conrad, with one correction and an additional tip:

Since the tunnel server/client will only run on a Linksys GS box, there is certainly enough space to install tcpdump on them. I have it on my GS2 client and my NS2 server.

one additional tip to test a server's ability to receive the vtun traffic thru an external firewall:

on the remote network, it's useful to see if your vtun traffic is getting to the target nodes vtun server process thru their firewall.

An EASY test is to use telnet. from my osx commandline, i run:

telnet remoteServerDNSnameOrIPAddress 5525

If you get back a response that says "VTun version 2.6", then the remote firewall is properly forwarding to your server.

IP Logged
Last Edited On: 2015-02-13- 04:25:55 By k5dlq for the Reason
Darryl - K5DLQ
www.aredn.org
 Subject :Re:Re:Re:is there any way to debug vtun?.. 2015-02-13- 04:31:25 
K3MMB
Member
Joined: 2014-03-16- 19:00:57
Posts: 71
Location
too help test... i could dfine a client to see if anyone outside my lan can connect.
IP Logged
 Subject :Re:Re:Re:Re:is there any way to debug vtun?.. 2015-02-13- 04:47:49 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 
send me an email. my callsign at arrl.net
IP Logged
Darryl - K5DLQ
www.aredn.org
Page # 


Powered by ccBoard


SPONSORED AD: