|
|
@@ -12,8 +12,8 @@ Example |
|
|
|
|
|
|
|
Generate the keys: |
|
|
|
``` |
|
|
|
python ntunnel.py genkey serverkey |
|
|
|
python ntunnel.py genkey clientkey |
|
|
|
python -m ntunnel genkey serverkey |
|
|
|
python -m ntunnel genkey clientkey |
|
|
|
``` |
|
|
|
|
|
|
|
Create the target for the pass through: |
|
|
@@ -23,8 +23,8 @@ nc -lU finalsock |
|
|
|
|
|
|
|
Start the server and client: |
|
|
|
``` |
|
|
|
python ntunnel.py server serverkey unix:$(pwd)/servsock unix:$(pwd)/finalsock |
|
|
|
python ntunnel.py client clientkey serverkey.pub unix:$(pwd)/clientsock unix:$(pwd)/servsock |
|
|
|
python -m ntunnel server serverkey unix:$(pwd)/servsock unix:$(pwd)/finalsock |
|
|
|
python -m ntunnel client clientkey serverkey.pub unix:$(pwd)/clientsock unix:$(pwd)/servsock |
|
|
|
``` |
|
|
|
|
|
|
|
Attach to the client: |
|
|
|