Run the file myip.py
to get your external IP address.
Give as command line argument the IP address or the domain name of the server to connect to.
Add a file named ip.cfg
in the same folder of myip.py
to automatically configure the remote's server IP.
The file should simply contain the IP address or the domain name of the remote server.