Skip to content

Commit

Permalink
misc: update readme
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Pashmfouroush <[email protected]>
  • Loading branch information
markpash committed Mar 21, 2024
1 parent 6793f83 commit cdb551a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ FLAGS
--gool enable gool mode (warp in warp)
--cfon enable psiphon mode (must provide country as well)
--country STRING psiphon country code (valid values: [AT BE BG BR CA CH CZ DE DK EE ES FI FR GB HU IE IN IT JP LV NL NO PL RO RS SE SG SK UA US]) (default: AT)
--scan enable warp scanning (experimental)
--scan enable warp scanning
--rtt DURATION scanner rtt limit (default: 1s)
-c, --config STRING path to config file
```

### Country Codes for Psiphon
Expand Down
6 changes: 5 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ func runWarp(ctx context.Context, l *slog.Logger, bind netip.AddrPort, endpoint
return err
}

tnet.StartProxy(bind)
_, err = tnet.StartProxy(bind)
if err != nil {
return err
}

l.Info("serving proxy", "address", bind)

return nil
Expand Down

0 comments on commit cdb551a

Please sign in to comment.