Skip to content

test sets

Kirill Scherba edited this page May 24, 2018 · 1 revision

Teonet test sets

TR-UDP test

Test 1

Simple connection long distance test:

  1. Start app/teovpn inside screen with DEBUG_VV:
  • at 10.10.11.19 as r-host with name teo12-s
    app/teovpn tcpp-s --r_port 9099 -a 127.0.0.1 --port 9030
  • at 10.12.35.53 as peer with name teo12-c
    app/teovpn tcpp-c --r_port 9030 -a 127.0.0.1 --port 9040
  1. Start ping from teo12-c to teo12-s:
  • save start time
  • save stop (break) time
  • analyse screen message before break

TR Proxy test

Test 2

The same as test 1 but connected through TCP Proxy:

  • Start server:
    app/teovpn tcpp-s --r_port 9099 -a 127.0.0.1 --port 9030 --tcp_port 9030 --tcp_allow

  • Start client:
    app/teovpn tcpp-c --r_port 9030 -a 127.0.0.1 --r_tcp --r_tcp_port 9030 --port 9040

Mixed test (TR-UDP / UDP / TCP Proxy)

Test 3

Connect UDP and TCP Proxy clients to the long distance server at 10.10.11.19:

  • Start server: app/teovpn tcpp-s --r_port 9099 -a 127.0.0.1 --port 9020 --tcp_port 9020 --tcp_allow
    show debug_vv: w

  • Start clients:
    app/teovpn tcpp-c --r_port 9020 -a 127.0.0.1 --port 9040 -a 172.20.101.11
    ping tcpp-s: i tcpp-s
    app/teovpn teovpn-c2 --r_port 9020 -a 127.0.0.1 --port 9040 -a 172.20.101.11
    ping teovpn-c4: i teovpn-c4
    app/teovpn teovpn-c3 --r_port 9020 -a 127.0.0.1 --port 9040 -a 172.20.101.11
    ping teovpn-c4: i teovpn-c4
    app/teovpn teovpn-c4 --r_port 9020 --port 9000 --r_tcp_port 9020 --r_tcp -a 172.20.101.11
    show peers: p p