File README changed (mode: 100644) (index c992367..acff519) |
... |
... |
tokens (6 digit codes). |
35 |
35 |
Check below how to setup your firewall. The rules will force control packets |
Check below how to setup your firewall. The rules will force control packets |
36 |
36 |
to hit nf2fa daemon and will trigger the validation. |
to hit nf2fa daemon and will trigger the validation. |
37 |
37 |
On another machine, you will need to run the special ping/nc command to open |
On another machine, you will need to run the special ping/nc command to open |
38 |
|
the firewall. For this, you will need the password choosed at enroll time and |
|
|
38 |
|
the firewall. For this, you will need the password entered at enroll time and |
39 |
39 |
the 6 digits token. See below the examples. |
the 6 digits token. See below the examples. |
40 |
40 |
Please note that the time must be in sync on both server and mobile device |
Please note that the time must be in sync on both server and mobile device |
41 |
41 |
because the tokens are time dependent. |
because the tokens are time dependent. |
|
... |
... |
Error: key id not found! |
126 |
126 |
$ ping -c1 destination -p aaPP...PPIIIIIICC |
$ ping -c1 destination -p aaPP...PPIIIIIICC |
127 |
127 |
Where: |
Where: |
128 |
128 |
aa is the start of the command (just type two 'a' letters) |
aa is the start of the command (just type two 'a' letters) |
129 |
|
PP...PP is the password choosed at enrollment phase |
|
|
129 |
|
PP...PP is the password entered at enrollment phase |
130 |
130 |
IIIIII is the 6 digit pin generated by the 2fa application |
IIIIII is the 6 digit pin generated by the 2fa application |
131 |
131 |
CC is the command |
CC is the command |
132 |
132 |
11 - open firewall |
11 - open firewall |
|
... |
... |
PIN="539252" |
145 |
145 |
$ ping -c1 172.30.43.4 -p aa${PASSWORD}${PIN}cc |
$ ping -c1 172.30.43.4 -p aa${PASSWORD}${PIN}cc |
146 |
146 |
|
|
147 |
147 |
If an answer is received, the command executed with success. |
If an answer is received, the command executed with success. |
148 |
|
On timeout, an error occured. |
|
|
148 |
|
On timeout, an error occurred. |
149 |
149 |
|
|
150 |
150 |
Note that you can send any type of packet, not only ICMP. |
Note that you can send any type of packet, not only ICMP. |
151 |
151 |
Here, we will use UDP: |
Here, we will use UDP: |