summaryrefslogtreecommitdiff
path: root/contrib/anytun-example.bat
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/anytun-example.bat')
-rw-r--r--contrib/anytun-example.bat5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/anytun-example.bat b/contrib/anytun-example.bat
new file mode 100644
index 0000000..f00e19a
--- /dev/null
+++ b/contrib/anytun-example.bat
@@ -0,0 +1,5 @@
+@rem Point to point example
+@rem please make sure to keep the remote-host parameter, even if it's wrong, to avoid problems with windows firewall
+@rem anytun --interface 0.0.0.0 --passphrase lala --type tap --ifconfig 5.0.225.2/8 --remote-host 1.1.1.2 --remote-port 4444
+anytun --interface 0.0.0.0 --passphrase lala --type tap --ifconfig 5.0.225.1/8 --remote-host 1.1.1.1 --remote-port 4444 --role right
+pause \ No newline at end of file