Not only do you need to allow /outgoing/ connections /from/ your server, you also need to allow /incoming/ connections to the server S2S works bidirectional with 2 socket connections, so each federation server opens a connection. That's as far as firewalls are concerned.
Now it comes to DNS. You need to set up SRV records in DNS. Note that you probably need to setup internal (for testing, as in your question) and external records (for gmail). If you only have one XMPP server machine (and don't have separate development, staging and production systems) this might be a little bit more tricky and harder to test. Many productions environments today are placed in a "DMZ", where the firewall setup is more open, and servers are connected to the Internet and internal networks at the same time. To test a connection in dev mode you could set up a second Vysper server and federate both. Bernd On Wed, Mar 21, 2012 at 12:16, Mohit Bhonde <[email protected]> wrote: > I have seen the section > http://mina.apache.org/vysper/server-to-server-connections.html which > supports the S2S capability in vysper. > > I have a requirement for a 2 way connectivity between my XMPP Server and > Gtalk XMPP. > I understand that i have to allow the xmpp server to connect to all IP > blocks listed in Google's ASN for the xmpp port. I will have to have our do > the DNS config at the root DNS level since I am under the firewall. > Any leads on how to test this in the dev mode? > > From the vysper are there any examples, or thoughts on the approaches? > > Really appreciate any thoughts or pointers. > > Thanks & Regards, > Mohit Bhonde
