Imported Upstream version 0.3.5
[anytun.git] / contrib / anytun-example.bat
diff --git a/contrib/anytun-example.bat b/contrib/anytun-example.bat
new file mode 100644 (file)
index 0000000..f00e19a
--- /dev/null
@@ -0,0 +1,5 @@
+@rem Point to point example\r
+@rem please make sure to keep the remote-host parameter, even if it's wrong, to avoid problems with windows firewall\r
+@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\r
+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\r
+pause 
\ No newline at end of file