Skip to content

Commit

Permalink
add example for both Geo IP and Duo
Browse files Browse the repository at this point in the history
  • Loading branch information
jftuga committed Apr 13, 2020
1 parent 6ac008e commit eb686f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func getExamples() [][]string {
examples = append(examples, []string{`allow only if remote IP is located within 75 miles of Atlanta, GA`, `gofwd -f 1.2.3.4:22 -t 192.168.192.1.1:22 -l 33.756529,-84.400996 -d 75`})
examples = append(examples, []string{` to get Latitude, Longitude use https://www.latlong.net/`, ` `})
examples = append(examples, []string{`allow only for a successful two-factor duo auth for 'testuser'`, `gofwd -f 1.2.3.4:22 -t 192.168.192.1.1:22 --duo duo.ini:testuser`})
examples = append(examples, []string{`allow only after both Geo IP and Duo are verified`, `gofwd -f 1.2.3.4:22 -t 192.168.192.1.1:22 --region Texas --duo duo.ini:testuser`})

return examples

}

0 comments on commit eb686f5

Please sign in to comment.