Comments (13)
For firewall busting purposes?
from syncthing.
(It is, obviously, forwardable over SSH or something like that that forwards raw TCP connections.)
from syncthing.
Yes for firewall busting purposes.
Edit: okay so the recommendation is forward over ssh on top of https with something like sslh.
from syncthing.
Well no, I wasn't recommending anything, just understanding the request :)
from syncthing.
hehe okay. I was initially thinking about firewall busting with a --modification-option, then it moved onto a thinking of a way of getting multiple cluster support by proxying over http using custom urls.
from syncthing.
At work I have local pc behind http proxy. I can setup local and remote port forwarding with some client (ssh on unix, putty, winscp, ecc) to my remote vps, but I don't understand which ports I need to forward? Sync Protocol Listen Addresses localhost:22000? Device addresses localhost:XXXXX? both? can anybody help me about? Thanks for help.
from syncthing.
Depends on what you want to do.
If you just want to sync, you can forward remote:22000 to local:22001 , and then change the IP of the device from dynamic to localhost:22001
from syncthing.
Uhm, which ports i need to open for get Global Discovery ok?
I can forward request to network office admin.
Thanks,
LP
from syncthing.
You don't need to forward any ports for discovery to work as its outbound only.
For syncthing itself to work, you need to forward the protocol port.
from syncthing.
Hello, I'm trying to do what is explained here above, i.e. forward remote:22000 to local:22001, but I don't manage to make it work... How can we achieve this?
Here's what I did:
ssh user@remote -L 22001:localhost:22000
Then launch syncthing with the "Sync Protocol Listen Addresses" set to "localhost:22001". This gives me the following error message:
FATAL: listen (BEP): listen tcp 127.0.0.1:22001: bind: address already in use
and systematically crashed syncthing.
I checked that "netstat -tulpn | grep 22001" gives me nothing before running ssh, and it gives me
tcp 0 0 127.0.0.1:22001 0.0.0.0:* LISTEN 20500/ssh
tcp6 0 0 ::1:22001 :::* LISTEN 20500/ssh
once the ssh tunnel is open....
from syncthing.
You have to forwarding remote:22000 to local:22001, and then on local listen on 22000, and set remote machines ip as localhost:220001.
from syncthing.
Thanks for your reply. Sorry I'm not very familiar with ssh tunneling... Can you give me an example of what I should type on each machine in order to do this forwarding in the right direction? (The local machine is the one behind a firewall)
from syncthing.
Please use the forums for support.
from syncthing.
Related Issues (20)
- Lack of Control Over Home Directory Determination on Windows
- Changes in hard link file are not always detected HOT 2
- Not synching a file if the name ends with `?` before the extension name, in this case is .md HOT 2
- Debian UsrMerge HOT 4
- Add option to allow saving of reserved filenames on Windows HOT 7
- Index Exchange Bug: Ghost files leading to permanent out-of-sync on single device HOT 2
- Please make Maxmind's geoipupdate an optional dependency (or call the command externally) HOT 18
- Files โcreatedโ by Syncthing ignore UMask (.stfolder and .stversions)
- .stignore * behaves differently on mac and linux HOT 8
- Housekeeping: chmod -x non-executable files
- Sync not happening / stalling for several minutes HOT 2
- Syncthing Relay: need some more examples for systemd script HOT 1
- Delete device will trigger folder scan, keep delete old device make the syncthing consume height cpu and disk io. HOT 1
- The program did not start after installation. HOT 6
- Auto recovery from 'folder path missing' race condition. HOT 1
- .HEIC instead of .JPG HOT 1
- syncthing generate --gui-address HOT 11
- [Not a Bug] apt.syncthing.net is not accesible over IPv6 HOT 5
- Transcoding fes HOT 1
- Starting Syncthing manually or automatically has different configurations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syncthing.