Coder Social home page Coder Social logo

Comments (3)

GleammerRay avatar GleammerRay commented on September 26, 2024 3

will the result be that all passwords will >be synced to each device as such:

Mobile: A B C D E
PC: A B C E D

Yup, that's the point. You can even make simultaneous changes to different entries on both devices and have them synchronize. The only limitation for now is the inability to change fields of the same entry on different devices at the same time, that would result in an overwrite.

Based on the dynamic nature of the IP, that would mean when it changes my sync server will not work anymore, correct?

You will probably want to change your local IP settings to static. If you're talking about public IP then there's really not much you can do about it as it's all specific to your ISP; in case you want your server to be accessible via the Internet I'd recommend that you use an online web server or a port forwarding service such as ngrok to ensure that your address doesn't change.

I don't have access to the router

You shouldn't need any access to the router to configure local synchronization. As for online synchronization I would recommend using ngrok or any other port forwarding service because getting your ISP to get you a static address can be pretty tricky.

In case of local network synchronization you should be able to configure your local IP as static. You can do this pretty easily via GUI on most modern Linux distros, first find and copy your local IP by typing ip address or ifconfig in your terminal, then open your system network settings and switch your connection's IPv4 setting into "Manual" mode, enter 8.8.8.8 and 4.4.4.4 (or any other DNS addresses) into your DNS fields, paste the IP you copied earlier into the IP field (in some managers you will have to click "Add" or "Create" to create a new address) and save the configuration. That'll ensure that your computer always has the same IP address when connecting to your network.

Unlike the Passy app, Passy dedicated server will not seek for available IP addresses and will always bind to the address you specified. You can always verify the connection by clicking the Test connection button in Server setup or in Connect to server. You can test it locally on your host device to make sure that it's up and running and then you can use the same button on your client device to check if it is reachable.

Thanks for your quick replies, and sorry about all my questions. I'm not that great with these topics :)

No problem! Don't worry about it, I hope that you manage to figure out a way to set up your server and I wish you best luck. Feel free to ask any more questions, don't be ashamed of your confusion.

I am planning to provide a paid server solution for Passy in the future to make it easy for people to get their own synchronization servers up and running but for now it's possible to set up your own server.

from passy.

GleammerRay avatar GleammerRay commented on September 26, 2024

Hello @promitheas17j !

Your Passy host binds to 127.0.0.1, which is a local loop back address, unreachable from any other device. Are you sure that you're letting Passy through your firewall.

please clarify for me whether synchronisation works both ways

Synchronization can work either way, for as long as one device is hosting and another one is connecting while on the same network.

if it actually matters if the device is the host and has the new passwords

Both host and client need to have the same passwords, this is a part of the synchronization security measures. The only case where this is not required is for entry sharing.

I did allow both IN and OUT to the port it generates

You have allowed the ports but the address is still loopback and is unreachable. Passy expects relaxed network rules when in the app, if you're interested in being able to allow specific address and port combination in and out of your network, considering using Passy dedicated server (See Settings -> Synchronization servers).

from passy.

promitheas17j avatar promitheas17j commented on September 26, 2024

Are you sure that you're letting Passy through your firewall.

I am using ufw and I allowed the ports through. I'm unsure how to allow passy in general.

Synchronization can work either way, for as long as one device is hosting and another one is connecting while on the same network.

What I meant is if I have these passwords saved on each device:

Mobile: A B C D
PC: A B C E

and I sync with either device as the host, will the result be that all passwords will be synced to each device as such:

Mobile: A B C D E
PC: A B C E D

That's what I mean by both ways.

considering using Passy dedicated server (See Settings -> Synchronization servers).

This seems like a good idea for me, but I'm unsure if I have selected the right IP and port. For the IP I used the one after running ip a and which in the following line:

inet xxx.xxx.xxx.xxx/23 brd xxx.xxx.xxx.255 scope global dynamic noprefixroute wlp2s0f0u1

For port I put the one it generated 5592, and allowed it incoming and outgoing in my firewall. Based on the dynamic nature of the IP, that would mean when it changes my sync server will not work anymore, correct?

I don't have access to the router so that I can make any changes if it is required, so perhaps it might be better to simply figure out how to allow everything from passy to pass through my firewall with a rule.

Thanks for your quick replies, and sorry about all my questions. I'm not that great with these topics :)

from passy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.